forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
6.1 KiB
6.1 KiB
PG_RELFILENODE_SIZE
The PG_RELFILENODE_SIZE system catalog provides file-level space statistics. Each record in the catalog corresponds to a physical file on the disk and the size of the file.
Name |
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