[MonetDB-users] How could I run a set of XQuery in a batch?
Hello, everyone May I ask you how to run a set of XQueries in a batch? I am using MonetDB v4.22.0 on Redhat Linux. I have a set of XQueries. I want to run them against a single xml document and collect the running time. Currently I am only able to submit one XQuery at a time at the mclient commandline. Is there anyway for me to send all my XQueries in a batch and get the total running time? I also have another question. Does MonetDB handle multi-query optimization? I mean if more than one query have common subexpressions, will MonetDB evaluate them just once? Thanks in advance. Chinyi
Hi Chinyi, simply collect all your XQuery queries in a file, say MyQueries.xq, such that the queries are separated by lines that only contain "<>" (w/o the quotes), and then run time mclient --language=xquery --time MyQueries.xq Stefan
Hello, everyone May I ask you how to run a set of XQueries in a batch? I am using MonetDB v4.22.0 on Redhat Linux.
I have a set of XQueries. I want to run them against a single xml document and collect the running time. Currently I am only able to submit one XQuery at a time at the mclient commandline. Is there anyway for me to send all my XQueries in a batch and get the total running time?
I also have another question. Does MonetDB handle multi-query optimization? I mean if more than one query have common subexpressions, will MonetDB evaluate them just once?
Thanks in advance. Chinyi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_____________________... MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (2)
-
Chinyi Woo
-
Stefan.Manegold@cwi.nl