Greetings! On Thu, 10 Feb 2005, Stefan Manegold wrote:
Yep, well, not me, but Niels Nes: Your info that its actually the commit on the blob that caused the problems, helped Niels to find and fix a bug in commit for complex types. The bug is fixed in the MonetDB_4-6 branch in CVS. We're not completely sure, whether this bug actaully caused your problem, but we do think so. Unfortunately, we haven't had the time/chance to replay your experiment to check on this. Hence, if you could cvs checkout/update and recompile your MonetDB, and re-run your test, you could check it yourself. Would be great. If cvs checkout/update it not a convenient option for you, we could also provide you with the respective patch, only, but also this requires that you use the source distribution of MonetDB. If neither in an option since you're using the binary distribution, you'll have to wait until we release the final MonetDB 4.6 (hopefully on Monday). In that case, we'll have to find some time to replay your experients before Monday...
Applied the patch, tried the same test. << commit(); >> after << bat("eventlog__raw_record__record").delete(); >> now takes about a second. Doing a << bat("eventlog__raw_record__record").print(); >> shows no BUNs. However, I am left with a 111MB X.theap. Now when I tried the following (as a way of getting rid of a BAT): mil>bat("eventlog__raw_record__host").persists(FALSE); mil>bat("eventlog__raw_record__log").persists(FALSE); mil>bat("eventlog__raw_record__host_agent").persists(FALSE); mil>bat("eventlog__raw_record__aggregator").persists(FALSE); mil>bat("eventlog__raw_record__record").persists(FALSE); mil>bat("eventlog__raw_record__time_logged").persists(FALSE); mil>commit(); MAPI = anonymous@localhost:50000 QUERY = commit(); ERROR = !ERROR: BBPdecref: eventlog__raw_record__record does not have pointer fixes. Is this a real error, or a bug (ie, shouldn't happen)? Aside: Anybody can suggest a better/cleaner way to get rid of a BAT (preferably leaving the definition, but as completely empty as possible file)? Regards! Ed