Skip to main content
You can use the information_schema.catalogs view to get information about catalogs (databases in SQL terminology). You can use a SELECT query to return information about each database as shown in the example below. In order to view catalog information, you must have catalog privileges or have ownership of the catalog object.

Columns in information_schema.catalogs

Each row has the following columns with information about the database.