Catalog Reference
The SQreamDB database uses a schema called sqream_catalog
that contains information about database objects such as tables, columns, views, and permissions. Some additional catalog tables are used primarily for internal analysis and may differ across SQreamDB versions.
What Information Does the Schema Contain?
The schema contains data management tables with information about structure and management of database elements, including tables, schemas, queries, and permissions, and physical storage and organization of data tables of extents, chunk columns, chunks, and delete predicates.
How to Get Table Information?
To get the information stored on a table, use this syntax, as in this example of working with the parameters
table:
SELECT * FROM sqream_catalog.parameters;
To get the table ddl, use this syntax, as in this example of working with the parameters
table:
SELECT get_ddl('sqream_catalog.parameters');
Database Management Tables
Database Object |
Table |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data Storage and Organization Tables
Database Object |
Table |
---|---|
Shows |
|
Shows |
|
Shows |
|
Shows |