Updated on 2025-10-10 GMT+08:00

PG_DB_FILE

PG_DB_FILE stores file information of V3 tables and creates unique indexes for the databaseid, tablespaceid, relfilenode, and fileid columns. Update of this system catalog is controlled by the enable_pg_db_file parameter. This system catalog is supported only by clusters of version 9.1.1.100 or later.

Table 1 PG_DB_FILE columns

Column

Type

Description

databaseid

Oid

Database OID

tablespaceid

Oid

Tablespace OID

relfilenode

Oid

Table relfilenode

fileid

int8

File ID

type

char

Data type. Four types are available: CUDESC, CU, DELTA, and ROW. Currently, only CU data is collected.

refcount

int8

Used for zero copy

filesize

int8

File size

ancestor

int8

Used for zero copy

xid

TransactionId

Transaction ID