Changeset: 2ee2ab23f8b3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2ee2ab23f8b3
Modified Files:
monetdb5/optimizer/opt_joinpath.c
Branch: default
Log Message:
Keep the subpath optimizer
There are many cases identified for possible re-use.
Keep this optimizer for the time being
diffs (18 lines):
diff --git a/monetdb5/optimizer/opt_joinpath.c
b/monetdb5/optimizer/opt_joinpath.c
--- a/monetdb5/optimizer/opt_joinpath.c
+++ b/monetdb5/optimizer/opt_joinpath.c
@@ -255,9 +255,11 @@ OPTjoinPathImplementation(Client cntxt,
for(; i<slimit; i++)
if(old[i])
freeInstruction(old[i]);
- /* perform a second phase, trial code, effect is not convincing and for
the time ignored */
- if ( 0 && actions )
- actions += OPTjoinSubPath(cntxt, mb);
+/* perform a second phase, trial code, many TPCH queries have subpaths of
interest.
+ * The count is meant to illustrate the impact
+ */
+ if ( actions )
+ actions = 10000*actions+ OPTjoinSubPath(cntxt, mb);
GDKfree(old);
GDKfree(pc);
if (varcnt ) GDKfree(varcnt);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list