Hi All,


    Warm regards,



    I am trying to execute an xquery function which interanlly updates (insert 
child node) to 11 documents in the database.



When i used query meter in my code, the total elapsed time is (PT0.081001S / 
PT0.111622S)as below in different execution.



<qm:elapsed-time>PT0.081001S</qm:elapsed-time>

 <qm:elapsed-time>PT0.111622S</qm:elapsed-time>



When i try to profile my query using CQ, (clikcing the profile button)



The profiled time is  "PT1M55.063478S"



Eg: Profiled 2046 expressions in PT1M55.063478S



Why the time difference is high, Does profiling do some extra operation to 
calculate the timing?(does it include data merge / query parsing / indexing 
time also? )



Now in this case which time should i consider as execution time for my xquery 
funcation?



Elapsed time / profile time.



Thanks & Regards,

Santhosh


Thanks & Regards,
Santhosh Rajasekaran,
"Think twice before you start programming or you will program twice before you 
start thinking."

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to