PG_STATIO_ALL_TABLES
PG_STATIO_ALL_TABLES is used to query I/O statistics of each table (including TOAST tables) in the current database.
Name |
Type |
Description |
---|---|---|
relid |
oid |
OID of a table. |
schemaname |
name |
Name of the schema that this table is in. |
relname |
name |
Table name. |
heap_blks_read |
bigint |
Number of disk blocks read from this table. |
heap_blks_hit |
bigint |
Number of cache hits in this table. |
idx_blks_read |
bigint |
Number of disk blocks read from all indexes in this table. |
idx_blks_hit |
bigint |
Number of cache hits of all indexes in this table. |
toast_blks_read |
bigint |
Number of disk blocks (if any) read from the TOAST table of this table. |
toast_blks_hit |
bigint |
Number of cache hits (if any) in the TOAST table of this table. |
tidx_blks_read |
bigint |
Number of disk blocks (if any) read from the TOAST table indexes of this table. |
tidx_blks_hit |
bigint |
Number of cache hits (if any) in the TOAST table indexes of this table. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot