MonetDB: default - fndConstant is preparing work for the constan...

2021-09-07 Thread martin kersten
Changeset: 26f9ce7dbaa4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/26f9ce7dbaa4 Modified Files: monetdb5/mal/mal_instruction.c monetdb5/mal/mal_instruction.h Branch: default Log Message: fndConstant is preparing work for the constant optimizer, which in tuen is needed

MonetDB: default - Fixing accidental remove of critical statemen...

2021-09-05 Thread martin kersten
Changeset: af66c0cb7bb7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/af66c0cb7bb7 Modified Files: sql/backends/monet5/sql_execute.c Branch: default Log Message: Fixing accidental remove of critical statements for TRACE. diffs (58 lines): diff --git

MonetDB: default - Defense at overwriting error messages in the ...

2021-08-31 Thread Martin Kersten
Changeset: 985ea67a022c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/985ea67a022c Modified Files: monetdb5/mal/mal_instruction.c tools/monetdbe/monetdbe.c Branch: default Log Message: Defense at overwriting error messages in the mdbe structure. The first one should be

MonetDB: types - Only consider the value part of BAT

2021-08-29 Thread martin kersten
Changeset: b225f4b85eee for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b225f4b85eee Modified Files: sql/backends/monet5/sql_optimizer.c Branch: types Log Message: Only consider the value part of BAT diffs (20 lines): diff --git a/sql/backends/monet5/sql_optimizer.c

MonetDB: types - Harmonize the downcasting types.

2021-08-29 Thread martin kersten
Changeset: 1196aa5f895b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/1196aa5f895b Modified Files: monetdb5/modules/mal/properties.c monetdb5/optimizer/opt_properties.c sql/backends/monet5/sql_optimizer.c Branch: types Log Message: Harmonize the downcasting

MonetDB: types - Gathering some basic properties and keep them i...

2021-08-29 Thread martin kersten
Changeset: c753f09da805 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/c753f09da805 Modified Files: monetdb5/modules/mal/properties.c monetdb5/modules/mal/properties.h monetdb5/optimizer/opt_prelude.c monetdb5/optimizer/opt_prelude.h

MonetDB: types - merge with default

2021-08-29 Thread martin kersten
Changeset: 841db72d1577 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/841db72d1577 Branch: types Log Message: merge with default diffs (truncated from 30944 to 300 lines): diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -527,7 +527,6 @@ exit 0

MonetDB: types - Gather some basic properties from the BATs duri...

2021-08-29 Thread martin kersten
MonetDB B.V. + */ + +/* + * Martin Kersten + * The support routines for opt_properties + */ + +#include "monetdb_config.h" +#include "properties.h" +#include "gdk_calc.h" +#include "mal_exception.h" + + +// dummy procedures to monitor the generation of t

MonetDB: types - Merge with default

2021-08-29 Thread martin kersten
Changeset: cc5a35bd44a0 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/cc5a35bd44a0 Modified Files: monetdb5/modules/mal/CMakeLists.txt monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_prelude.c monetdb5/optimizer/opt_prelude.h

MonetDB: types - The baseline checkin

2021-08-29 Thread martin kersten
Changeset: b7f40056d1ac for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b7f40056d1ac Modified Files: monetdb5/modules/mal/CMakeLists.txt monetdb5/optimizer/CMakeLists.txt monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_pipes.c

MonetDB: default - minor change

2021-08-20 Thread martin kersten
Changeset: b684d1890bcb for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b684d1890bcb Modified Files: sql/backends/monet5/sql_upgrades.c sql/scripts/25_debug.sql Branch: default Log Message: minor change diffs (24 lines): diff --git a/sql/backends/monet5/sql_upgrades.c

MonetDB: default - Recover the MAL documentation and make it ava...

2021-08-20 Thread martin kersten
Changeset: 37bafb50b2dc for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/37bafb50b2dc Modified Files: monetdb5/mal/mal.h monetdb5/mal/mal_instruction.c monetdb5/mal/mal_prelude.c monetdb5/mal/mel.h sql/backends/monet5/sql_upgrades.c

MonetDB: string_imprints - step 3

2021-08-20 Thread Martin Kersten
Changeset: 2220862677d6 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/2220862677d6 Modified Files: monetdb5/optimizer/opt_strimps.c Branch: string_imprints Log Message: step 3 diffs (13 lines): diff --git a/monetdb5/optimizer/opt_strimps.c b/monetdb5/optimizer/opt_strimps.c

MonetDB: string_imprints - tep 2 in the optimizer

2021-08-20 Thread Martin Kersten
Changeset: 69de740936e3 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/69de740936e3 Modified Files: monetdb5/optimizer/opt_strimps.c Branch: string_imprints Log Message: tep 2 in the optimizer diffs (75 lines): diff --git a/monetdb5/optimizer/opt_strimps.c

MonetDB: default - Always reset the MAL buffer size,otherwise yo...

2021-08-18 Thread martin kersten
Changeset: ceb22e55c70a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/ceb22e55c70a Modified Files: sql/backends/monet5/sql_execute.c Branch: default Log Message: Always reset the MAL buffer size,otherwise you end up with the size of failed queries. diffs (25 lines): diff

MonetDB: default - Make sure the MAL optimizers don't degrade wh...

2021-08-17 Thread martin kersten
Changeset: fbac040c28d5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/fbac040c28d5 Modified Files: monetdb5/mal/mal_instruction.c monetdb5/optimizer/opt_garbageCollector.c monetdb5/optimizer/opt_inline.c sql/backends/monet5/sql_execute.c Branch: default

MonetDB: default - Fix compilation

2021-08-17 Thread martin kersten
Changeset: e53760676ec5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/e53760676ec5 Modified Files: monetdb5/mal/mal_instruction.c sql/backends/monet5/sql_execute.c Branch: default Log Message: Fix compilation diffs (33 lines): diff --git

MonetDB: default - Prepare cleanup of MAL block initialization

2021-08-17 Thread martin kersten
Changeset: 5326eb88e506 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/5326eb88e506 Modified Files: clients/Tests/exports.stable.out monetdb5/mal/mal_instruction.c monetdb5/mal/mal_instruction.h monetdb5/mal/mal_session.c monetdb5/modules/mal/wlc.c

MonetDB: default - Use chunk based extensions for stmt/var to re...

2021-08-16 Thread martin kersten
Changeset: bce0487c1dad for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/bce0487c1dad Modified Files: monetdb5/mal/mal_instruction.c Branch: default Log Message: Use chunk based extensions for stmt/var to reduce memory fragmentation occurring diffs (63 lines): diff --git

MonetDB: default - Small optimization step

2021-08-13 Thread Martin Kersten
Changeset: 48aa18ba7e8d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/48aa18ba7e8d Modified Files: monetdb5/optimizer/opt_bincopyfrom.c monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_prelude.c monetdb5/optimizer/opt_prelude.h Branch: default Log

MonetDB: default - Minor cleanup of the optimizer codes

2021-08-13 Thread Martin Kersten
Changeset: d310abf48269 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/d310abf48269 Modified Files: monetdb5/optimizer/opt_aliases.c monetdb5/optimizer/opt_bincopyfrom.c monetdb5/optimizer/opt_coercion.c monetdb5/optimizer/opt_dataflow.c

MonetDB: default - DEBUG does not work in optimized code.

2021-08-13 Thread Martin Kersten
Changeset: 531caeac99c8 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/531caeac99c8 Modified Files: sql/backends/monet5/sql_execute.c Branch: default Log Message: DEBUG does not work in optimized code. diffs (15 lines): diff --git a/sql/backends/monet5/sql_execute.c

MonetDB: default - Partly revert. towards largest footprint.

2021-06-20 Thread Martin Kersten
Changeset: 5d4186798f63 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/5d4186798f63 Modified Files: monetdb5/mal/mal_dataflow.c Branch: default Log Message: Partly revert. towards largest footprint. diffs (27 lines): diff --git a/monetdb5/mal/mal_dataflow.c

MonetDB: default - Just pick the oldest eligible instruction to ...

2021-06-20 Thread Martin Kersten
Changeset: e6390b5ada54 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/e6390b5ada54 Modified Files: monetdb5/mal/mal_dataflow.c Branch: default Log Message: Just pick the oldest eligible instruction to continue diffs (46 lines): diff --git a/monetdb5/mal/mal_dataflow.c

MonetDB: default - A hot potatoe may be small, look at the tota...

2021-06-20 Thread Martin Kersten
Changeset: a570715cd83b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/a570715cd83b Modified Files: monetdb5/mal/mal_dataflow.c Branch: default Log Message: A hot potatoe may be small, look at the total memory claim to select the next instruction. diffs (51 lines): diff --git

MonetDB: default - Remove unused structure element

2021-06-20 Thread Martin Kersten
Changeset: 3a44bc8b85df for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/3a44bc8b85df Modified Files: monetdb5/mal/mal_client.c monetdb5/mal/mal_client.h monetdb5/mal/mal_scenario.c Branch: default Log Message: Remove unused structure element diffs (39 lines):

MonetDB: default - Make the max threads leading

2021-06-20 Thread Martin Kersten
Changeset: 51b9868e1e1b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/51b9868e1e1b Modified Files: monetdb5/mal/mal_resource.c Branch: default Log Message: Make the max threads leading diffs (27 lines): diff --git a/monetdb5/mal/mal_resource.c b/monetdb5/mal/mal_resource.c

MonetDB: default - Remove superflous code, also solving a leakag...

2021-06-18 Thread Martin Kersten
Changeset: 4b9508feeb5d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/4b9508feeb5d Modified Files: monetdb5/optimizer/opt_dataflow.c Branch: default Log Message: Remove superflous code, also solving a leakage issue. diffs (86 lines): diff --git

MonetDB: default - Move exitcount check to proper place.

2021-06-16 Thread martin kersten
Changeset: 509689ccfb13 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/509689ccfb13 Modified Files: monetdb5/mal/mal_dataflow.c Branch: default Log Message: Move exitcount check to proper place. diffs (62 lines): diff --git a/monetdb5/mal/mal_dataflow.c

MonetDB: default - Issues resolved in the dataflow interpreter.

2021-06-15 Thread Martin Kersten
Changeset: 1163cb74e8c2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/1163cb74e8c2 Modified Files: monetdb5/mal/mal_dataflow.c monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Issues resolved in the dataflow interpreter. 1) the instructions are preferrably

MonetDB: default - Reduce relying on locking the workingset glob...

2021-06-13 Thread Martin Kersten
Changeset: 5be1b63b5632 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/5be1b63b5632 Modified Files: monetdb5/mal/mal_profiler.c monetdb5/mal/mal_runtime.c Branch: default Log Message: Reduce relying on locking the workingset global when not needed. In the profiler, we

MonetDB: default - Avoid non-initialized variable

2021-06-13 Thread Martin Kersten
Changeset: 07bd81629708 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/07bd81629708 Modified Files: monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Avoid non-initialized variable diffs (19 lines): diff --git a/monetdb5/optimizer/opt_reorder.c

MonetDB: default - Perform bucket sort to finalize the reorder.

2021-06-12 Thread Martin Kersten
Changeset: 0bc7a88e5fa7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0bc7a88e5fa7 Modified Files: monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Perform bucket sort to finalize the reorder. diffs (215 lines): diff --git a/monetdb5/optimizer/opt_reorder.c

MonetDB: default - Also align variables during profiling

2021-06-11 Thread Martin Kersten
Changeset: 61e18cba214a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/61e18cba214a Modified Files: monetdb5/mal/mal_profiler.c Branch: default Log Message: Also align variables during profiling diffs (14 lines): diff --git a/monetdb5/mal/mal_profiler.c

MonetDB: default - Align variable names in TRACE and EXPLAIN

2021-06-11 Thread Martin Kersten
Changeset: 8617e2b4cf31 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/8617e2b4cf31 Modified Files: monetdb5/modules/mal/profiler.c sql/backends/monet5/sql_execute.c Branch: default Log Message: Align variable names in TRACE and EXPLAIN diffs (22 lines): diff --git

MonetDB: default - To do, sort .explain.function_histogram by names

2021-06-10 Thread Martin Kersten
Changeset: ea2b0e94476a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/ea2b0e94476a Modified Files: testing/Mz.py.in Branch: default Log Message: To do, sort .explain.function_histogram by names diffs (11 lines): diff --git a/testing/Mz.py.in b/testing/Mz.py.in ---

MonetDB: default - Inject the language.pass earlier in the dataf...

2021-06-10 Thread Martin Kersten
Changeset: 7f7c20a99eef for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/7f7c20a99eef Modified Files: monetdb5/optimizer/opt_dataflow.c sql/test/Tests/setoptimizer.test Branch: default Log Message: Inject the language.pass earlier in the dataflow plans. This calls for an

MonetDB: default - Adjust the output

2021-06-08 Thread Martin Kersten
Changeset: 7e074fb1fec2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/7e074fb1fec2 Modified Files: sql/test/Tests/setoptimizer.test Branch: default Log Message: Adjust the output diffs (31 lines): diff --git a/sql/test/Tests/setoptimizer.test

MonetDB: default - Drop the hot potatoe schedule. The hit potato...

2021-06-06 Thread Martin Kersten
Changeset: 47c9c97da71a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/47c9c97da71a Modified Files: monetdb5/mal/mal_dataflow.c Branch: default Log Message: Drop the hot potatoe schedule. The hit potatoes are already grouped into subqueries, which limits their lifespan. diffs

MonetDB: default - First mat.pack then reorder, to make sure the...

2021-06-06 Thread Martin Kersten
Changeset: 464cbc591ca0 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/464cbc591ca0 Modified Files: monetdb5/optimizer/opt_pipes.c Branch: default Log Message: First mat.pack then reorder, to make sure the packs are spread over the complete plan, to be handled a.s.a.p. diffs

MonetDB: default - Remove some old cruft. Wrap the hot potatoe, ...

2021-06-05 Thread Martin Kersten
Changeset: 3aca8e0330f8 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/3aca8e0330f8 Modified Files: monetdb5/mal/mal.h monetdb5/mal/mal_dataflow.c monetdb5/mal/mal_instruction.h Branch: default Log Message: Remove some old cruft. Wrap the hot potatoe, because it

MonetDB: default - Always inject profiler event properties if yo...

2021-06-05 Thread Martin Kersten
Changeset: 7d51b4d653a4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/7d51b4d653a4 Modified Files: monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_pipes.c monetdb5/optimizer/opt_profiler.c Branch: default Log Message: Always inject profiler event

MonetDB: default - Slightly increasing the number of partitions ...

2021-05-28 Thread Martin Kersten
Changeset: 618d4826c2cd for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/618d4826c2cd Modified Files: monetdb5/optimizer/opt_mitosis.c Branch: default Log Message: Slightly increasing the number of partitions improves the larger scalefactors without affecting too much the smaller

MonetDB: default - Take into account all outstanding memory limi...

2021-05-28 Thread Martin Kersten
Changeset: b077db99e2e3 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b077db99e2e3 Modified Files: monetdb5/mal/mal_client.c monetdb5/mal/mal_client.h monetdb5/modules/mal/clients.c monetdb5/optimizer/opt_mitosis.c Branch: default Log Message: Take into

MonetDB: default - Remove superflous information which is only u...

2021-05-28 Thread Martin Kersten
Changeset: 7b868e596a2a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/7b868e596a2a Modified Files: monetdb5/mal/mal.h monetdb5/mal/mal_instruction.c monetdb5/optimizer/opt_dataflow.c monetdb5/optimizer/opt_mitosis.c Branch: default Log Message: Remove

MonetDB: default - Respect the worker/memory limit also at mitosis

2021-05-27 Thread martin kersten
Changeset: 55a22d54c61c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/55a22d54c61c Modified Files: monetdb5/optimizer/opt_mitosis.c Branch: default Log Message: Respect the worker/memory limit also at mitosis diffs (40 lines): diff --git a/monetdb5/optimizer/opt_mitosis.c

MonetDB: scatter - Use MB units in all situations. Also retrieve...

2021-05-19 Thread Martin Kersten
Changeset: e7557bff3004 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/e7557bff3004 Modified Files: monetdb5/mal/mal_runtime.c monetdb5/modules/mal/sysmon.c Branch: scatter Log Message: Use MB units in all situations. Also retrieve the mb statistics, which avoids the cost

MonetDB: default - Add the profiler exit event to the tracelog()

2021-05-06 Thread martin kersten
Changeset: cd2abaa07bf5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/cd2abaa07bf5 Modified Files: clients/Tests/MAL-signatures.stable.out clients/Tests/MAL-signatures.stable.out.int128 monetdb5/mal/mal_client.h monetdb5/mal/mal_profiler.c

MonetDB: default - Improve the old reorder optimizer

2021-05-01 Thread Martin Kersten
Changeset: 9ac9b70563b0 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/9ac9b70563b0 Modified Files: monetdb5/mal/mal_instruction.h monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Improve the old reorder optimizer The reorder is a simple logical grouping. All

MonetDB: default - Dont use asserts where you should not need them

2021-04-28 Thread martin kersten
Changeset: 0a4a010b49d3 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0a4a010b49d3 Modified Files: monetdb5/optimizer/opt_remap.c Branch: default Log Message: Dont use asserts where you should not need them diffs (11 lines): diff --git a/monetdb5/optimizer/opt_remap.c

MonetDB: default - Dont use asserts where you shouldn't need them

2021-04-28 Thread martin kersten
Changeset: 0e2d3eaaec27 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0e2d3eaaec27 Modified Files: monetdb5/optimizer/opt_mitosis.c Branch: default Log Message: Dont use asserts where you shouldn't need them diffs (12 lines): diff --git a/monetdb5/optimizer/opt_mitosis.c

MonetDB: default - Don;t use asserts where you should not need them

2021-04-28 Thread martin kersten
Changeset: d30283645508 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/d30283645508 Modified Files: monetdb5/optimizer/opt_costModel.c Branch: default Log Message: Don;t use asserts where you should not need them diffs (24 lines): diff --git

MonetDB: default - Remove assertions where you should not need them

2021-04-28 Thread martin kersten
Changeset: 4290963f33f6 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/4290963f33f6 Modified Files: monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Remove assertions where you should not need them diffs (13 lines): diff --git a/monetdb5/optimizer/opt_reorder.c

MonetDB: default - Calculate the copes before debugging the stack

2021-04-28 Thread martin kersten
Changeset: 0e94688755f2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0e94688755f2 Modified Files: monetdb5/mal/mal_debugger.c Branch: default Log Message: Calculate the copes before debugging the stack diffs (11 lines): diff --git a/monetdb5/mal/mal_debugger.c

MonetDB: default - Minor cleanup to ease debugging optimizer int...

2021-04-28 Thread martin kersten
Changeset: 607eaa56dcce for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/607eaa56dcce Modified Files: monetdb5/mal/mal_debugger.c monetdb5/mal/mal_function.c Branch: default Log Message: Minor cleanup to ease debugging optimizer intermediate states. diffs (104 lines):

MonetDB: default - Simplify inspection of the history of MAL blo...

2021-04-28 Thread martin kersten
Changeset: 8602674d1d43 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/8602674d1d43 Modified Files: monetdb5/mal/mal_debugger.c monetdb5/mal/mal_function.c Branch: default Log Message: Simplify inspection of the history of MAL blocks, The format is L mod.fcn[idx] where

MonetDB: default - Export a few more GDK properties.

2021-04-24 Thread martin kersten
Changeset: 0a84fe3c9dee for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0a84fe3c9dee Modified Files: monetdb5/mal/mal_profiler.c Branch: default Log Message: Export a few more GDK properties. But need some work, as it does not appear as expected in the stethoscope. diffs (32

MonetDB: default - Wrap with extra optimizer with define code.

2021-04-24 Thread martin kersten
Changeset: 63f7119c9977 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/63f7119c9977 Modified Files: monetdb5/optimizer/opt_projectionpath.c Branch: default Log Message: Wrap with extra optimizer with define code. diffs (17 lines): diff --git

MonetDB: default - Make the minimal pipe a little faster

2021-04-23 Thread martin kersten
Changeset: 19a7cbd1f17e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/19a7cbd1f17e Modified Files: monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_pipes.c Branch: default Log Message: Make the minimal pipe a little faster diffs (28 lines): diff --git

MonetDB: default - Add comments

2021-04-18 Thread martin kersten
Changeset: 969563673a16 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/969563673a16 Modified Files: monetdb5/optimizer/opt_reorder.c Branch: default Log Message: Add comments diffs (51 lines): diff --git a/monetdb5/optimizer/opt_reorder.c b/monetdb5/optimizer/opt_reorder.c ---

MonetDB: default - Documentation of a failed experiment

2021-04-07 Thread martin kersten
Changeset: 874abcfa85e5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/874abcfa85e5 Modified Files: monetdb5/optimizer/opt_projectionpath.c Branch: default Log Message: Documentation of a failed experiment Out projectionpath should not be split diffs (235 lines): diff --git

MonetDB: default - Avoid crash on wrong optimizer

2021-04-04 Thread martin kersten
Changeset: dc8256a75280 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/dc8256a75280 Modified Files: monetdb5/optimizer/opt_wrapper.c Branch: default Log Message: Avoid crash on wrong optimizer diffs (12 lines): diff --git a/monetdb5/optimizer/opt_wrapper.c

MonetDB: default - Remove history because nowadays we don't use ...

2021-04-04 Thread martin kersten
Changeset: 648ffbc94052 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/648ffbc94052 Modified Files: monetdb5/mal/mal_debugger.c monetdb5/mal/mal_instruction.c monetdb5/mal/mal_instruction.h Branch: default Log Message: Remove history because nowadays we don't use

MonetDB: default - Refine the optimizers to not skip sql.tid dup...

2021-04-01 Thread martin kersten
Changeset: 070707c4bb0b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/070707c4bb0b Modified Files: monetdb5/optimizer/opt_commonTerms.c monetdb5/optimizer/opt_constants.c Branch: default Log Message: Refine the optimizers to not skip sql.tid duplicate elimination diffs

MonetDB: default - Avoid searching for common terms

2021-03-31 Thread martin kersten
Changeset: 37c0236b1fc8 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/37c0236b1fc8 Modified Files: monetdb5/optimizer/opt_commonTerms.c monetdb5/optimizer/opt_constants.c Branch: default Log Message: Avoid searching for common terms diffs (24 lines): diff --git

MonetDB: default - Fast path implementation of dominant optimizers.

2021-03-15 Thread martin kersten
Changeset: 84cb3b570a20 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=84cb3b570a20 Added Files: monetdb5/optimizer/opt_fastpath.c monetdb5/optimizer/opt_fastpath.h Modified Files: monetdb5/optimizer/opt_commonTerms.c

MonetDB: default - Another 2% using fast-path implementations of...

2021-03-14 Thread martin kersten
Changeset: 86ff5a1cbc5a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=86ff5a1cbc5a Modified Files: monetdb5/optimizer/CMakeLists.txt monetdb5/optimizer/opt_aliases.c monetdb5/optimizer/opt_pipes.c monetdb5/optimizer/opt_wrapper.c

MonetDB: default - Simple SET variable instruction also dont nee...

2021-03-14 Thread martin kersten
Changeset: 8899e28a011f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8899e28a011f Modified Files: monetdb5/optimizer/opt_support.c Branch: default Log Message: Simple SET variable instruction also dont need a full optimizer stage. diffs (14 lines): diff --git

MonetDB: default - Minor issues removed

2021-03-14 Thread martin kersten
Changeset: 5222828651b0 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5222828651b0 Modified Files: monetdb5/mal/mal_debugger.c monetdb5/mal/mal_instruction.c monetdb5/mal/mal_listing.c monetdb5/mal/mal_profiler.c Branch: default Log Message:

MonetDB: default - First assess before doing the work

2021-03-14 Thread martin kersten
Changeset: 570757f0ebb7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=570757f0ebb7 Modified Files: monetdb5/optimizer/opt_multiplex.c Branch: default Log Message: First assess before doing the work diffs (27 lines): diff --git

MonetDB: default - No need to fold constants in side-effect func...

2021-03-14 Thread martin kersten
Changeset: 66caa1d3304a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=66caa1d3304a Modified Files: monetdb5/optimizer/opt_constants.c Branch: default Log Message: No need to fold constants in side-effect functions, they can not be merged by the commonterms

MonetDB: default - No need for re-order when mitosis/mergetable ...

2021-03-10 Thread martin kersten
Changeset: 13d7f20aaad1 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=13d7f20aaad1 Modified Files: monetdb5/optimizer/opt_reorder.c Branch: default Log Message: No need for re-order when mitosis/mergetable is skipped diffs (28 lines): diff --git

MonetDB: default - Limit the search for constants, consistent wi...

2021-03-10 Thread martin kersten
Changeset: adedb549efd4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=adedb549efd4 Modified Files: monetdb5/mal/mal_builder.c Branch: default Log Message: Limit the search for constants, consistent with the parse. diffs (93 lines): diff --git

MonetDB: default - Invest to avoid work in the optimizers

2021-03-08 Thread martin kersten
Changeset: 6905db51c459 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6905db51c459 Modified Files: monetdb5/optimizer/opt_projectionpath.c monetdb5/optimizer/opt_remap.c Branch: default Log Message: Invest to avoid work in the optimizers diffs (55

MonetDB: default - Optimize the pipeline

2021-03-08 Thread martin kersten
Changeset: b4ce28fd9acb for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b4ce28fd9acb Modified Files: monetdb5/optimizer/opt_support.h Branch: default Log Message: Optimize the pipeline diffs (11 lines): diff --git a/monetdb5/optimizer/opt_support.h

MonetDB: default - Approve the output

2021-03-08 Thread martin kersten
Changeset: 2e0be55dd976 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2e0be55dd976 Modified Files: sql/test/Tests/setoptimizer.test sql/test/Triggers/Tests/trigger_action.test sql/test/mapi/Tests/sql_int128.test

MonetDB: default - Short-cut the optimizer pipeline facing simpl...

2021-03-08 Thread martin kersten
Changeset: 13f2d9c9d069 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=13f2d9c9d069 Modified Files: monetdb5/optimizer/opt_commonTerms.c monetdb5/optimizer/opt_constants.c monetdb5/optimizer/opt_pipes.c monetdb5/optimizer/opt_support.c

MonetDB: default - Safe cycles

2021-03-08 Thread martin kersten
Changeset: b7a25cbf66b3 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b7a25cbf66b3 Modified Files: monetdb5/mal/mal_instruction.c Branch: default Log Message: Safe cycles diffs (20 lines): diff --git a/monetdb5/mal/mal_instruction.c

MonetDB: default - Implement optimizer dependency check

2021-03-06 Thread martin kersten
Changeset: cd64e25b9540 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cd64e25b9540 Modified Files: monetdb5/optimizer/opt_matpack.c monetdb5/optimizer/opt_mergetable.c monetdb5/optimizer/opt_mitosis.c monetdb5/optimizer/opt_reorder.c

MonetDB: default - Reduce the cost of the deadcode analysis.

2021-03-05 Thread martin kersten
Changeset: 50b1a3eed485 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=50b1a3eed485 Modified Files: monetdb5/optimizer/opt_deadcode.c Branch: default Log Message: Reduce the cost of the deadcode analysis. diffs (52 lines): diff --git

MonetDB: default - Fix exception throwing

2021-03-04 Thread martin kersten
Changeset: 7ec62ee432f9 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7ec62ee432f9 Modified Files: monetdb5/mal/mal_function.c Branch: default Log Message: Fix exception throwing diffs (123 lines): diff --git a/monetdb5/mal/mal_function.c

MonetDB: default - Fix compilation issues

2021-03-04 Thread martin kersten
Changeset: 83b2a6a1660a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83b2a6a1660a Modified Files: monetdb5/optimizer/opt_garbageCollector.c Branch: default Log Message: Fix compilation issues diffs (29 lines): diff --git

MonetDB: default - Minor code upgrade

2021-03-04 Thread martin kersten
Changeset: 4c584b865796 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4c584b865796 Modified Files: monetdb5/optimizer/opt_garbageCollector.c Branch: default Log Message: Minor code upgrade diffs (64 lines): diff --git a/monetdb5/optimizer/opt_garbageCollector.c

MonetDB: default - Postpone name generation

2021-03-04 Thread martin kersten
Changeset: 6247a8eaa9da for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6247a8eaa9da Modified Files: monetdb5/optimizer/opt_wrapper.c Branch: default Log Message: Postpone name generation diffs (63 lines): diff --git a/monetdb5/optimizer/opt_wrapper.c

MonetDB: default - Postpone name generation until you need it

2021-03-04 Thread martin kersten
Changeset: a8d44f599588 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a8d44f599588 Modified Files: monetdb5/mal/mal_function.c Branch: default Log Message: Postpone name generation until you need it diffs (194 lines): diff --git a/monetdb5/mal/mal_function.c

MonetDB: default - No need to typecheck the optimizer instructions

2021-03-04 Thread martin kersten
Changeset: 69ad278379cf for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=69ad278379cf Modified Files: monetdb5/optimizer/opt_pipes.c Branch: default Log Message: No need to typecheck the optimizer instructions diffs (12 lines): diff --git

MonetDB: default - Avoid double run over the typechecker.

2021-03-04 Thread martin kersten
Changeset: 8bcdfc7cc56f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8bcdfc7cc56f Modified Files: monetdb5/optimizer/opt_mergetable.c Branch: default Log Message: Avoid double run over the typechecker. diffs (13 lines): diff --git

MonetDB: default - Fix type and add some more lazy initializations

2021-03-03 Thread martin kersten
Changeset: 56bc4f330ce5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=56bc4f330ce5 Modified Files: monetdb5/mal/mal_instruction.c Branch: default Log Message: Fix type and add some more lazy initializations diffs (35 lines): diff --git

MonetDB: default - Delay generation of MAL variable names

2021-03-03 Thread martin kersten
Changeset: 83d776ba0b5f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83d776ba0b5f Modified Files: monetdb5/mal/mal_function.c monetdb5/mal/mal_instruction.h monetdb5/optimizer/opt_garbageCollector.c Branch: default Log Message: Delay generation of

MonetDB: default - Postpone MAL variable name generation when po...

2021-03-03 Thread martin kersten
Changeset: 9f8c2981696d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9f8c2981696d Modified Files: monetdb5/mal/mal_instruction.c monetdb5/mal/mal_instruction.h Branch: default Log Message: Postpone MAL variable name generation when possible. diffs (62

MonetDB: default - Move the variable renaming to its logical place

2021-03-03 Thread martin kersten
Changeset: 0015b5a45265 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0015b5a45265 Modified Files: monetdb5/mal/mal_function.c monetdb5/mal/mal_function.h monetdb5/optimizer/Tests/argumenttypes.maltest

MonetDB: default - Move the information on the variable type int...

2021-03-03 Thread martin kersten
Changeset: ed4a867a9d1e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ed4a867a9d1e Modified Files: monetdb5/mal/Tests/tst024.maltest monetdb5/mal/mal.h monetdb5/mal/mal_debugger.c monetdb5/mal/mal_instruction.c

MonetDB: mtest - The final batch,still a few Mconvert issues

2020-11-11 Thread Martin Kersten
Changeset: db3fa10c2c18 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=db3fa10c2c18 Added Files: monetdb5/mal/Tests/dataflow01.maltest monetdb5/mal/Tests/dataflow03.maltest monetdb5/mal/Tests/dynamicload.maltest

MonetDB: mtest - Another batch of tests

2020-11-11 Thread Martin Kersten
Changeset: 029e2bf47987 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=029e2bf47987 Added Files: monetdb5/mal/Tests/tst192.maltest monetdb5/mal/Tests/tst193.maltest monetdb5/mal/Tests/tst194.maltest monetdb5/mal/Tests/tst195.maltest

MonetDB: mtest - Another batch, almost 50% done here

2020-11-11 Thread Martin Kersten
Changeset: e6d92c411f37 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e6d92c411f37 Added Files: monetdb5/mal/Tests/tst1150.maltest monetdb5/mal/Tests/tst120a.maltest monetdb5/mal/Tests/tst120b.maltest monetdb5/mal/Tests/tst130.maltest

MonetDB: mtest - A new batch of massaged tests

2020-11-11 Thread Martin Kersten
Changeset: c977df6e8777 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c977df6e8777 Added Files: monetdb5/mal/Tests/tst042.maltest monetdb5/mal/Tests/tst043.maltest monetdb5/mal/Tests/tst044.maltest monetdb5/mal/Tests/tst045.maltest

MonetDB: mtest - Updated the test to reflect @0 trimming

2020-11-11 Thread Martin Kersten
Changeset: c7196ae1accb for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c7196ae1accb Modified Files: monetdb5/mal/Tests/tst023.maltest monetdb5/mal/Tests/tst025.maltest monetdb5/mal/Tests/tst029.maltest monetdb5/mal/Tests/tst031.maltest

MonetDB: mtest - Added missing ones

2020-11-11 Thread Martin Kersten
Changeset: 11b9eb7b54a0 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=11b9eb7b54a0 Branch: mtest Log Message: Added missing ones diffs (12 lines): diff --git a/sql/test/BugTracker-2013/Tests/All b/sql/test/BugTracker-2013/Tests/All ---

MonetDB: mtest - Add missing files

2020-11-11 Thread Martin Kersten
Changeset: e55a85f3d54f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e55a85f3d54f Added Files: monetdb5/mal/Tests/tst023.maltest monetdb5/mal/Tests/tst024.maltest monetdb5/mal/Tests/tst025.maltest monetdb5/mal/Tests/tst026.maltest

MonetDB: mtest - New batch of test conversion

2020-11-11 Thread Martin Kersten
Changeset: 20f1f97e054c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=20f1f97e054c Modified Files: monetdb5/mal/Tests/All monetdb5/mal/Tests/tst020.maltest monetdb5/mal/Tests/tst022.maltest monetdb5/mal/Tests/tst033.malC

  1   2   3   4   5   6   7   8   9   10   >