# Query Profiling Collect XQuery Performance Statistics

Enable tracing to start collecting statistics. Run queries as usual (through any eXist interface), then press "Refresh" to see statistics.
Clear Refresh

Source | Calls | Timing
--- | --- | ---
No statistics available or tracing not enabled.

Function | Source | Calls | Timing
--- | --- | --- | ---
No statistics available or tracing not enabled.

Source | Index | Optimization | Calls | Timing
--- | --- | --- | --- | ---
No statistics available or tracing not enabled.

Optimization = Optimized means: the query optimizer could use the index to execute the expression in the best possible way. Basic: an index was available but could only be used to speed up the lookup, no further optimization was applied. None : no index was found, no optimization possible. KNN marks vector index usage when traced.

Aggregates `ft:query-vector`, `vector:embed*`, and related function timings plus any index stats typed as vector/KNN. Use this tab when tuning semantic search workloads.

Kind | Name / type | Source | Calls | Timing
--- | --- | --- | --- | ---
No statistics available or tracing not enabled.