Get TurboQuant heap stats
get_turboquant_heap_statsGet the exact heap row count for a turboquant index using tq_index_heap_stats(). Raw upstream counters are preserved for additional detail. Requires the pg_turboquant extension.
Instructions
Return the exact heap row count tq_index_heap_stats() reports for a single turboquant index (schema.index). The raw upstream payload is preserved in raw for any extra counters upstream may add. Requires the pg_turboquant extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| schema | Yes | ||
| 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 |
|---|---|---|---|
| raw | Yes | ||
| index | Yes | ||
| schema | Yes | ||
| row_count | Yes |