On Wed, Feb 23, 2011 at 8:20 PM, Christian Grün christian.gruen@gmail.comwrote:
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.