Get TurboQuant heap stats
get_turboquant_heap_statsRetrieve the exact heap row count for a specified turboquant index (schema.index) from PostgreSQL using the pg_turboquant extension. Returns raw payload for additional counters.
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 |