forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
6.2 KiB
6.2 KiB
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. |
Parent topic: System Catalogs