Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ocient.com/llms.txt

Use this file to discover all available pages before exploring further.

The system catalog exposes a set of system views in the information_schema schema that contain metadata about the System. Most of these views follow the SQL standard with additional views specific to the system.

Alphabetical List of Views

  • information_schema.columns
  • information_schema.data_types
  • information_schema.databases
  • information_schema.geometry_columns
  • information_schema.groups
  • information_schema.index_recommendations
  • information_schema.indexes
  • information_schema.information_schema_catalog_name
  • information_schema.nodes
  • information_schema.pipeline_status
  • information_schema.pipeline_table_metrics
  • information_schema.pipelines
  • information_schema.reserved_words
  • information_schema.schemata
  • information_schema.table_privileges
  • information_schema.table_storage
  • information_schema.tables
  • information_schema.users
  • information_schema.views

System View Descriptions

information_schema.columns

The columns view shows information for all columns in the system.
Column NameColumn TypeColumn Description
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
column_nameVARCHARName of the column.
ordinal_positionBIGINTOrdinal of the column with respect to its table.
data_typeVARCHARData type of the column (INT, CHAR, BOOLEAN, etc.).
is_nullableVARCHARSpecifies whether the values in this column can be NULL.
column_defaultVARCHARThe default expression of this column, if it exists.

information_schema.data_types

The data_types view shows all data types in the system.
Column NameColumn TypeColumn Description
data_typeVARCHARData type.

information_schema.databases

The databases view shows all databases where the current user has access.
Column NameColumn TypeColumn Description
database_nameVARCHARName of the database.
created_atTIMESTAMPTimestamp that specifies when the database was created.

information_schema.geometry_columns

The geometry_columns view shows information about all geometry type columns in the system.
Column NameColumn TypeColumn Description
f_table_catalogVARCHARName of the database.
f_table_schemaVARCHARName of the schema.
f_table_nameVARCHARName of the table.
f_geometry_columnVARCHARName of the column.
coord_dimensionINTThe coordinate dimension.
sridINTThe ID of the spatial reference system.
typeVARCHARData type of the column (POINT, LINESTRING, POLYGON, etc.).

information_schema.groups

The groups view shows all groups in the system.
Column NameColumn TypeColumn Description
database_nameVARCHARName of the database.
group_nameVARCHARName of the group.

information_schema.index_recommendations

This view contains index recommendations.
Column NameColumn TypeColumn Description
table_nameVARCHARName of the table.
column_nameVARCHARName of the column.
sqlVARCHARSQL statement to create or drop the recommended index.

information_schema.indexes

The indexes view shows all indexes used in the system.
Column NameColumn TypeColumn Description
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
index_nameVARCHARName of the index.
index_typeVARCHARType of the index.
column_nameVARCHARName of the column.

information_schema.information_schema_catalog_name

The information_schema_catalog_name view shows the current database.
Column NameColumn TypeColumn Description
catalog_nameVARCHARName of the database.

information_schema.nodes

The nodes view shows all nodes defined in the system.
Column NameColumn TypeColumn Description
nameVARCHARName of the node.
service_role_typesVARCHAR[]The type of service roles on this node.
operational_statusVARCHARThe operational status of the node. Values are ACTIVE, STARTING, STOPPING, ERROR, UNKNOWN, or UNREACHABLE.
software_versionVARCHARVersion of the software running on this node.

information_schema.pipeline_status

To view dynamic information about the status of the pipeline, query from information_schema.pipeline_status, or you can use the SHOW PIPELINE_STATUS command.
Column NameColumn TypeColumn Description
database_nameVARCHARName of the database where the pipeline was created.
pipeline_nameVARCHARThe name of this pipeline.
table_namesVARCHAR[]An array of fully-qualified table names where the pipeline loads data.
statusVARCHARStatus of the pipeline (RUNNING, STOPPED, COMPLETED, FAILED).
status_messageVARCHARThe corresponding event message of the last event that the Ocient System sees for this pipeline from the event_message column of the sys.pipeline_events system catalog table.
duration_secondsINTDuration, in seconds, of how long the pipeline has been running.
files_processedBIGINTThe number of files that have been processed for file-based loads. (includes files with these statuses: LOADED, LOADED_WITH_ERRORS, and SKIPPED)
files_failedBIGINTThe number of files that have failed and have a file status of FAILED for file-based loads.
files_remainingBIGINTThe number of remaining files for file-based loads. (includes these file statuses: PENDING, QUEUED, and LOADING)
files_totalBIGINTThe total number of files for file-based loads.
fraction_completeFLOATThe estimated fraction completion as a value from 0.0 to 1.0 for file-based batch loads. The calculation is files processed or failed divided by the total files.
records_processedBIGINTThe number of records that the pipeline has processed. The pipeline attempts to process and load a record. This number can be greater than the value of records_loaded due to the deduplication of records that the system processes twice or where record-level errors occur.
records_loadedBIGINTThe number of records that have successfully loaded into the system. This number reflects the records in the system and does not include records that failed to load or were eliminated as duplicates.
records_failedBIGINTNumber of records that have failed.

information_schema.pipeline_table_metrics

To view dynamic information about the metrics specific to each of the target tables of the pipeline, query from the information_schema.pipeline_table_metrics view.
Column NameColumn TypeColumn Description
database_nameVARCHARThe name of the database where the pipeline was created.
pipeline_nameVARCHARThe name of this pipeline.
table_nameVARCHARThe fully-qualified name of the table where the pipeline loads data.
records_processedBIGINTThe number of records that the pipeline has processed for loading into the table. The pipeline attempts to process and load a record. This number can be greater than the value of the records_loaded column due to the deduplication of records that the system processes twice or where the record-level errors occur.
records_loadedBIGINTThe number of records the Ocient System has successfully loaded into the table. This number reflects the records in the table and does not include records that the pipeline failed to load or eliminated as duplicates.
records_failedBIGINTThe number of records the pipeline failed to load into the table. This number does not include records the pipeline failed to load to all tables, such as failed records during extraction.
processing_durationBIGINTDuration, in milliseconds, indicating how long the pipeline has been processing records for the table.
loading_durationBIGINTDuration, in milliseconds, indicating how long the pipeline has been loading records into the table.
bytes_processedBIGINTEstimate of the amount of source data, in bytes, that the pipeline has processed for the table.

information_schema.pipelines

To view static information that stays the same after the pipeline has been created, query from information_schema.pipelines, or you can use the SHOW PIPELINES command. The columns in the information_schema.pipelines view derive from the underlying sys.pipelines system catalog table.
Column NameColumn TypeColumn Description
database_nameVARCHARName of the database where the pipeline was created.
pipeline_nameVARCHARName of the pipeline.
loading_modeVARCHARSpecifies whether the pipeline runs in a one-time (BATCH) or continuous (CONTINUOUS) way.
source_typeVARCHARSource of the data (S3, KAFKA, FILESYSTEM).
statusVARCHARStatus of the pipeline (RUNNING, STOPPED, COMPLETED, FAILED).
data_formatVARCHARStructure of the data (DELIMITED, CSV, JSON, PARQUET).
table_namesVARCHAR[]An array of fully-qualified table names where the pipeline loads data.
created_atTIMESTAMPTimestamp of when the pipeline was created.
altered_atTIMESTAMPTimestamp that indicates when the pipeline was last altered.
creator_idUUIDUniversally Unique IDentifier (UUID) of the creator of the pipeline.

information_schema.reserved_words

The reserved_words view shows all reserved words in the system.
Column NameColumn TypeColumn Description
reserved_wordVARCHARA word that is a reserved keyword for use by Ocient.

information_schema.schemata

The schemata view shows information for all schemas in the system.
Column NameColumn TypeColumn Description
schema_nameVARCHARName of the schema.
catalog_nameVARCHARName of the database.

information_schema.table_privileges

The table_privileges view shows information for all table privileges in the system.
Column NameColumn TypeColumn Description
grantorVARCHARThe user who granted this privilege.
granteeVARCHARThe user who received this privilege.
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
privilege_typeVARCHARThe privilege for the grant.
is_grantableVARCHARWhether the user can grant this privilege to another user.

information_schema.table_storage

The tables_storage view shows information about the storage used by tables.
Column NameColumn TypeColumn Description
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
row_countBIGINTThe number of rows in the table.
deleted_row_countBIGINTThe number of deleted rows in the table.
segment_countBIGINTThe number of segments that constitute the table.
sizeBIGINTThe size of the table in bytes.

information_schema.tables

The tables view shows information for all tables and views in the system, including user-defined and system objects.
Column NameColumn TypeColumn Description
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
table_typeVARCHARType of the table.
is_insertable_intoVARCHARWhether an INSERT command can target this table.
created_atTIMESTAMPTimestamp that represents when the table was created.
creator_idUUIDUniversally Unique IDentifier (UUID) of the creator of the table.

information_schema.users

The users view shows all users in the system.
Column NameColumn TypeColumn Description
database_nameVARCHARName of the database.
user_nameVARCHARUsername of the user.

information_schema.views

The views view shows information for all user-defined and system views in the system.
Column NameColumn TypeColumn Description
table_catalogVARCHARName of the database.
table_schemaVARCHARName of the schema.
table_nameVARCHARName of the table.
view_definitionVARCHARQuery used to generate the view content.
created_atTIMESTAMPTimestamp that represents the date and time for the creation of the view.
updated_atTIMESTAMPTimestamp that represents the date and time for the last update of the view.
creator_idUUIDUniversally Unique IDentifier (UUID) of the creator of the view.

SHOW Commands

The SHOW commands are additional commands you can use to retrieve metadata about the system. These commands are tightly coupled with the information_schema schema and offer a more user-friendly syntax alternative. Sometimes, unlike their information_schema counterparts, SHOW commands only return user-defined objects.
SHOW CommandDescription
SHOW COLUMNSThis statement returns columns from user-defined tables and views where the current user has access.
SHOW DATA_TYPESThis statement returns all data types in the system.
SHOW DATABASESThis statement returns all databases where the current user has access.
SHOW GEOMETRY_COLUMNSThis statement returns all geometry type columns where the current user has access.
SHOW GROUPSThis statement returns all groups in the system where the current user has read access.
SHOW INDEXESThis statement returns all indexes on user-defined tables where the current user has access.
SHOW NODESThis statement returns all nodes in the system where the current user has read access.
SHOW PIPELINE_STATUSThis statement returns the status of all pipelines in the system where the current user has read access.
SHOW PIPELINESThis statement returns all pipelines in the system where the current user has read access.
SHOW RESERVED_WORDSThis statement returns all reserved words in the system.
SHOW SCHEMATAThis statement returns all user-defined schemas where the current user has access.
SHOW SYSTEM TABLESThis statement returns all system tables in the sys or information_schema schemas.
SHOW TABLE_PRIVILEGESThis statement returns all table privileges for tables where the current user has access.
SHOW TABLESThis statement returns all user-defined tables where the current user has access.
SHOW USERSThis statement returns all users in the system where the current user has read access.
SHOW VIEWSThis statement returns all user-defined views where the current user has access.
SQL Reference Database Administration System Catalog
Last modified on May 27, 2026