About compilation time

Ying Zhang y.zhang at cwi.nl
Wed Dec 2 16:46:37 CET 2015

Hai Mustafa,

I’m not aware that monetdb directly gives you this information.  what you could try is to prefix your query with PLAN or EXPLAIN, which will limit a monetdb server to only generate the logical or physical execution plan for the query. Do this with client and server on the same machine, send the output to /dev/null, then you can measure the wall clock time.  This should give you something usable.

For only the parsing time, I’m afraid you need to dig into the source code to add timing…

Not sure what parsing/compilation details you’re looking for, but you can have a look at the output of PLAN and EXPLAIN anyway.



> On Dec 01, 2015, at 20:29 , Mustafa Korkmaz <t-mukork at microsoft.com> wrote:
> Hello all,
> I’m conducting an experiment to show pros/cons of certain DBs and I need to investigate
> query compilation performance in details. For this,
> Is there any way to measure the elapsed time in query parsing/compilation time in MonetDB?
> Also is there any document out there to show the query parsing/compilation details?
> What I find for timing is only “-i” flag which gives an overall timing stat.
> I’d be glad for any help.
> Thank you
> Mustafa Korkmaz
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org
> https://www.monetdb.org/mailman/listinfo/developers-list

More information about the developers-list mailing list