Updated on 2024-05-07 GMT+08:00

Overview of System Catalogs and System Views

System catalogs store structured metadata of GaussDB. They are the source of information used by GaussDB to control system running and are a core component of the database system.

System views provide ways to query the system catalogs and internal database status.

System catalogs and views are visible to either system administrators or all users. Some system catalogs and views have marked the need of administrator permissions, so they are accessible only to administrators.

You can delete and re-create system catalogs, add columns to them, and insert and update values in them, but doing so may make system information inconsistent and cause system faults. Generally, users should not modify system catalogs or system views, or rename their schemas. They are automatically maintained by the system.

  • You are advised not to modify the permissions on system catalogs or system views.
  • Do not add, delete, or modify system catalogs because doing so will result in exceptions or even cluster unavailability.
  • System catalogs and views do not support foreign key-related columns.
  • For details about column types in system catalogs and system views, see Data Type.