Updated on 2023-10-23 GMT+08:00

DB_TABLES

DB_TABLES displays all tables accessible to the current user. This view exists in both PG_CATALOG and SYS schema.

Table 1 DB_TABLES columns

Name

Type

Description

owner

character varying(64)

Table owner

table_name

character varying(64)

Table name

tablespace_name

character varying(64)

Tablespace name of the table

num_rows

numeric

Estimated number of rows in the table

status

character varying(8)

Whether the current record is valid

temporary

character(1)

Whether the table is a temporary table
  • Y: The table is a temporary table.
  • N: The table is not a temporary table.

dropped

character varying

Whether the current record is deleted
  • YES: The record is deleted.
  • NO: The record is not deleted.