Get TurboQuant last scan stats
get_turboquant_last_scan_statsGet statistics from the last turboquant scan in PostgreSQL, including score mode, SIMD kernel, pages scanned, and pages pruned. Returns null if no scan has occurred.
Instructions
Return the backend-local JSON tq_last_scan_stats() reports for the most recent turboquant scan: score_mode, simd_kernel, pages_scanned, pages_pruned, plus the raw payload. Returns null when the extension is absent or no turboquant scan has run on this connection yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |