How to measure query Xquery performance in Marklogic?
First, we can analyze our query by profiling the meter that is given on the Console page. It completely shows line-by-line execution time. Here you can able to see line-by-line execution time. Based on this execution time you can re-design or tune your query.
Read the complete article here, to know a better understanding of the displayed button on the Profile button on the QConsole page.
Second, we use the xdmp:query-meters and xdmp:query-trace functions to understand and tune the performance of queries.
Comments
Post a Comment