PG_RELFILENODE_SIZE
The PG_RELFILENODE_SIZE system catalog provides file-level space statistics. Each record in the table corresponds to a physical file on the disk and the size of the file.
Column | Type | Description |
|---|---|---|
databaseid | OID | OID of the database that the physical file belongs to If a system catalog is shared across databases, its value is 0. |
tablespaceid | OID | Tablespace OID of the physical file |
relfilenode | OID | Serial number of the physical file |
backendid | Integer | ID of the background thread that creates the physical file. Generally, the value is -1. |
type | Integer | Type of the physical file.
|
filesize | Bigint | Size of the physical file, in bytes. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

