Changeset: 0285c2b2093e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0285c2b2093e
Modified Files:
MonetDB5/src/optimizer/opt_mitosis.mx
Branch: default
Log Message:
Early checking of partition sizes doesn't provide the subsequent code (octopus,
tarantula, debugging) with a target instruction to be split.
The check (rowcnt > PARTITION_THRESHOLD) can be skipped since in this case
pieces = 1 for default execution with small tables, and the subsequent check
should return skipping mitosis.
diffs (12 lines):
diff -r 2fe2ec76cf22 -r 0285c2b2093e MonetDB5/src/optimizer/opt_mitosis.mx
--- a/MonetDB5/src/optimizer/opt_mitosis.mx Thu Oct 14 12:10:24 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_mitosis.mx Thu Oct 14 13:07:38 2010 +0200
@@ -122,7 +122,7 @@
All pieces for a single subplan should ideally fit together.
@c
r = getVarRows(mb, getArg(q, 0));
- if (r >= rowcnt && r > PARTITION_THRESHOLD){
+ if (r >= rowcnt){
rowcnt = r;
target = q;
estimate++;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list