我在带有OSX 10.10.4 Yosemite的16GB Macbook Pro上使用monetdb。
我使用SQLWorkbenchJ执行查询(配置至少2048M RAM)。
我发现整体表现不稳定:
尽管我的内存为16GB,但在一次运行中我从未看到MSERVER5
使用超过35MB的RAM,而另一次使用的是450MB。另一方面,时间消耗在磁盘上交换数据(根据活动监视器超过160GB的数据!)。
我希望更好地理解一些与性能相关的问题:
index
吗? 欢迎任何建议。
为清楚起见,我加入的两个表格具有以下布局:
Calendar # classic calendar table with one entry per our in a year = 8760 rows
Fields: datetime, date, month, weekbyhour, monthbyday, yearbyweek, yearbymonth # all fields are CLOBs as mentioned
Activity # around 200K rows
Fields: company, department, subdepartment, function, subfunction, activityname, activityunits, datetime, duration # all CLOBs except activityunits; datetime refers to when the activity has occurred
I have tied various types of join syntax, but an example would (`*` used for brevity)
select * from Activity as a, Calendar as b where a.datetime=b.datetime