Hi,
this timeout is not server specific, so you can set it for each client separately. The easiest way is set timeout, run query, set timeout back.
-- Andreas
Am 24.02.2011 um 07:32 schrieb Jan Vlčinský (CAD):
Phil At http://docs.basex.org/wiki/Options#Server_options is mentioned server wide option TIMEOUT, which can limit time for query execution. I wonder, if there is any way to specify this per query.
Jan
2011/2/24 NewIntellectual newintellectual@gmail.com On Wed, Feb 23, 2011 at 8:20 PM, Christian Grün christian.gruen@gmail.com wrote: as far as I can judge, XQuery expressions are too heterogeneous to provide realistic cost estimations. While our query compiler has some notion of "costs", those values are all relative, and used to select the (presumably) cheapest query plan or index access.
I see. Can you remark on how hard it might be to specify a parameter in the appropriate query methods which would designate a maximum execution time before the query is cleanly aborted (in "wall clock time")? This would be in a client/server context.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- Ing. Jan Vlčinský CAD programy Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic tel: +420-597 602 024; mob: +420-608 979 040 skype: janvlcinsky; GoogleTalk: jan.vlcinsky@gmail.com http://cz.linkedin.com/in/vlcinsky
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk