All Products
Search
Document Center

PolarDB:DBA_TABLES

Last Updated:Mar 28, 2026

DBA_TABLES is a system view that returns metadata for all tables in the database.

Column reference

ColumnTypeDescription
ownerTEXTThe username of the table owner.
schema_nameTEXTThe name of the schema that contains the table.
table_nameTEXTThe name of the table.
tablespace_nameTEXTThe name of the tablespace where the table is located, if the tablespace is not the default tablespace.
statusCHARACTER VARYING(5)Included for compatibility only. Always VALID.
temporaryCHARACTER(1)Y if the table is a temporary table. N if the table is a permanent table.