QueryStats Interface
Performance-related statistics for ECSqlReader.
Properties
| Name | Type | Description | |
|---|---|---|---|
| backendCpuTime | number | Elapsed backend execution time, including preparation and blocking waits but not queueing, in microseconds. | |
| backendDownloadBlocks | number | undefined | Number of successful main-database block acquisitions that waited, including shared downloads but excluding cache hits. | |
| backendDownloadBytes | number | undefined | Bytes of the blocks counted by backendDownloadBlocks, including repeated acquisitions. | |
| backendDownloadTime | number | undefined | Elapsed wait attributed to successful block downloads for the main Cloud SQLite database, in fractional milliseconds. | |
| backendExecutionTime | number | undefined | Active backend elapsed time excluding main-database block waits, in fractional milliseconds; not CPU usage. | |
| backendMemUsed | number | Estimated memory used for the query. | |
| backendRowsReturned | number | Total number of rows returned by the backend. | |
| backendTotalTime | number | Backend time through response construction, including queueing, in milliseconds. | |
| prepareTime | number | Total time in millisecond to prepare ECSQL or grabing it from cache and binding parameters | |
| retryCount | number | The number of retries attempted to execute the query. | |
| totalTime | number | Sum of executor-call elapsed times, including failed calls, in fractional milliseconds. |
Defined in
- core/common/src/ECSqlReader.ts Line 19
Last Updated: 26 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.