atom feed3 messages in com.marklogic.developer.generalRe: [MarkLogic Dev General] query exe...
FromSent OnAttachments
Jonna MarrySep 20, 2010 6:51 am 
Ron HitchensSep 20, 2010 7:12 am 
Michael BlakeleySep 20, 2010 8:59 am 
Subject:Re: [MarkLogic Dev General] query execution time
From:Michael Blakeley (mich@marklogic.com)
Date:Sep 20, 2010 8:59:49 am
List:com.marklogic.developer.general

Calling xdmp:query-meters can be expensive. For simple execution time, use xdmp:elapsed-time().

http://developer.marklogic.com/pubs/4.1/apidocs/Ext-7.html#xdmp:elapsed-time

-- Mike

On 2010-09-20 07:12, Ron Hitchens wrote:

Take a look at the profiling API:

http://developer.marklogic.com/pubs/4.1/apidocs/ProfileBuiltins.html

xdmp:query-meters can also be helpful:

http://developer.marklogic.com/pubs/4.1/apidocs/Ext-7.html#xdmp:query-meters

On Sep 20, 2010, at 2:52 PM, Jonna Marry wrote:

Hi all,

I just wanted to know Is there any way to calculate the query execution time?

Regards, Jonna