MarkLogic interview: How to measure query Xquery performance?
Q.1. How to measure query Xquery performance?
Ans: First, we can analysis our query performance by profiling meter that given on Console page. It’s completely show line by line execution time.
Below is the screen-shot of profiling meter:
Here, you can see exact what's line is taking more time then you can modify your query as
Second, we use use the xdmp:query-meters and xdmp:query-trace functions to understand and tune the performance of queries.
Comments
Post a Comment