Skip to main content
The system catalog exposes read-only virtual tables that contain metadata about the system.

Alphabetical List of Tables

  • sys.active_operator_instances
  • sys.addendum_directories
  • sys.association_rules_models
  • sys.average_bb_sizes
  • sys.average_column_sizes
  • sys.channel_endpoint_parameters
  • sys.clusters
  • sys.column_cardinalities
  • sys.column_distributions
  • sys.columns
  • sys.columns_compression_info
  • sys.completed_operator_instances
  • sys.completed_queries
  • sys.compute_configurations
  • sys.config
  • sys.connectivity_pool_participants
  • sys.connectivity_pools
  • sys.data_usage_by_file_type_and_table
  • sys.databases
  • sys.decision_tree_models
  • sys.degraded_segment_groups
  • sys.degraded_segment_groups_by_table
  • sys.effective_merge_policy_per_table
  • sys.feedforward_network_models
  • sys.function_signatures
  • sys.functions
  • sys.gaussian_mixture_models
  • sys.global_map_table_info
  • sys.group_roles
  • sys.groups
  • sys.index_advisor_enabled
  • sys.index_advisors
  • sys.index_columns
  • sys.index_recommendations
  • sys.index_usage
  • sys.indexes
  • sys.k_means_models
  • sys.k_nearest_neighbors_models
  • sys.linear_combination_regression_models
  • sys.linear_discriminant_analysis_models
  • sys.load_errors
  • sys.load_events
  • sys.locations
  • sys.locks
  • sys.logistic_regression_models
  • sys.lts_cluster_info
  • sys.machine_learning_model_options
  • sys.machine_learning_models
  • sys.metric_levels
  • sys.multiple_linear_regression_models
  • sys.naive_bayes_models
  • sys.network_interface_models
  • sys.network_interface_usage_types
  • sys.node_clusters
  • sys.node_config
  • sys.node_network_interfaces
  • sys.node_status
  • sys.nodes
  • sys.nodes_with_unhealthy_stored_segments
  • sys.nonlinear_regression_models
  • sys.oidc_integrations
  • sys.oidc_sessions
  • sys.op_inst_debug_info
  • sys.orphaned_segments
  • sys.osn_acquisitions
  • sys.pipeline_errors
  • sys.pipeline_events
  • sys.pipeline_files
  • sys.pipeline_functions
  • sys.pipeline_metrics
  • sys.pipeline_metrics_info
  • sys.pipeline_partitions
  • sys.pipeline_tables
  • sys.pipeline_tasks
  • sys.pipelines
  • sys.plans
  • sys.polynomial_regression_models
  • sys.principal_component_analysis_models
  • sys.privileges
  • sys.procedures
  • sys.queries
  • sys.random_forest_models
  • sys.reserved_words
  • sys.result_cache
  • sys.rights
  • sys.roles
  • sys.scheduled_tasks
  • sys.security_integrations
  • sys.security_settings
  • sys.segment_directories
  • sys.segment_group_transfers
  • sys.segment_groups
  • sys.segment_groups_merge_eligible_per_table
  • sys.segment_part_inventory
  • sys.segment_part_redundancy_info
  • sys.segment_parts
  • sys.segments
  • sys.segments_compression_info
  • sys.service_classes
  • sys.service_classes_for_user
  • sys.service_role_channel_endpoints
  • sys.service_role_status
  • sys.service_roles
  • sys.sessions
  • sys.simple_linear_regression_models
  • sys.sql_messages
  • sys.stats_files
  • sys.storage_capacity
  • sys.storage_device_files
  • sys.storage_device_metrics
  • sys.storage_device_status
  • sys.storage_scopes
  • sys.storage_spaces
  • sys.storage_used
  • sys.stored_leaf_segment_part_inventory
  • sys.stored_segments
  • sys.subtasks
  • sys.support_vector_machine_models
  • sys.system_information
  • sys.system_table_columns
  • sys.system_tables
  • sys.table_cardinalities
  • sys.tables
  • sys.tasks
  • sys.tkt_table_clustering_column_indices
  • sys.tkt_table_info
  • sys.user_groups
  • sys.user_mappings
  • sys.user_roles
  • sys.users
  • sys.vector_autoregression_models
  • sys.view_columns
  • sys.views
  • sys.vl_columns_compression_info

Alphabetical List of Categories

  • Configuration
  • Connectivity Pools
  • Databases
  • Loading
  • Machine Learning
  • Monitoring
  • Network
  • Pipelines
  • Security
  • Security Integrations
  • Statistics
  • Storage
  • System
  • System Information
  • User Management
  • Workload Management

Catalog Table Details

Configuration

sys.config

This table contains all configuration overrides applied on the system.
Column NameColumn TypeColumn Description
scope_typeCHARType of the scope.
scope_idUUIDUniversally Unique IDentifier (UUID) of the storage scope where this override applies.
keyCHARString that represents the configuration parameter.
valueCHARValue for the configuration parameter key.

sys.node_config

This table contains the effective node configuration for all nodes in the system.
Column NameColumn TypeColumn Description
node_idUUIDUniversally Unique IDentifier (UUID) of the node where this configuration exists (sys.nodes).
keyCHARString that represents the configuration parameter.
valueCHARValue for the configuration parameter key.

Connectivity Pools

sys.connectivity_pool_participants

This table contains the connectivity pool participants and their information.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the connectivity pool that contains the participant.
node_idUUIDUUID of the participant node.
created_atTIMESTAMPTimestamp that indicates the creation of the connectivity pool participant.
updated_atTIMESTAMPTimestamp that indicates the last update of the connectivity pool participant.
listen_addressCHARAddress where the participant node listens.
listen_portINTPort number where the participant node listens.
advertised_addressCHARAddress that the participant node advertises to the client.
advertised_portINTOptional port number that the participant node advertises to the client.
openapi_portINTOptional port number where the API, written according to the OpenAPI Specification (OAS), listens.

sys.connectivity_pools

This table contains the connectivity pools and their information (excluding participants).
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the connectivity pool.
nameCHARName of the connectivity pool.
created_atTIMESTAMPTimestamp that indicates the creation of the connectivity pool.
updated_atTIMESTAMPTimestamp that indicates the last update of the connectivity pool.
source_addressCHARSource address in CIDR notation for the connectivity pool.
source_portINTOptional source port of the connectivity pool.
priorityINTPriority of the connectivity pool.
sso_integration_nameCHARName of the default SSO security integration for the connectivity pool.

Databases

sys.columns

This table contains all columns in each table in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the column.
nameCHARName of the column.
data_typeCHARData type of the column (INT, CHAR, BOOLEAN, etc.).
positionINTPosition of the column in its table.
table_idUUIDUUID of the table that contains this column (sys.tables).
nullableBOOLEANSpecifies whether the values in this column can be NULL.
default_expressionCHARDefault value of this column when the value is unspecified.
descriptionCHARDescription of the column.
ordinalLONGOrdinal of the column with respect to its table.
gdc_typeCHARType of GDC applied to this column.
potential_indexBOOLEANSpecifies whether the column is a potential index.

sys.databases

This table contains all databases defined in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the database.
nameCHARName of the database.
created_atTIMESTAMPTimestamp that specifies when the database was created.
user_can_view_all_queriesBOOLEANCurrent user can view all queries made in this database

sys.functions

This table contains all of the user-defined functions in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the user-defined function.
schemaCHARSchema of the user-defined function.
nameCHARName of the user-defined function.
sql_expressionCHARFor SQL user-defined functions, this is the expression that defines the function.
database_idUUIDUUID of the database of this user-defined function (sys.databases).
created_atTIMESTAMPTimestamp of when this user-defined function was created.
updated_atTIMESTAMPTimestamp of when this user-defined function was last updated.
languageCHARLanguage that the user-defined function is written in.
function_typeCHARFor non-SQL user-defined functions, the type of function being defined.
filenameCHARFor non-SQL user-defined functions, the name of the file containing the user-defined function code.
function_name_in_external_codeCHARFor non-SQL user-defined functions, the name of the Java or Python function or method that defines the user-defined function.
return_typeCHARFor non-SQL user-defined functions, the return type of the user-defined function.

sys.global_map_table_info

This table contains the global dictionary compression (GDC) details associated with each compressed column.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).
compressed_sizeINTCompressed column size (in bytes).
max_countLONGMaximum amount of unique column values allowed in the column.
current_countLONGCurrent amount of unique column values in the column.

sys.index_advisor_enabled

This table contains all tables and databases where the index advisor is currently enabled.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the table or database.
nameCHARName of the table or database.
object_typeCHARDetermines whether this object is a database or table.

sys.index_advisors

This table contains raw index advisor information.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table for the potential index (sys.tables).
column_idUUIDUUID that represents the column (sys.columns).
table_nameCHARName of the table.
column_nameCHARName of the column.
index_typeCHARType of the potential index.
query_idUUIDUUID that represents the query.
query_timeTIMESTAMPA UNIX timestamp that represents when the query executed.
sqlCHARThe SQL statement to use for creating this index.

sys.index_columns

This table contains the index settings applied to each column.
Column NameColumn TypeColumn Description
index_idUUIDUniversally Unique IDentifier (UUID) that represents the index (sys.indexes).
column_idUUIDUUID that represents the column (sys.columns).
ordinalINTOrdinal of the column in the index structure.
tuple_elementCHARSpecifies the name of the component column that the index applies to if the index exists on a tuple column.
ascendingBOOLEANIndicates whether the values in this column are built in ascending order.
column_ordinalLONGOrdinal position of this column in the source table.

sys.index_recommendations

This table contains index recommendations.
Column NameColumn TypeColumn Description
table_nameCHARName of the table.
column_nameCHARName of the column.
sqlCHARThe SQL statement to use for creating this index.
usage_countLONGNumber of times this index would be used.

sys.index_usage

This table contains index usage information.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table where the index is located.
index_idUUIDUUID of the index.
segment_idUUIDUUID of the segment with the index.
query_idUUIDUUID of the query that could have used the index.
was_usedBOOLEANWhether or not the index was used.

sys.indexes

This table contains all indexes defined on tables.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the index.
nameCHARName of the index.
index_typeCHARType of the index.
table_idUUIDUUID of the table for the index (sys.tables).
index_useCHARIntended use for the index by the system.
ngram_sizeINTSize of each N-gram (in bytes).
enabledBOOLEANWhether the index is enabled on this table.

sys.locations

This table contains all of the external table providers.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the location.
nameCHARName of the location.
remote_infoCHARRemote information that defines how to talk to the external table provider.
database_idUUIDUUID of the database of this location (sys.databases).
created_atTIMESTAMPTimestamp that represents when this location was created.
updated_atTIMESTAMPTimestamp that represents when this location was last updated.

sys.procedures

This table contains all of the stored procedures in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the stored procedure.
schemaCHARSchema of the stored procedure.
nameCHARName of the stored procedure.
database_idUUIDUUID of the database of this stored procedure (sys.databases).
created_atTIMESTAMPTimestamp of when this stored procedure was created.
updated_atTIMESTAMPTimestamp of when this stored procedure was last updated.
languageCHARLanguage that the stored procedure is written in.
filenameCHARThe name of the file that the database should load when it needs this stored procedure.
function_nameCHARThe name of the function to execute to execute the stored procedure.

sys.tables

This table contains all tables defined in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
nameCHARName of the table.
schemaCHARName of the schema.
database_idUUIDUUID of the database (sys.databases).
storage_space_idUUIDUUID of the storage space (sys.storage_spaces).
maximum_segment_size_gibINTMaximum size of a segment for the table in GiB.
descriptionCHARDetailed description of the table.
streamloader_property_stringCHARAdditional properties assigned to control the stream loading behavior for the table.
lts_property_stringCHARAdditional properties assigned to control the Foundation role (formerly “lts role”) behavior for the table.
created_atTIMESTAMPTimestamp that represents when the table was created.
altered_atTIMESTAMPTimestamp that represents when the table’s structure was last modified via DDL.
rolehostd_versionCHARThe rolehostd version in which this table was created
software_compatible_versionINTThe rolehostd version this table is compatible with.
creator_idUUIDThe UUID of the user or group who created the table (sys.users).

sys.tkt_table_clustering_column_indices

This table contains the columns defined as part of a clustering index.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).

sys.tkt_table_info

This table contains the columns that are defined as the time key on each user-defined table and the size of the time bucket in use.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
time_column_idUUIDUUID of the column that represents the time column on the table (sys.columns).
time_bucket_widthLONGTime bucket width used to segment data in nanoseconds.

sys.user_mappings

This table contains user mappings for locations.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the user mapping.
nameCHARName of the user mapping.
local_useridCHARLocal user identifier.
remote_useridCHARRemote user identifier.
location_idUUIDUUID of the location for this user mapping.
database_idUUIDUUID of the database for this user mapping (sys.databases).
created_atTIMESTAMPTimestamp that represents when this user mapping was created.
updated_atTIMESTAMPTimestamp that represents when this user mapping was last updated.
remote_passwordCHARPassword for the remote user identifier.

sys.view_columns

This table contains all columns in each view in the system.
Column NameColumn TypeColumn Description
idUUIDThe Universally Unique IDentifier (UUID) of the column.
nameCHARThe name of the column.
data_typeCHARThe data type of the column.
view_idUUIDThe UUID of the view this column comes from.
nullableBOOLEANWhether or not this column is nullable.
default_expressionCHARThe default expression of this column, if it exists.
ordinalLONGThe ordinal of this column.

sys.views

This table contains all user-defined database views created on the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the view.
nameCHARName of the view.
database_idUUIDUUID of the database (sys.databases).
schemaCHARSchema name where the view exists.
queryCHARQuery used to generate the view content.
descriptionCHARDetailed description of the view.
global_dictionary_compression_table_idUUIDUUID of the table with the GDC column (sys.tables).
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_idUUIDThe UUID of the user or group who created the view (sys.users/sys.groups).

Loading

sys.load_errors

The load_errors view shows information for the load errors in the system.
Column NameColumn TypeColumn Description
loader_idUUIDThe unique identifier of the Loader Node (sys.nodes).
table_idUUIDIf the event is specific to a table, the unique identifier of the table (sys.tables).
error_messageCHARThe message that provides more details about the error.
timestampTIMESTAMPThe timestamp that represents when this error occurred.
scope_idUUIDIf the error is specific to a storage scope, the unique identifier of the scope, which might be the identifier of the query for the results (sys.queries).

sys.load_events

The load_events view shows information for the load events in the system.
Column NameColumn TypeColumn Description
loader_idUUIDThe unique identifier of the Loader Node (sys.nodes).
table_idUUIDIf the event is specific to a table, the unique identifier of the table (sys.tables).
event_typeCHARThe type of the event.
event_messageCHARThe message that provides more details about the event.
event_timestampTIMESTAMPThe timestamp that represents when this event occurred.
scope_idUUIDIf the error is specific to a storage scope, the unique identifier of the scope, which might be the identifier of the query for the results (sys.queries).

Machine Learning

sys.association_rules_models

This table contains the name of the snapshot table for an association rules model.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
num_argumentsINTNumber of arguments in the machine learning model data.
table_nameCHARName of the snapshot table.

sys.decision_tree_models

This table contains all model parameters for Decision Tree Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
case_statementCHARThe case statement that defines the decision tree.
case_statement_confidenceCHARThe case statement that defines the decision tree and returns confidences.
num_argumentsINTNumber of arguments in the machine learning model data.
correctly_classifiedDOUBLEPercentage of training data that the decision tree model correctly classifies.
area_under_rocDOUBLEArea under the ROC curve of the decision tree model.

sys.feedforward_network_models

This table contains all model parameters for Feedforward Neural Network Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the feedforward network model.
num_argumentsINTNumber of arguments in the machine learning model data.
average_lossDOUBLEAverage value of the loss function.

sys.gaussian_mixture_models

This table contains all model parameters for Gaussian Mixture Models.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the Gaussian Mixture Model.
num_distributionsINTNumber of distributions in the Gaussian Mixture Model.
average_lossDOUBLEAverage value of the loss function.

sys.k_means_models

This table contains all model parameters for K-Means Clustering Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
centroidsARRAY(DOUBLE)Values that represent the centroid values of each cluster.
num_argumentsINTNumber of arguments in the machine learning model data.
meansARRAY(DOUBLE)Means of each of the feature columns in the data.
standard_deviationsARRAY(DOUBLE)Standard deviations of each of the feature columns in the data.

sys.k_nearest_neighbors_models

This table contains the number of arguments and the target table for K-Nearest Neighbors Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
num_argumentsINTNumber of arguments in the machine learning model data.
table_nameCHARName of the target table for the K Nearest Neighbors (KNN) model.
correctly_classifiedDOUBLEPercentage of training data that is correctly classified by the KNN model.
meansARRAY(DOUBLE)Means of each of the feature columns in the data.
standard_deviationsARRAY(DOUBLE)Standard deviations of each of the feature columns in the data.

sys.linear_combination_regression_models

This table contains all model parameters for Linear Combination Regression Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of model coefficients associated with the regression.
y_interceptDOUBLEy-intercept of the regression.
coefficient_of_determinationDOUBLER^2 value of the regression, if calculated, otherwise NULL.
num_argumentsINTNumber of arguments in the machine learning model data.
rmseDOUBLERoot mean square error of the regression.
adjusted_r2DOUBLEAdjusted R^2 value of the regression.

sys.linear_discriminant_analysis_models

This table contains all model parameters for Linear Discriminant Analysis (LDA) Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the LDA model.
num_featuresINTNumber of features returned by the LDA model.
importanceARRAY(DOUBLE)Importance of each of the output features that represent the data.

sys.logistic_regression_models

This table contains all model parameters for Logistic Regression Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the logistic regression model.
correctly_classifiedDOUBLEPercentage of training data that is correctly classified by the logistic regression.
num_argumentsINTNumber of arguments in the machine learning model data.
zero_caseCHARThe case where the logistic regression uses a value of 0.
one_caseCHARThe case where the logistic regression uses a value of 1.
classesARRAY(CHAR)Target classes for the logistic regression.

sys.machine_learning_model_options

This table contains options defined for each machine learning model. The database stores these options as key-value pairs.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUUID of the machine learning model (sys.machine_learning_models).
machine_learning_model_keyCHARMachine learning model configuration option key.
machine_learning_model_valueCHARMachine learning model configuration option value.

sys.machine_learning_models

This table contains the machine learning models that are defined in the database.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the machine learning model.
nameCHARName of the machine learning model.
schemaCHARSchema of the machine learning model.
machine_learning_model_typeCHARType of the machine learning model.
database_idUUIDUUID of the database that contains the machine learning model definition (sys.databases).
on_selectCHARThe SELECT SQL statement used to create this model.
creator_idUUIDThe UUID of the user or group who created the machine learning model (sys.users/sys.groups).

sys.multiple_linear_regression_models

This table contains the y-intercept and coefficient of determination values for the multiple linear regression machine learning models.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
y_interceptDOUBLEy-intercept of the regression.
coefficient_of_determinationDOUBLER^2 value of the regression, if calculated, otherwise NULL.
rmseDOUBLERoot mean square error of the regression.
adjusted_r2DOUBLEAdjusted R^2 value of the regression.
slopesARRAY(DOUBLE)Slopes for each variable in the regression.

sys.naive_bayes_models

This table contains all model parameters for Naive Bayes Classification Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
num_argumentsINTNumber of arguments in the machine learning model data.
result_probability_tableCHARName of the internal result probability table.
feature_result_matrix_tableCHARName of the internal feature result matrix table.
correctly_classifiedDOUBLEPercentage of training data that is correctly classified by the Naive Bayes model.

sys.nonlinear_regression_models

This table contains all model parameters for Nonlinear Regression Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the nonlinear regression model.
coefficient_of_determinationDOUBLER^2 value of the regression, if calculated, otherwise NULL.
num_argumentsINTNumber of arguments in the machine learning model data.
rmseDOUBLERoot mean square error of the regression.
adjusted_r2DOUBLEAdjusted R^2 value of the regression.

sys.polynomial_regression_models

This table contains all model parameters for Polynomial Regression Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of model coefficients associated with the polynomial regression model.
y_interceptDOUBLEy-intercept of the regression.
coefficient_of_determinationDOUBLER^2 value of the regression, if calculated, otherwise NULL.
num_argumentsINTNumber of arguments in the machine learning model data.
rmseDOUBLERoot mean square error of the regression.
adjusted_r2DOUBLEAdjusted R^2 value of the regression.

sys.principal_component_analysis_models

This table contains all model parameters for Principal Component Analysis (PCA) Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the PCA model.
num_featuresINTNumber of features returned by the PCA model.
importanceARRAY(DOUBLE)Importance of each of the output features that represents the data.
meansARRAY(DOUBLE)Means of each of the feature columns in the data.
standard_deviationsARRAY(DOUBLE)Standard deviations of each of the feature columns in the data.

sys.random_forest_models

This table contains all model parameters for Random Forest Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
vote_expressionCHARThe vote expression that retrieves information from the child decision trees.
vote_expression_confidenceCHARThe vote expression that retrieves information from the child decision trees and returns confidences.
num_argumentsINTNumber of arguments in the machine learning model data.
num_childrenINTNumber of child trees in the forest.
correctly_classifiedDOUBLEPercentage of training data that the random forest model correctly classifies.
area_under_rocDOUBLEArea under the ROC curve of the random forest model.

sys.simple_linear_regression_models

This table contains the slope, y-intercept, and coefficient of determination values for single linear regression machine learning models.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
slopeDOUBLESlope of the regression.
y_interceptDOUBLEThe y-intercept of the regression.
coefficient_of_determinationDOUBLER^2 value of the regression, if calculated, otherwise NULL.
rmseDOUBLERoot mean square error of the regression.
adjusted_r2DOUBLEAdjusted R^2 value of the regression.

sys.support_vector_machine_models

This table contains all model parameters for Support Vector Machine (SVM) Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the SVM model.
correctly_classifiedDOUBLEPercentage of training data that is correctly classified by the SVM model.
num_argumentsINTNumber of arguments in the machine learning model data.
negative_caseCHARCase when the SVM model classifies data as negative.
positive_caseCHARCase when the SVM model classifies data as positive.
classesARRAY(CHAR)Target classes for the SVM model.

sys.vector_autoregression_models

This table contains all model parameters for Vector Autoregression Models in the system.
Column NameColumn TypeColumn Description
machine_learning_model_idUUIDUniversally Unique IDentifier (UUID) of the machine learning model (sys.machine_learning_models).
coefficientsARRAY(DOUBLE)List of coefficients associated with the vector autoregression model.
coefficient_of_determinationDOUBLER^2 value of the autoregression, if calculated, otherwise NULL.

Monitoring

sys.active_operator_instances

This table contains information about operator instances that are active in the database.
Column NameColumn TypeColumn Description
query_idUUIDA unique identifier of the query to which the operator belongs.
operator_idUUIDA unique identifier of the finalized operator.
node_idUUIDThe unique identifier of the node that stores the information about this operator.
silo_idLONGThe unique identifier of the silo that stores the information about this operator.
core_idLONGThe unique identifier of the virtual machine core that stores the information about this operator.
op_runtime_idLONGThe unique identifier for the operator instance that the system assigns at runtime.
op_instance_typeCHARThe name of the type for this operator instance.
bloom_filtered_rowsLONGThe rows filtered by Bloom filters.
rows_receivedLONGThe number of rows fetched by the operator instance.
rows_processedLONGThe number of rows processed by this operator instance during execution.
rows_emittedLONGThe number of rows returned by the operator instance.
blocks_emittedLONGThe number of data blocks returned by the operator instance.
first_block_receive_timeTIMESTAMPThe timestamp that specifies the return of the first data block.
first_block_emitted_timeTIMESTAMPThe timestamp that specifies the return of the first data block.
num_cyclesLONGThe number of cycles that run on this operator instance.
num_oom_cyclesLONGThe number of run cycles that an operator received for processing out-of-memory issues.
num_failed_oom_cyclesLONGThe number of out-of-memory cycles received that failed to do any work.
num_no_work_oom_cyclesLONGThe number of out-of-memory cycles received that reported they had no work to do.
run_countLONGThe number of times that the scheduler has reviewed this operator and isRunnable is set to true.
no_work_cyclesLONGThe number of times that the read and write cycle executed and performed no work.
backed_up_cyclesLONGThe number of times a cycle stopped because a backup of the parent exists.
leaf_branch_blocked_cyclesLONGThe number of times a cycle stopped on a leaf operator because of multi-child scheduling heuristics.
num_eof_cyclesLONGThe number of end-of-file cycles received.
normal_run_time_in_msDOUBLEThe time, in milliseconds, of the normal run for the operator instance.
dispatch_queue_time_in_msDOUBLEThe time spent, in milliseconds, processing incoming message events for the operator instance.
oom_run_time_in_msDOUBLEThe time, in milliseconds, of the out-of-memory issue for the operator instance.
max_hp_mem_usageLONGThe maximum heap memory usage by the operator instance.
num_blocks_writtenLONGThe number of data blocks written to temporary disk.
num_blocks_readLONGThe number of data blocks read from temporary disk.
num_fragments_writtenLONGThe number of written memory fragments.
num_fragments_readLONGThe number of read memory fragments.
cycles_over_1_secLONGThe count of cycles that ran over 1 second for this operator instance.
cycles_over_3_secLONGThe count of cycles that ran over 3 seconds for this operator instance.
long_dispatch_queue_eventsLONGThe count of dispatch queue events processed by the operator with a runtime greater than 0.5 seconds.
total_bin_stream_allocated_bytesLONGThe total amount of memory allocated in output blocks for variable-length column data.
total_bin_stream_used_bytesLONGThe total amount of memory used in output blocks for variable-length column data.
total_col_stream_allocated_bytesLONGThe total amount of memory allocated in output blocks for fixed-length column data.
total_col_stream_used_bytesLONGThe total amount of memory used in output blocks for fixed-length column data.
blocked_receivedLONGThe total number of input data blocks received by this operator instance.
blocked_createdLONGThe total number of non-trivial output data blocks created by this operator instance.
received_block_bin_stream_unused_space_bytesLONGThe total amount of wasted space across all binary streams in received data blocks (includes over-allocations as well as projected columns and dead memory). This number is NULL unless configuration parameters allow recording this statistic for each block because the calculation is expensive.
received_block_col_stream_unused_space_bytesLONGThe total amount of wasted space across all column streams in received data blocks (includes over-allocations as well as projected columns and dead memory). This number is NULL unless configuration parameters allow recording this statistic for each block because the calculation is expensive.
mandatory_alloc_attemptsLONGThe count of cycles where the scheduler enabled mandatory allocation.
mandatory_alloc_success_countLONGThe count of cycles where the scheduler enabled mandatory allocation and this operator broke an out-of-memory deadlock.
max_num_pending_blocksLONGThe maximum number of pending blocks across all partitions during the lifetime of this operator.
max_num_consecutive_backup_cyclesLONGThe maximum number of consecutive scheduler cycles where this operator has a backup. The scheduler can use this information to help detect certain resource deadlocks.
longest_time_since_unblocked_cycleLONGThe maximum time between successful attempts to run this operator from the scheduler. The scheduler can use this information to help detect certain resource deadlocks.
compiled_levelLONGThe level within a hierarchy of distinct operators to execute. A single plan operator can be compiled into this hierarchy.
additional_jsonCHARAdditional statistics for an operator instance in JSON format.
num_bloom_filters_sentLONGThe number of Bloom filters the operator sent to its peers.
num_bloom_filters_receivedLONGThe number of Bloom filters the operator received from its peers.
num_key_lists_sentLONGThe number of potential index join key lists the operator sent to its peers.
num_key_lists_receivedLONGThe number of potential index join key lists the operator received from its peers.
max_hash_table_rowsLONGThe maximum number of rows present in any hash table used by this operator instance.
plan_operator_estimated_output_cardinalityLONGThe number of rows the optimizer estimated for this plan operator to emit.
num_delayed_exceptions_generatedLONGThe number of rows this operator generated with delayed exception information.
num_pending_blocks_spilledLONGThe number of queued pending data blocks this operator spilled to disk.
max_normal_cycle_time_msDOUBLEThe time, in milliseconds, of the longest normal run cycle for the operator instance.
max_oom_cycle_time_msDOUBLEThe time, in milliseconds, of the longest out-of-memory run cycle for the operator instance.
num_rows_received_per_plan_childARRAY(LONG)The number of rows this operator received from each of its children in the plan.
is_runnableBOOLEANWhether the operator has available data to process.
current_num_pending_blocksLONGThe current number of pending blocks across all partitions of this operator.

sys.completed_operator_instances

This table contains information about operator instances that have finalized in the virtual machine.
Column NameColumn TypeColumn Description
database_nameCHARThe database associated with the query to which the operator belongs.
user_nameCHARThe user associated with the query to which the operator belongs.
query_idUUIDA unique identifier of the query to which the operator belongs.
operator_idUUIDA unique identifier of the finalized operator.
node_idUUIDThe unique identifier of the node that stores the information about this operator.
silo_idLONGThe unique identifier of the silo that stores the information about this operator.
core_idLONGThe unique identifier of the virtual machine core that stores the information about this operator.
op_runtime_idLONGThe unique identifier for the operator instance that the system assigns at runtime.
op_instance_typeCHARThe name of the type for this operator instance.
bloom_filtered_rowsLONGThe rows filtered by Bloom filters.
rows_receivedLONGThe number of rows fetched by the operator instance.
rows_processedLONGThe number of rows processed by this operator instance during execution.
rows_emittedLONGThe number of rows returned by the operator instance.
blocks_emittedLONGThe number of data blocks returned by the operator instance.
finalization_timeTIMESTAMPThe timestamp that represents when the operator completed all work.
first_block_receive_timeTIMESTAMPThe timestamp that specifies the receipt of the first data block.
first_block_emitted_timeTIMESTAMPThe timestamp that specifies the return of the first data block.
num_cyclesLONGThe number of cycles that run on this operator instance.
num_oom_cyclesLONGThe number of run cycles that an operator received for processing out-of-memory issues.
num_failed_oom_cyclesLONGThe number of out-of-memory cycles received that failed to do any work.
num_no_work_oom_cyclesLONGThe number of out-of-memory cycles received that reported they had no work to do.
run_countLONGThe number of times that the scheduler has reviewed this operator and isRunnable is set to true.
no_work_cyclesLONGThe number of times that the read and write cycle executed and performed no work.
backed_up_cyclesLONGThe number of times a cycle stopped because a backup of the parent exists.
leaf_branch_blocked_cyclesLONGThe number of times a cycle stopped on a leaf operator because of multi-child scheduling heuristics.
num_eof_cyclesLONGThe number of end-of-file cycles received.
normal_run_time_in_msDOUBLEThe time, in milliseconds, of the normal run for the operator instance.
dispatch_queue_time_in_msDOUBLEThe time spent, in milliseconds, processing incoming message events for the operator instance.
oom_run_time_in_msDOUBLEThe time, in milliseconds, of the out-of-memory issue for the operator instance.
max_hp_mem_usageLONGThe maximum heap memory usage by the operator instance.
num_blocks_writtenLONGThe number of data blocks written to temporary disk.
num_blocks_readLONGThe number of data blocks read from temporary disk.
num_fragments_writtenLONGThe number of written memory fragments.
num_fragments_readLONGThe number of read memory fragments.
cycles_over_1_secLONGThe count of cycles that ran over 1 second for this operator instance.
cycles_over_3_secLONGThe count of cycles that ran over 3 seconds for this operator instance.
long_dispatch_queue_eventsLONGThe count of dispatch queue events processed by the operator with a runtime greater than 0.5 seconds.
total_bin_stream_allocated_bytesLONGThe total amount of memory allocated in output blocks for variable-length column data.
total_bin_stream_used_bytesLONGThe total amount of memory used in output blocks for variable-length column data.
total_col_stream_allocated_bytesLONGThe total amount of memory allocated in output blocks for fixed-length column data.
total_col_stream_used_bytesLONGThe total amount of memory used in output blocks for fixed-length column data.
blocked_receivedLONGThe total number of input data blocks received by this operator instance.
blocked_createdLONGThe total number of non-trivial output data blocks created by this operator instance.
received_block_bin_stream_unused_space_bytesLONGThe total amount of wasted space across all binary streams in received data blocks (includes over-allocations as well as projected columns and dead memory). This number is NULL unless configuration parameters allow recording this statistic for each block because the calculation is expensive.
received_block_col_stream_unused_space_bytesLONGThe total amount of wasted space across all column streams in received data blocks (includes over-allocations as well as projected columns and dead memory). This number is NULL unless configuration parameters allow recording this statistic for each block because the calculation is expensive.
mandatory_alloc_attemptsLONGThe count of cycles where the scheduler enabled mandatory allocation.
mandatory_alloc_success_countLONGThe count of cycles where the scheduler enabled mandatory allocation and this operator broke an out-of-memory deadlock.
max_num_pending_blocksLONGThe maximum number of pending blocks across all partitions during the lifetime of this operator.
max_num_consecutive_backup_cyclesLONGThe maximum number of consecutive scheduler cycles where this operator has a backup. The scheduler can use this information to help detect certain resource deadlocks.
longest_time_since_unblocked_cycleLONGThe maximum time between successful attempts to run this operator from the scheduler. The scheduler can use this information to help detect certain resource deadlocks.
compiled_levelLONGThe level within a hierarchy of distinct operators to execute. A single plan operator can be compiled into this hierarchy.
additional_jsonCHARAdditional statistics for an operator instance in JSON format.
num_bloom_filters_sentLONGThe number of Bloom filters the operator sent to its peers.
num_bloom_filters_receivedLONGThe number of Bloom filters the operator received from its peers.
num_key_lists_sentLONGThe number of potential index join key lists the operator sent to its peers.
num_key_lists_receivedLONGThe number of potential index join key lists the operator received from its peers.
max_hash_table_rowsLONGThe maximum number of rows present in any hash table used by this operator instance.
plan_operator_estimated_output_cardinalityLONGThe number of rows the optimizer estimated for this plan operator to emit.
num_delayed_exceptions_generatedLONGThe number of rows this operator generated with delayed exception information.
num_pending_blocks_spilledLONGThe number of queued pending data blocks this operator spilled to disk.
max_normal_cycle_time_msDOUBLEThe time, in milliseconds, of the longest normal run cycle for the operator instance.
max_oom_cycle_time_msDOUBLEThe time, in milliseconds, of the longest out-of-memory run cycle for the operator instance.
num_rows_received_per_plan_childARRAY(LONG)The number of rows this operator received from each of its children in the plan.

sys.completed_queries

This table contains information about queries that finished execution in the database.
Column NameColumn TypeColumn Description
query_idUUIDA unique identifier of the query that ran.
userCHARThe name of the user that executed the query.
database_nameCHARThe name of the database that runs this query.
database_idUUIDThe unique identifier of the database this query ran in.
sqlCHARThe executed SQL statement.
sql_text_lengthLONGThe length of the SQL statement.
referenced_tablesARRAY(CHAR)The tables and views referenced by the query.
total_timeLONGThe total time in milliseconds the query took to run. This time includes generation_time, optimization_time, and execution_time.
generation_timeLONGThe time in milliseconds it took to generate the query before any processing happened.
optimization_timeLONGThe time in milliseconds the optimizer processed the query and built an optimized plan for the query.
execution_timeLONGTime in milliseconds the query was executed by the database on the LTS nodes to return the query result.
timestamp_startTIMESTAMPA timestamp that represents the point in time when the query entered the system.
parsing_timeLONGThe time in milliseconds the query was parsing.
cache_lookup_timeLONGThe time in milliseconds the query spent in lookup up matching cached result sets.
validation_timeLONGThe time in milliseconds the query was validating.
plangen_timeLONGThe time in milliseconds the query plan was being generated.
queue_timeLONGThe time in milliseconds the query was queued in the system before any processing happened.
timestamp_optimization_startTIMESTAMPA timestamp that represents the point in time when optimization of the query started.
timestamp_execution_startTIMESTAMPA timestamp that represents the point in time when execution of the query started.
tree_probe_timeLONGThe time in milliseconds taken by the VM tree probe during query execution.
vm_initialization_timeLONGTime in milliseconds the query was initializing on all participating nodes during execution.
timestamp_first_byte_sentTIMESTAMPA timestamp that represents the point in time when the first byte of the result set from the query was returned to the application.
timestamp_completeTIMESTAMPA timestamp that represents the point in time when the execution of the query completed from the client’s perspective.
timestamp_execution_completeTIMESTAMPA timestamp that represents the point in time when the internal execution of the query completed.
awaiting_client_eof_fetch_timeLONGTime in milliseconds that represents the difference between when the client fetched the eof for the query and when the eof was queued internally.
rows_returnedLONGThe number of rows returned by the query.
bytes_returnedLONGThe number of bytes returned by the query.
rows_insertedLONGThe number of rows that the query inserts. This value is NULL when the database does not insert any rows. The value is 0 when the database does not identify any rows to insert from a CREATE TABLE AS SELECT or INSERT AS SELECT SQL statement.
rows_deletedLONGThe number of rows that the query deletes. This value is NULL when the database does not delete any rows. The value is 0 when the database does not identify any rows to delete from a DELETE FROM TABLE SQL statement.
update_subquery_execution_timeLONGThe time in milliseconds taken by the virtual machine (VM) to execute a subquery that identifies the rows for insertion or deletion. This value is NULL when you execute a SQL statement that is not one of these statements: CREATE TABLE AS SELECT, INSERT AS SELECT, or DELETE FROM TABLE.
transferred_bytes_per_secondLONGThe transfer rate in bytes per second for the result set of the query.
codeINTThe SQL code returned at the end of the query.
stateCHARThe SQL state returned at the end of the query.
reasonCHARA message associated with the SQL code and SQL state.
initial_priorityDOUBLEPriority based on the service class, session, and query-level limits.
initial_effective_priorityDOUBLEinitial_priority adjusted for total cost and memory usage.
final_effective_priorityDOUBLEFinal dynamically adjusted priority.
cost_estimateDOUBLEThe cost estimate of the optimizer.
concurrency_service_class_nameCHARName of the service class this query executes in.
concurrency_service_class_idUUIDThe unique identifier of the service class used for the query.
priority_adjust_factorDOUBLEThe percentage amount by which the database adjusts the priority.
priority_adjust_timeINTHow frequently the database adjusts the priority during query execution.
cached_queryBOOLEANFlag that indicates whether the result was returned from the result set cache.
resultset_cachedBOOLEANFlag that indicates whether the result of the query was stored in the result set cache.
temp_disk_consumedLONGFlag that indicates the approximate total disk usage in bytes during query execution.
protocol_versionCHARThe version of the client-server protocol for this connection.
client_ipCHARThe IP address of the client that executed the query.
client_nameCHARThe name of the client that executed the query.
client_session_idCHARThe session id of the client that executed the query.
num_client_threadsINTThe maximum number of client threads determined by the server.
node_idUUIDThe unique identifier of the node that stores the information about this query.
participating_nodesARRAY(CHAR)The nodes that participated in the execution of this query.
ocient_db_versionCHARThe Ocient database version used to run this query.
ocient_db_commitCHARThe Ocient database git commit used to run this query.
ocient_db_dirtied_commitCHARThe dirtied Ocient database git commit used to run this query.
max_temp_disk_usageINTThe maximum temporary disk usage for this query, expressed as a percentage.
max_elapsed_timeINTThe maximum elapsed time for this query, in seconds.
max_rows_returnedLONGThe maximum number of rows this query can return.
num_root_operator_instancesINTThe number of created root operator instances.
approx_system_peak_vm_node_heap_mem_bytesLONGThe max observed heap memory in use during execution on a single non-SQL vm node. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_cluster_heap_mem_bytesLONGThe max observed heap memory in use during execution totaled across all non-SQL vm nodes. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_node_huge_mem_bytesLONGThe max observed huge page memory in use during execution on a single non-SQL vm node. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_cluster_huge_mem_bytesLONGThe max observed huge page memory in use during execution totaled across all non-SQL vm nodes. The memory in use is not necessarily associated with this query.
approx_system_peak_sql_node_heap_mem_bytesLONGThe max observed heap memory in use during execution on the sql node. The memory in use is not necessarily associated with this query.
approx_system_peak_sql_node_huge_mem_bytesLONGThe max observed huge page memory in use during execution on the sql node. The memory in use is not necessarily associated with this query.
driver_versionCHARThe version of the client driver.
join_order_optimization_timeLONGThe time, in milliseconds, the join order of the query was optimized.
join_order_optimization_algorithmCHARThe algorithm used for optimizing the join order of the query.

sys.metric_levels

This table contains settings for metric levels.
Column NameColumn TypeColumn Description
matchCHARMetric name match.
match_typeCHARThe type of match for the name of the metric.
levelCHARMetric level.
node_idUUIDThe unique node identifier for this setting. This setting might be NULL for system-wide metrics.

sys.node_status

This table contains the status of nodes in the system and the core node monitoring metrics.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node.
operational_statusCHARThe operational status of the node. Values are ACTIVE, STARTING, STOPPING, ERROR, UNKNOWN, or UNREACHABLE.
loadavg_1DOUBLEAverage load on the node over the last 1 minute. Represents the average number of processes in the system run queue.
loadavg_5DOUBLEAverage load on the node over the last 5 minutes. Represents the average number of processes in the system run queue.
loadavg_15DOUBLEAverage load on the node over the last 15 minutes. Represents the average number of processes in the system run queue.
max_rssLONGMaximum resident set size (RSS) of the process on the node in bytes.
heapLONGHeap memory allocated on the node in bytes.
software_startTIMESTAMPTimestamp for the last start of the Ocient software on the node.
system_startTIMESTAMPTimestamp for the last start of the node hardware.

sys.op_inst_debug_info

This table contains information about the debug information for the operator instance.
Column NameColumn TypeColumn Description
operator_idUUIDThe Universally Unique IDentifier (UUID) of the operator
node_idUUIDThe unique identifier of the node that stores the information about this operator.
silo_idLONGThe unique identifier of the silo that stores the information about this operator.
vm_core_idLONGThe unique identifier of the virtual machine core that stores the information about this operator.
runtime_idINTThe process-wide unique identifier of this operator instance.
keyCHARThe debug information (debugInfo) key.
valueCHARThe debugInfo value.
op_inst_typeCHARType of the operator Instance.
query_idUUIDThe UUID of the query that owns the operator.

sys.osn_acquisitions

This table contains information about client identifiers for Ownership Storage Number (OSN) acquisitions.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node.
client_idUUIDThe query identifier of the OSN acquisition.
osnLONGThe locked OSN.
acquisition_timeTIMESTAMPTimestamp that represents when the OSN was acquired.

sys.plans

This table contains information about the plan for each SQL statement. Not all SQL statements have a corresponding plan (e.g., some DDL statements, SQL statements that have failed parsing or optimization).
Column NameColumn TypeColumn Description
query_idUUIDThe unique identifier of the SQL query that executed.
userCHARThe name of the user that executed the SQL query.
database_nameCHARThe name of the database that executes this SQL query.
timestamp_startTIMESTAMPA timestamp that represents the point in time when the query entered the system.
planCHARThe plan for the SQL query.

sys.queries

This table contains information about queries that the database is currently executing.
Column NameColumn TypeColumn Description
query_idUUIDA unique identifier of the query that is currently running.
userCHARThe name of the user that executes the query.
database_nameCHARThe name of the database that runs this query.
database_idUUIDA unique identifier of the database this query is running in.
statusCHARThe statuses represent how the virtual machine (VM) tracks a specific query. The statuses are: AWAITING_SLOT (The query waits for a service class slot for optimization or execution.), OPTIMIZING (The Ocient System optimizes the query. If the system cannot optimize the query, the query skips this status and changes to the QUEUED status.), QUEUED (The system initializes the query in the VM.), RUNNING (The system executes the query in the VM, either by compiling the result from the Foundation Nodes or by fetching the results from the cache.), and FINALIZING (The query is complete.).
sqlCHARThe SQL statement that is executing.
sql_text_lengthLONGThe length of the SQL statement.
referenced_tablesARRAY(CHAR)The tables and views referenced by the query.
total_timeLONGThe total time in milliseconds the query has run. This time includes generation_time, optimization_time, and execution_time.
generation_timeLONGThe time in milliseconds the query was generated or is still generating. This number might increase if generation is in progress.
optimization_timeLONGThe time in milliseconds the optimizer processed or is still processing the query. This number might be 0 if optimization of the query has not started yet. This number might increase if optimization is in progress.
execution_timeLONGTime in milliseconds the query executes. This number might be 0 if execution of the query has not started yet. This number might increase if execution of the query is still in progress.
timestamp_startTIMESTAMPA timestamp that represents the point in time when the query entered the system.
parsing_timeLONGTime in milliseconds the query was parsing or is still parsing. This number might be 0 if parsing of the query has not started yet. This number might increase if the query is still parsing.
cache_lookup_timeLONGThe time in milliseconds the query spent in lookup up matching cached result sets.
validation_timeLONGTime in milliseconds the query was validating or is still being validated. This number might be 0 if validation of the query has not started yet. This number might increase if the query is still validating.
plangen_timeLONGTime in milliseconds the query plan was being generated or is still generating. This number might be 0 if generation of the query plan has not started yet. This number might increase if the query plan is still generating.
queue_timeLONGTime in milliseconds the query was queued or is still queuing. This number might be 0 if queuing of the query has not started yet. This number might increase if the query is still in the queue.
timestamp_optimization_startTIMESTAMPA timestamp that represents the point in time when optimization of the query started. This value might be 0 if optimization has not started yet.
timestamp_execution_startTIMESTAMPA timestamp that represents the point in time when execution of the query started. This value might be 0 if execution has not started yet.
tree_probe_timeLONGTime in milliseconds the query was in the VM tree probe stage during execution. This number might be 0 if VM tree probe has not started yet. This number might increase if the probe is still happening.
vm_initialization_timeLONGTime in milliseconds the query was initializing on all participating nodes during execution. This number might be 0 if the VM has not begin initializing the query for execution yet.
timestamp_first_byte_sentTIMESTAMPA timestamp that represents the point in time when the first byte of the result set from the query was returned to the application. This value might be 0 if execution of the query has not started yet or no bytes have been transferred yet.
rows_returnedLONGThe number of rows returned by the query. This value might be 0 if no rows have been transferred so far.
bytes_returnedLONGThe number of bytes returned by the query. This value might be 0 if no rows have been transferred so far.
rows_insertedLONGThe number of rows that the query inserts. This value is NULL when the database does not insert any rows. The value is 0 when the database does not identify any rows to insert from a CREATE TABLE AS SELECT or INSERT AS SELECT SQL statement.
rows_deletedLONGThe number of rows that the query deletes. This value is NULL when the database does not delete any rows. The value is 0 when the database does not identify any rows to delete from a DELETE FROM TABLE SQL statement.
update_subquery_execution_timeLONGThe time in milliseconds taken by the VM to execute a subquery that identifies the rows for insertion and deletion. This value is NULL when you execute a SQL statement that is not one of these statements: CREATE TABLE AS SELECT, INSERT AS SELECT, or DELETE FROM TABLE.
initial_priorityDOUBLEPriority based on the service class, session, and query level limits.
initial_effective_priorityDOUBLEinitial_priority adjusted for total cost and memory usage.
effective_priorityDOUBLECurrent dynamically adjusted priority.
estimated_timeINTThe estimate of the optimizer for the time in milliseconds to process the query.
estimated_result_rowsLONGThe estimate of the optimizer for the number of rows in the result set.
estimated_result_sizeLONGThe estimate of the optimizer for the size of the result set in bytes.
concurrency_service_class_nameCHARName of the service class this query executes in.
concurrency_service_class_idUUIDThe unique identifier of the service class used for the query.
priority_adjust_factorDOUBLEThe percentage amount by which the database adjusts the priority.
priority_adjust_timeINTHow frequently the database adjusts the priority during query execution.
cached_queryBOOLEANFlag that indicates whether the result is returned from the result set cache.
temp_disk_consumedLONGFlag that indicates the approximate total disk usage in bytes during query execution.
server_ipIPV4The IP address of the SQL node that executed the query.
protocol_versionCHARThe version of the client-server protocol for this connection.
driver_versionCHARThe version of the client driver.
client_ipCHARThe IP address of the client that executed the query.
client_nameCHARThe name of the client that executed the query.
client_session_idCHARThe session id of the client that executed the query.
num_client_threadsINTThe maximum number of client threads determined by the server.
node_idUUIDThe unique identifier of the node that provided the information about this query.
participating_nodesARRAY(CHAR)The nodes that are currently known to be participating in the execution of this query. If the query is not in the RUNNING state, this list might not include all nodes that participate.
max_temp_disk_usageINTThe maximum temporary disk usage for this query, expressed as a percentage.
max_elapsed_timeINTThe maximum elapsed time for this query, in seconds.
max_rows_returnedLONGThe maximum number of rows this query can return.
num_root_operator_instancesINTThe number of created root operator instances.
approx_system_peak_vm_node_heap_mem_bytesLONGThe max observed heap memory in use during execution on a single non-SQL vm node. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_cluster_heap_mem_bytesLONGThe max observed heap memory in use during execution totaled across all non-SQL vm nodes. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_node_huge_mem_bytesLONGThe max observed huge page memory in use during execution on a single non-SQL vm node. The memory in use is not necessarily associated with this query.
approx_system_peak_vm_cluster_huge_mem_bytesLONGThe max observed huge page memory in use during execution totaled across all non-SQL vm nodes. The memory in use is not necessarily associated with this query.
approx_system_peak_sql_node_heap_mem_bytesLONGThe max observed heap memory in use during execution on the sql node. The memory in use is not necessarily associated with this query.
approx_system_peak_sql_node_huge_mem_bytesLONGThe max observed huge page memory in use during execution on the sql node. The memory in use is not necessarily associated with this query.
join_order_optimization_timeLONGThe time, in milliseconds, the join order of the query was optimized.
join_order_optimization_algorithmCHARThe algorithm used for optimizing the join order of the query.

sys.result_cache

This table contains queries that have cached results in the system.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node that holds the cache results.
query_idUUIDThe UUID of the query.
database_idUUIDThe database of the query.
service_class_idUUIDThe UUID of the service class of the query.
timestampLONGThe timestamp in seconds after the UNIX epoch when the result set entered the cache.
timeCHARThe human-readable time when the result set entered the cache.
time_remainingLONGThe amount of time remaining in seconds before the cached result set expires.
referenced_tablesARRAY(CHAR)All referenced tables in this query.

sys.scheduled_tasks

This table contains the details of scheduled tasks in the system.
Column NameColumn TypeColumn Description
idUUIDThe scheduled task identifier.
admin_owner_idUUIDThe identifier of the node that is managing the scheduled task.
task_typeCHARThe type of the task.
execution_intervalLONGThe interval, in milliseconds, between task executions.

sys.service_role_status

This table contains the status of each service role on the system.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node.
service_role_idUUIDThe UUID of the service role (sys.service_roles).
service_role_nameCHARThe human-readable name of the service role on the node.
statusCHARThe current status of the role on this node.

sys.storage_device_metrics

This table contains monitoring metrics collected on each storage device that is controlled by Ocient.
Column NameColumn TypeColumn Description
idCHARUnique and persistent serial number of the drive. This serial number is not a Universally Unique IDentifier (UUID).
keyCHARName of the measured statistic on the drive.
valueCHARValue of the named statistic on the drive.
transientBOOLEANWhen the value is true, the value indicates that it is transient in nature and is reset when the node is restarted.
node_idUUIDThe UUID of the node that contains the storage device.

sys.storage_device_status

This table contains real-time information about the storage devices for each online node.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node that contains the storage device.
device_idINTID of the drive.
role_nameCHARThe name of the role or roles active on the node that contains the storage device.
idCHARUnique and persistent serial number of the drive. This serial number is not a UUID.
pci_addressCHARPCI address where the drive is mounted.
device_modelCHARModel information about the drive.
manufacturerCHARManufacturer information about the drive.
firmware_versionCHARFirmware version active on the drive.
capacityLONGCapacity, in bytes, of the drive.
utilizationLONGUtilization, in bytes, of the drive.
endurance_percentage_usedDOUBLEValue from 0 to 1 that represents an estimate of the percentage of the drive used, as it applies to drive endurance.
device_statusCHARHuman-readable version of the drive status. Values are ACTIVE, FAILED, or NOT PRESENT.
assigned_drive_slotsARRAY(INT)List of drive slots assigned to this device. The list may be empty if no slot are assigned to a device.
encryption_drive_locking_supportedBOOLEANIndicates whether encryption drive locking (e.g., OPAL) is enabled on the device.
encryption_drive_locking_enabledBOOLEANIndicates whether encryption drive locking (e.g., OPAL) is supported on the device.
encryption_drive_locking_statusCHARIndicates the status of drive locking (e.g., OPAL): LOCKED, or UNLOCKED. If drive locking is not supported, this value is UNLOCKED.
silo_idLONGThe unique identifier of the silo where this device is located.

sys.subtasks

This table contains the status and details of subtasks in the system.
Column NameColumn TypeColumn Description
idUUIDThe task identifier.
nameCHARThe name of the task.
task_typeCHARThe type of the task.
execution_typeCHARThe type of the task execution.
location_typeCHARThe type of the location where the task must run.
location_idCHARThe location where the task must run.
task_optionsCHARThe task arguments.
start_timeTIMESTAMPThe start time of the task.
end_timeTIMESTAMPThe end time of the task.
last_poll_timeTIMESTAMPThe last time that the task was polled for a status.
durationLONGThe duration, in milliseconds, of the task.
statusCHARThe current status of the task.
detailsCHARThe details or results of the status for the current task.
task_owner_idUUIDThe identifier of the node that is running the task.
admin_owner_idUUIDThe identifier of the node that is monitoring the task.
parent_task_idUUIDThe identifier of the parent task for the current task.
root_task_idUUIDThe identifier of the root task for the current task.
database_idUUIDThe database identifier.
parallelizationCHARThe parallelization type of the task.
stateBINARYThe internal state of the task.
scopeUUIDThe identifier of the scope for the current task.

sys.tasks

The tasks view shows the root tasks that have been started in the system.
Column NameColumn TypeColumn Description
idUUIDTask identifier
nameCHARTask name
task_typeCHARTask type
execution_typeCHARTask execution type
location_typeCHARLocation type where the task must run
location_idCHARLocation where the task must run
task_optionsCHARTask arguments
start_timeTIMESTAMPTask start time
end_timeTIMESTAMPTask end time
last_poll_timeTIMESTAMPLast time the task was polled for status
durationLONGTask duration in milliseconds
statusCHARCurrent task status
detailsCHARCurrent task status details or results
task_owner_idUUIDIdentifier of the node that is running the task
admin_owner_idUUIDIdentifier of the node that is monitoring the task
parallelizationCHARParallelization type of the task
scopeUUIDIdentifier of the scope of the task

Network

sys.channel_endpoint_parameters

This table contains details for the endpoints defined on the nodes in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the channel endpoint.
node_idUUIDUUID of the node where the endpoint is located (sys.nodes).
nameCHARName of the channel endpoint.
endpoint_typeCHARType of the channel endpoint (FULL or EXTERNAL).
portINTPort that the channel endpoint is using.
ip_addressCHARIP address of the channel endpoint.
context_typeCHARContext type of the channel endpoint
listener_typeCHARListener type of the channel endpoint
initiator_typeCHARInitiator type of the channel endpoint.
encryptedBOOLEANSpecifies whether the channel endpoint is encrypted.

sys.network_interface_models

This table contains the network devices registered on the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the NIC.
manufacturerCHARManufacturer of the NIC.
model_nameCHARModel name of the NIC.
pci_idCHARPCI identifier.
pci_subsys_idCHARPCI Subsystem identifier.
driver_typeCHARDriver type of NIC.
bits_per_secondLONGBits per second.

sys.network_interface_usage_types

This table contains the uses of each network device in the system.
Column NameColumn TypeColumn Description
network_interface_idUUIDUniversally Unique IDentifier (UUID) of the network interface (sys.network_interfaces).
network_interface_model_idUUIDUUID of the network interface model (sys.network_interface_models).
network_typeCHARUsage type of NIC (ADMIN, DATA, EXTERNAL, LOCAL_HSI).

sys.node_network_interfaces

This table contains the network interfaces on each node.
Column NameColumn TypeColumn Description
network_interface_model_idUUIDUniversally Unique IDentifier (UUID) of the network interface model (sys.network_interface_models).
network_interface_idUUIDUUID of the network interface.
node_idUUIDUUID of the node where this interface exists (sys.nodes).
interface_typeCHARType of interface (PHYSICAL, BOND_SLAVE, BOND_MASTER).
addressCHARMAC address of the NIC.
nameCHARName of the NIC.
netmaskCHARNetmask of the NIC.
gatewayCHARGateway of the NIC.
pci_addressCHARPCI address of the NIC.
master_interface_nameCHARMaster interface name of the NIC.
bond_typeCHARNetwork bond type of the NIC.

sys.service_role_channel_endpoints

This table contains the channel endpoint parameters that are enabled for each network type and service role.
Column NameColumn TypeColumn Description
service_role_idUUIDThe Universally Unique IDentifier (UUID) of the service role of this endpoint (sys.service_roles).
channel_endpoint_parameters_idUUIDUUID of the parameters for this endpoint (sys.channel_endpoint_parameters).
network_typeCHARNetwork type for this endpoint (ADMIN, DATA, EXTERNAL, LOCAL_HSI).

Pipelines

sys.pipeline_errors

While running a pipeline, you might experience errors. These errors are often due to a mismatch between the expectation of the pipeline and the source data. System or networking errors can also occur while the pipeline is running. The sys.pipeline_errors system catalog table lists extraction, transformation, and pipeline errors.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline (sys.pipelines) that loads this partition.
extractor_task_idUUIDUUID of the task associated with this pipeline run (sys.subtasks).
error_indexLONGError indexes start at 1 and increase monotonically as the Ocient System finds them.
error_typeCHARThe type of error. Values are EXTRACTION, TRANSFORMATION, and PIPELINE_ERROR.
error_codeCHARThis 5-character code identifies the type of error.
source_nameCHARFor file loads, this value is the absolute path of the file that includes the S3 bucket. For Kafka loads, the value is the topic name and partition number.
error_messageCHARThe error message.
partition_idCHARThe identifier of the partition. For file loads, the value is the stream source identifier where the file is located. For Apache® Kafka® loads, this value is the partition number.
record_numberLONGThe one-based index of the processed record in the source file or Kafka partition defined in the source_name column. This index does not account for headers or skipped lines.
record_offsetLONGThe one-based offset in bytes of the record data in the source file for file loads or the Kafka offset for Kafka loads. This offset is -1 for files with non-row-based storage formats (such as Apache® Parquet™).
field_indexINTThe zero-based index of the expression in the SELECT clause of the CREATE PIPELINE SQL statement.
column_nameCHARThe name of the column in the target table.
created_atTIMESTAMPTimestamp that represents when this error was created.

sys.pipeline_events

While your pipeline is running, the pipeline generates events in the sys.pipeline_events system catalog table to mark significant checkpoints when something has occurred. For details about the lists of files, see the sys.pipeline_files system catalog table. Pipeline events include messages from many different tasks. These events are the background processes that execute across different Loader Nodes during pipeline operation. For details about tasks, you can query the sys.tasks and sys.subtasks system catalog tables.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline (sys.pipelines).
task_idUUIDUUID of the task associated with this pipeline run (sys.subtasks).
user_idUUIDThe user who initiated the event (sys.users).
event_typeCHARThe type of the event. You can generate events with these types: CREATED, REPLACED, RENAMED, STARTED, STOPPING, and STOPPED. The Ocient System generates events with these types automatically: FILE_LISTING_STARTED, FILE_LISTING_COMPLETED, COMPLETED, FAILED, EXTRACTION_STARTED, EXTRACTION_COMPLETED, EXTRACTION_FAILED, SKIPPING_PARTIALLY_LOADED_FILE, and KAFKA_PARTITION_REBALANCE.
event_messageCHARMessage that provides more details about the event.
event_timestampTIMESTAMPTimestamp that represents when this event occurred.

sys.pipeline_files

For file-based loads, the sys.pipeline_files system catalog table contains one row for each file that shows the status of the file.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline (sys.pipelines).
extractor_task_idUUIDThe unique identifier of the task requested to load this file (sys.subtasks).
nameCHARName of the file.
create_timestampTIMESTAMPTimestamp that represents when this file is created.
modified_timestampTIMESTAMPTimestamp that represents when this file is last modified.
sizeLONGSize of the file.
statusCHARThe status of the file that updates throughout the process of a pipeline load. Values are: PENDING (listed file but not assigned to an extractor task), QUEUED (assigned to an extractor task but not confirmed the existence of the file), LOADING (confirmed existence of the file and began loading), LOADED (loaded data with complete success), LOADED_WITH_ERRORS (loaded data with at least one error), FAILED (failed to load), and SKIPPED (skipped loading the file).
stream_source_idCHARThe unique identifier of the associated partition stream source.

sys.pipeline_functions

This table contains all of the pipeline functions in the system.
Column NameColumn TypeColumn Description
idUUIDThe Universally Unique IDentifier (UUID) of the pipeline function.
nameCHARThe name of the pipeline function.
database_idUUIDThe UUID of the database for this pipeline function (sys.databases).
languageCHARThe language used to write the pipeline function.
return_typeCHARThe return type of the pipeline function.
return_type_nullableBOOLEANThe nullable property of the return type for the pipeline function.
definitionCHARThe definition of the pipeline function.
creator_idUUIDThe UUID of the user or group who created the pipeline function (sys.users/sys.groups).
created_atTIMESTAMPThe timestamp when this pipeline function was created.
altered_atTIMESTAMPThe timestamp when this pipeline function was last updated.
argument_namesARRAY(CHAR)The argument names of the pipeline function, specified as an array.
argument_typesARRAY(CHAR)The argument types of the pipeline function, specified as an array.
argument_nullabilityARRAY(BOOLEAN)Whether the argument types for the pipeline function are nullable, specified as an array.
imported_librariesARRAY(CHAR)The import statements for the pipeline function, specified as an array.

sys.pipeline_metrics

Find metrics that measure the performance and activity of a pipeline in the sys.pipeline_metrics view. This view contains one row for each metric at a specified point in time. Metrics are either instantaneous or incremental. Instantaneous metrics reflect the current value of a counter at the time of the metric collection. Incremental metrics increase over time and reflect the cumulative value for a specified counter. The first snapshot of a metric appears when it is initialized. Afterward, the system updates the metric every 10 seconds. Each metric has a scope that defines its uniqueness. Do not aggregate metrics across different scopes. The scope columns are pipeline_id, extractor_task_id, partition_id, and sink_index. If the value of any of these columns is NULL, the scope applies to all values in that dimension.
Column NameColumn TypeColumn Description
pipeline_idUUIDUUID of the pipeline (sys.pipelines) loading this partition.
extractor_task_idUUIDUUID of the task associated with this pipeline run (sys.subtasks).
partition_idCHARThe partition identifier. For file-based loads, this identifier is the stream source identifier. For Kafka loads, this identifier is the partition number.
sink_indexLONGThe sink index. This number is always NULL or 0.
nameCHARThe name of the metric.
valueLONGThe value of the metric.
updated_atTIMESTAMPTimestamp that represents when this metric was updated.

sys.pipeline_metrics_info

Find the full list of available metrics in the sys.pipeline_metrics_info built-in view. This static view provides metric units, type, and descriptions.
Column NameColumn TypeColumn Description
nameCHARName of the metric.
unitsCHARUnits of the metric.
metric_typeCHARType of the metric. One of INCREMENTAL or INSTANTANEOUS.
descriptionCHARDescription of the metric.

sys.pipeline_partitions

For Apache® Kafka® partition-based loads, the sys.pipeline_partitions system catalog table contains one row for each partition, which contains the current offsets and record counts.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline (sys.pipelines) loading this partition.
extractor_task_idUUIDUUID of the task associated with this pipeline run (sys.subtasks).
group_idCHARThe group identifier (group.id) of the pipeline that loads this partition.
topic_nameCHARThe name of the Kafka topic where this partition belongs.
partition_numberLONGThe partition number on the Kafka topic.
max_offsetLONGThe current maximum offset on this partition.
last_committed_durable_offsetLONGThe last committed offset on the partition that was indicated as durable by the Ocient System. This offset might lag slightly behind the actual durability of tables.
lagINTThe number of records yet to be processed in a partition, calculated as the difference between the maximum offset and the last committed durable offset.
records_processedINTThe number of records processed (but not necessarily made durable) for this partition.
records_failedINTThe number of failed records for this partition.
updated_atTIMESTAMPThe timestamp when the Ocient System last updated the details of this partition.

sys.pipeline_tables

This table contains all of the table identifiers currently associated with pipeline objects in the system.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline (sys.pipelines).
table_idUUIDUUID of the table (sys.tables).

sys.pipeline_tasks

The Ocient System implements the internals of a pipeline using distributed tasks. Each pipeline has a unique pipeline identifier pipeline_id. Every time that a START PIPELINE SQL statement is executed, the Ocient System generates a run_pipeline task that serves as the main coordinator task. This task automatically partitions the source data into smaller units and creates a run_extractor task for each one. Then, the Ocient System sends each run_extractor task and executes it on a Loader Node. In the sys.pipeline_tasks system catalog table, you can see the run_pipeline and run_extractor tasks.
Column NameColumn TypeColumn Description
pipeline_idUUIDUniversally Unique IDentifier (UUID) of the pipeline.
task_idUUIDTask identifier
execution_typeCHARThe type of the task.
parent_task_idUUIDIdentifier of the parent task of the task
location_typeCHARThe type of location where the task must run.
location_idCHARThe identifier for the location where the task must run.
task_owner_idUUIDIdentifier of the node that is running the task
admin_owner_idUUIDIdentifier of the node that is monitoring the task
statusCHARCurrent task status
detailsCHARThe details or results of the status for the current task.
start_timeTIMESTAMPThe start time of the task.
end_timeTIMESTAMPThe end time of the task.
durationLONGTask duration in milliseconds

sys.pipelines

This table contains all of the pipelines in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the pipeline.
nameCHARName of the pipeline.
database_idUUIDUUID of the database of the pipeline (sys.databases).
loading_modeCHARSpecifies whether the pipeline runs in a one-time (BATCH) or continuous (CONTINUOUS) way.
source_typeCHARSource of the data (S3, KAFKA, FILESYSTEM).
data_formatCHARStructure of the data (DELIMITED, CSV, JSON).
created_atTIMESTAMPTimestamp that indicates when this pipeline was created.
altered_atTIMESTAMPTimestamp that indicates when this pipeline was last updated.
creator_idUUIDThe UUID of the user or group who created the pipeline (sys.users/sys.groups).
statusCHARStatus of the pipeline (RUNNING, STOPPED, COMPLETED, FAILED).
status_messageCHARStatus message of the pipeline.
task_idUUIDUniversally Unique IDentifier (UUID) of the task (sys.tasks).
pending_files_countLONGThe number of files with the PENDING status (sys.pipeline_files).
queued_files_countLONGThe number of files with the QUEUED status (sys.pipeline_files).
loading_files_countLONGThe number of files with the LOADING status (sys.pipeline_files).
loaded_files_countLONGThe number of files with the LOADED status (sys.pipeline_files).
loaded_with_errors_files_countLONGThe number of files with the LOADED_WITH_ERRORS status (sys.pipeline_files).
failed_files_countLONGThe number of files with the FAILED status (sys.pipeline_files).
skipped_files_countLONGThe number of files with the SKIPPED status (sys.pipeline_files).

Security

sys.security_settings

This table contains security settings.
Column NameColumn TypeColumn Description
database_idUUIDThe database for this setting. This might be NULL for system-wide settings
group_idUUIDThe group for this setting when the setting is for a group
password_minimum_lengthINTMinimum password length.
password_complexity_levelINTPassword complexity requirement.
password_lifetime_daysINTPassword lifetime in days.
password_no_repeat_countINTPassword repetition count.
password_invalid_attempt_limitINTInvalid password attempt limit.

Security Integrations

sys.oidc_integrations

This table enumerates the configuration for OpenID Connect Single Sign-On integrations (i.e. OKTA®). You can modify this configuration using the ALTER DATABASE ALTER SSO INTEGRATION oidc DDL statement where is the name of your database.
Column NameColumn TypeColumn Description
security_integration_idUUIDThe id of this OpenID Connect (OIDC) Single Sign-On integration.
database_idUUIDThe id of the database using this Single Sign-On authorization to this integration.
disabledBOOLEANWhen true, all new connections made using this Single Sign-On integration will fail.
default_groupCHARThe group which all users of this Single Sign-On intergation are granted membership to.
issuerCHARThe complete URL for the OAuth 2.0 / OpenID Connect Authorization Server. This is the expected “iss” claim in an access token.
client_idCHARThe provider-supplied ID of this Single Sign-On integration.
public_clientBOOLEANWhen true, PKCE is used in place of a client authentication method
enable_id_token_authenticationBOOLEANWhen true, a fat ID Token is sufficient to connect to the database.
user_id_claimsARRAY(CHAR)The id token claim(s) used to identify users in audit trails.
additional_scopesARRAY(CHAR)Request scopes for authorization requests.
additional_audiencesARRAY(CHAR)Additional token audience to accept when validating tokens. This is useful for Authorization Servers without a token exchange capability.
groups_claim_idsARRAY(CHAR)The token claims that can be used to map the user to a Database group. You must provide groups_claim_ids if groups_claim_mappings is provided.
groups_claim_mappingsCHARThe mappings from Provider group => Database group.
roles_claim_idsARRAY(CHAR)The token claims that can be used to map the user to a Database role. You must provide roles_claim_ids if roles_claim_mappings is provided.
roles_claim_mappingsCHARThe mappings from Provider role => Database role.
blocked_groupsARRAY(CHAR)Provider groups that are restricted from connecting to the database.
blocked_rolesARRAY(CHAR)Provider roles that are restricted from connecting to the database.
enable_debug_flowBOOLEAN
request_scopesARRAY(CHAR)All request scopes for authorization requests.
scopes_on_refreshBOOLEANInclude the scope list in the initial refresh-token request

sys.oidc_sessions

The sys.oidc_sessions table contains information about active database connections established using an OpenID Connect (oidc) Single Sign-On integration.
Column NameColumn TypeColumn Description
idUUIDThe unique identifier for this session.
userCHARThe Fully Qualified User Name (FQUN) of this user.
database_idUUIDThe id of the database associated with this session.
security_integration_idUUIDThe id of the OpenID Connect (OIDC) Single Sign-On integration that authorized.
has_access_tokenBOOLEANTrue if the identity provider supplied an Access Token.
has_refresh_tokenBOOLEANTrue if the identity provider supplied a Refresh Token.
compact_id_tokenCHARThe JWS compact serialization form of the ID Token.
id_token_jsonCHARThe ID Token claims.

sys.security_integrations

This table contains the OIDC security integrations installed on the system.
Column NameColumn TypeColumn Description
idUUIDUUID of the OIDC security integration.
database_idUUIDUUID of the database associated with this security integration (sys.databases).
integration_typeCHARThe type of the security integration (SSO, SCIM, LDAP, etc.).
table_descriptorCHARAn indirect pointer to the table where you can view the objects of this integration.
sso_integration_nameCHARSSO integration name, if the security integration is of type SSO
is_database_defaultBOOLEANWhen true, the security integration is used as the default SSO integration for the database.

sys.sessions

This table contains information about active client connections.
Column NameColumn TypeColumn Description
idUUIDThe unique identifier for this session.
userCHARThe Fully Qualified User Name (FQUN) of this user.
sso_protocolCHARThe Single Sign-On (SSO) protocol used to authorize the connection request. Null if basic password authentication was used. Tables exists for each SSO protocol using the following naming scheme: “:::Iframe
:::_sessions”. For example, all sessions created using the OpenID Connect (oidc) protocol will be listed in the “sys.oidc_sessions” table. | | database_id | UUID | The id of the database associated with this session. | | default_schema | CHAR | The default schema used for queries submitted by this user. | | created_at_timestamp | LONG | The number of seconds from epoch the session was established. | | duration | LONG | The number of seconds since the session was established. | | expires_at_timestamp | LONG | The number of seconds from epoch the session will expire. | | is_renewable | BOOLEAN | When true, the database will attempt to extend the session when it expires. | | client_ip | CHAR | The IP address of the client. | | client_name | CHAR | The human-readable name of the client. | | client_session_id | CHAR | An opaque identifier provided by client implementations. Used to correlate events across application boundaries. | | protocol_version | CHAR | The version of the client-server protocol for this connection. | | driver_version | CHAR | The version of the client driver. | | tls_enabled | BOOLEAN | True if TLS is enabled for this client connection. | | node_id | UUID | The unique identifier of the node the client is connected to. | | connectivity_pool_id | UUID | The unique identifier of the connectivity pool the client is connected on. | | group_names | CHAR | Names of all groups in the session. | | role_names | CHAR | Names of all roles in the session. | | active_service_class_names | CHAR | Names of all active service classes in the session. | | inactive_service_class_names | CHAR | Names of all inactive service classes in the session. |

Statistics

sys.average_bb_sizes

This table contains the average size of bounding boxes in the database for geospatial data types.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).
avg_widthDOUBLEAverage width of bounding boxes in this column.
avg_heightDOUBLEAverage height of bounding boxes in this column.

sys.average_column_sizes

This table contains the average size of each column in the database.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).
sizeDOUBLEAverage size of the column.

sys.column_cardinalities

This table contains estimates of the number of unique values in each column in the database. These estimates might not reflect recent loading or deletion activity.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).
cardinalityLONGEstimate of the number of unique values in this column.
stats_typeCHARRepresents the type of values, either ‘COLUMN’ or ‘INNER_ARRAY’.

sys.column_distributions

This table contains some statistical characteristics of the calculated Kernel Density Distribution of data in the database columns.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
column_idUUIDUUID of the column (sys.columns).
bandwidthDOUBLESmoothing parameter for the distribution.
minimum_valueDOUBLEMinimum value found in the distribution.
maximum_valueDOUBLEMaximum value found in the distribution.
stats_typeCHARRepresents the type of values in the distribution, either ‘TABLE’ or ‘INNER_ARRAY’.

sys.columns_compression_info

This table contains column-level compression statistics for fixed-length columns. The system calculates statistics from the column data across all segments.
Column NameColumn TypeColumn Description
node_idUUIDUniversally Unique IDentifier (UUID) of the node that owns the segments included in these statistics.
table_idUUIDUUID of the table of this column (sys.tables).
ordinalINTOrdinal of the column.
is_deltadelta_enabledBOOLEANSpecifies whether deltadelta compression is enabled.
is_rle_enabledBOOLEANSpecifies whether RLE compression scheme is enabled.
is_ne_enabledBOOLEANSpecifies whether the NULL elimination compression scheme is enabled.
raw_sizeLONGSize of the data in bytes before compression.
compressed_sizeLONGSize of the data in bytes after compression.
num_deltadelta_blocksLONGNumber of data blocks compressed using the deltadelta compression.
num_rle_blocksLONGNumber of data blocks compressed using the RLE (Run-Length Encoding) compression scheme.
num_nerle_blocksLONGNumber of data blocks compressed using a combination of the RLE and NE (NULL Elimination) compression schemes.
num_uncompressed_blocksLONGNumber of uncompressed data blocks.
num_total_blocksLONGTotal number of data blocks.
idUUIDUUID of the column
nameCHARName of the column

sys.segments_compression_info

This table contains segment-level compression statistics. The system calculates statistics from the data within the specified segment. All block statistics apply only to fixed-length columns within the segment. Non-block specific statistics (e.g., size information) include both fixed and variable-length columns.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table relevant to this segment (sys.tables).
segment_idUUIDUUID for the segment.
num_deltadelta_blocksLONGNumber of data blocks compressed using deltadelta compression
num_rle_blocksLONGNumber of data blocks compressed using RLE (Run-Length Encoding) compression scheme
num_nerle_blocksLONGNumber of data blocks compressed using a combination of RLE and NE (Null Elimination) compression schemes
num_uncompressed_blocksLONGNumber of uncompressed data blocks
num_total_blocksLONGTotal number of data blocks
raw_sizeLONGSize of the data part before any compression and without any parity data
compressed_sizeLONGSize of the data part after compression and without any parity data + Size of the manifest part
compressed_data_part_sizeLONGSize of the data part after compression and without any parity data
num_cluster_keysLONGNumber of unique cluster keys in the segment
num_time_bucketsLONGNumber of time buckets in the segment

sys.stats_files

This table contains information about the on-disk cache for each Foundation Node of the local table probability density functions (PDFs) and array PDFs.
Column NameColumn TypeColumn Description
node_idUUIDThe Universally Unique IDentifier (UUID) of the node. References id in sys.nodes.
table_idUUIDThe UUID of the table. References id in sys.tables.
file_idUUIDThe UUID of the file.
file_typeCHARThe type of this file. Values are ARRAY_PDF, TABLE_PDF, or TABLE_CDE.
file_sizeLONGSize in bytes of the file.
column_ordinalLONGOrdinal of the column where the stats file applies. The ordinal references sys.columns for the specified table. The value is NULL when file_type is TABLE_PDF.
updated_atTIMESTAMPTimestamp of the last update to this file.
is_staleBOOLEANWhether any rows are present on disk that were not present when this stats file was last updated
rows_computed_fromLONGNumber of rows present on the node when this stats file was last updated
marked_stale_atTIMESTAMPTimestamp of this file being marked stale.

sys.table_cardinalities

This table contains estimates of the number of rows in the individual tables in the database. These estimates might not reflect recent loading or deletion activity.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
cardinalityLONGEstimate of the number of rows in this table.

sys.vl_columns_compression_info

This table contains column-level compression statistics for variable-length columns. The system calculates statistics from the column data across all segments.
Column NameColumn TypeColumn Description
node_idUUIDUniversally Unique IDentifier (UUID) of the node that owns the segments included in these statistics.
table_idUUIDUUID of the table (sys.tables).
ordinalINTOrdinal of the column.
is_compression_enabledBOOLEANWhether compression is enabled.
raw_sizeLONGSize of the data in bytes before compression.
compressed_sizeLONGSize of the data in bytes after compression.
num_lz4_rowsLONGNumber of lz4 compressed rows.
num_uncompressed_rowsLONGNumber of uncompressed rows.
num_null_rowsLONGNumber of NULL rows.
num_total_rowsLONGTotal number of rows.
idUUIDUUID of the column
nameCHARName of the column

Storage

sys.addendum_directories

This table contains all addendum directories with details about their associated directories and metadata.
Column NameColumn TypeColumn Description
idUUIDThe identifier of the addendum directory within the storage cluster state.
associated_directory_group_idCHARThe group identifier of the associated directory.
associated_directory_ida_offsetINTThe IDA offset (the logical segment in a segment directory group) of the associated directory.
parent_segment_group_idCHARThe segment group identifier of the associated parent segment (sys.segment_groups).
parent_ida_offsetINTThe IDA offset of the associated parent segment.
segment_part_inventory_nameUUIDThe name of the segment part inventory for the addendum part. This name references the id column of the segment_part_inventory system catalog table.
segment_part_inventory_storage_idCHARThe storage identifier of the segment part inventory.
num_deleted_rowsLONGIf the segment part inventory houses a delete part, this number is the number of rows subtracted from the parent segment.
is_replica_for_ida_offsetINTThe IDA offset of the parent segment that this segment part inventory replicates.

sys.data_usage_by_file_type_and_table

This table contains information about the amount of queryable data by file type.
Column NameColumn TypeColumn Description
segment_typeCHARThe type of the segment.
table_nameCHARThe name for the table.
num_segmentsLONGThe number of segments of a specific segment type.
total_rowsLONGThe total number of rows for segments of a specific segment type.
avg_rows_per_segmentDOUBLEThe average amount of rows per segment for a segment of a specific segment type.
total_size_gbDOUBLEThe total size in gigabytes for all segments of a specific segment type.
avg_size_mbDOUBLEThe average size in megabytes for segments of a specific segment type.

sys.degraded_segment_groups

This table contains information about degraded segment groups and the clusters where they are located.
Column NameColumn TypeColumn Description
cluster_idUUIDThe unique identifier of the cluster.
cluster_nameCHARThe name of the cluster.
segment_group_statusCHARThe segment group status.
degraded_segment_groupsLONGThe total number of damaged segment groups in a cluster.

sys.degraded_segment_groups_by_table

This table contains information about degraded segment groups in addition to the clusters and tables where they are located.
Column NameColumn TypeColumn Description
cluster_idUUIDThe unique identifier of the cluster.
cluster_nameCHARThe name of the cluster.
segment_group_statusCHARThe segment group status.
table_nameCHARThe table name.
degraded_segment_groupsLONGThe total number of damaged segment groups in a cluster.

sys.effective_merge_policy_per_table

This table computes and displays the effective merge policy (enabled or disabled) for each table in the system. The system bases the policy on the default configuration and any overrides that are present for each table.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
schemaCHARName of the schema.
nameCHARName of the table.
table_lts_property_stringCHARAdditional properties assigned to control the Foundation role (formerly “LTS role”) behavior for the table.
effective_table_merge_policyCHARThe effective merge policy applied to this table based on the value of the global feature_directory_merge feature flag and an optional table merge policy override.

sys.nodes_with_unhealthy_stored_segments

This table contains information about nodes with damaged, missing, or invalid segments.
Column NameColumn TypeColumn Description
node_idUUIDThe unique identifier of the node.
node_nameCHARThe name of the node.
statusCHARThe status of the stored segment. Values include INTACT, MISSING, and DAMAGED.
num_unhealthy_segmentsLONGThe total number of unhealthy segments in the node.

sys.orphaned_segments

This table contains information about orphaned segments in the cluster.
Column NameColumn TypeColumn Description
storage_idUUIDThe Universally Unique IDentifier (UUID) for the orphaned segment.
ownerLONGThe identifier of the owner for this orphaned segment.
segment_typeCHARThe type of the segment (TKT, PAGE, etc.).
node_idUUIDThe UUID for this setting, which might be NULL for system-wide metrics.

sys.segment_directories

This table contains all segment directories with details about parents, associated buckets, and metadata.
Column NameColumn TypeColumn Description
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).
ida_offsetINTThe unique index of the segment.
storage_idUUIDThe storage identifier of the segment directory.
ownerLONGThe owner identifier of this stored segment.
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
begin_timeLONGStart time of the bucket of this segment directory in the time bucket column of its table.
end_timeLONGEnd time of the bucket of this segment directory in the time bucket column of its table.
depthINTThe depth of the segment group. A non-zero value indicates a segment directory group.
parent_segment_group_idCHARThe parent identifier of the segment directory group (sys.segment_groups).
parent_ida_offsetINTThe unique index of the parent segment, if it exists.
parent_storage_idUUIDThe storage identifier of the parent segment directory, if it exists.
parent_ownerLONGThe owner of the parent storage identifier. A zero value indicates an unowned storage identifier. Whereas a non-zero value indicates a segment owned after rebuild.
row_countLONGIf the directory depth equals 1, then this count is the number of rows in the base leaf segment (not factoring in any DELETE SQL statements). If the depth is greater than 1, then this count is the total number of rows spanned by the intermediate directory.

sys.segment_group_transfers

This table contains all segment group transfers between clusters.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the segment group transfer.
src_cluster_idUUIDUUID of the source cluster (sys.clusters).
dst_cluster_idUUIDUUID of the destination cluster (sys.clusters).
statusCHARThe status of the transfer.
segment_group_idsARRAY(CHAR)List of the identifiers of segment groups in this transfer (sys.segment_groups).
src_committed_osnCHARThe Ownership Storage Number (OSN) in which the segment groups are considered fully transferred from the source cluster.
dst_committed_osnCHARThe OSN in which the segment groups are considered fully transferred from the destination cluster.

sys.segment_groups

This table contains all segment groups stored on the cluster with details about the ownership, associated table, data structure, and other metadata.
Column NameColumn TypeColumn Description
idCHARThe identifier of the segment group.
cluster_idUUIDUniversally Unique IDentifier (UUID) of the internal cluster of this segment group.
segment_typeCHARType of the segment (TKT, PAGE, etc.).
statusCHARThe availability and health status of the segment group.
primary_ownerUUIDFor a replicated segment group, the UUID of the node that serves the segment (sys.nodes).
loader_idUUIDThe streamloader node that wrote the segment group (sys.nodes).
table_idUUIDUUID of the table (sys.tables).
scope_idUUIDUUID of the storage scope (sys.storage_scopes).
block_sizeLONGDisk block size used to store segments in this group in bytes.
begin_timeLONGMinimum bucket value, specified as an integer, for all rows in this bucket. If the bucket column is a date or time value, this column has the same unit of measure as defined by the TimeKey column and can be converted or compared to other dates or times with appropriate conversion functions. When you specify a TIMESTAMP TimeKey, the value represents nanoseconds since the epoch.
end_timeLONGMaximum bucket value, specified as an integer, for all rows in this bucket. If the bucket column is a date or time value, this column has the same unit of measure as defined by the TimeKey column and can be converted or compared to other dates or times with appropriate conversion functions. When you specify a TIMESTAMP TimeKey, the value represents nanoseconds since the epoch.
coding_algorithmCHARCoding algorithm used to erasure code this group (NO_CODING, PQ_PARITY, REED_SOLOMON).
coding_block_sizeINTThe unit size that is erasure coded in bytes.
coding_thresholdINTThe number of coding blocks required to rebuild all blocks in a coding line.
coding_widthINTThe number of coding blocks in a coding line.
replicationINTThe number of replicas of each segment in the group.
parity_cycleINTParity cycle that the system calculates by multiplying by the coding_width to return the number of segments in the segment group.
created_timeTIMESTAMPSpecifies the time, in nanoseconds, when this segment group was created.
rolehostd_versionCHARThe version of the rolehostd binary at the time of the segment group generation.
commit_hashCHARThe commit hash of the rolehostd binary at the time of the segment group generation.
timestampCHARThe build timestamp or commit timestamp of the rolehostd binary at the time of the segment group generation.
build_userCHARThe build user of the rolehostd binary at the time of the segment group generation.
depthINTThe depth of the segment directory group. A non-zero value indicates a segment directory group.
removal_typeCHARThe method by which a segment group was removed.
visibilityCHARThe visibility of the segment group.

sys.segment_groups_merge_eligible_per_table

This table computes and displays a count of segment groups and segment directory groups eligible for merging for each table in the Ocient System.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
schemaCHARName of the schema.
nameCHARName of the table.
segment_groups_merge_eligibleLONGThe count of segment groups eligible for merging in the table.

sys.segment_part_inventory

This table contains information about the inventory of markers for segments. For example, a marker denotes whether the database can delete a specific segment part. One segment can have multiple inventories, whereas each inventory contains only one marker.
Column NameColumn TypeColumn Description
idUUIDThe universally unique identifier (UUID) of the inventory that stores the markers for segments.
ida_offsetINTThe IDA offset (the logical part of the segment) denotes the position within the segment.
parent_segment_group_idCHARThe identifier of the segment group where the parent segment is located.
parent_ida_offsetINTThe IDA offset where the parent segment is located within the segment group.
num_deleted_rowsLONGThe number of deleted rows.
operation_idUUIDThe UUID of the query where the Ocient System creates the inventory (the DELETE SQL statement). The system shares this UUID across all inventories created in the same operation.
subsuming_typeCHARThe type of the marker within the inventory.
node_idUUIDThe UUID of the node that contains the latest segment with the part.

sys.segment_part_redundancy_info

This table contains the redundancy strategy for each table and the segment part type.
Column NameColumn TypeColumn Description
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
part_nameCHARName of the segment part.
redundancy_typeCHARThe redundancy strategy for this part (COPY, PARITY).

sys.segment_parts

This table contains the segment parts associated with each segment group. These segment parts belong to queryable segments. The table does not display parts that belong to quarantined segments or segments not yet activated.
Column NameColumn TypeColumn Description
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).
ida_offsetINTUnique index of the segment. The original copy of this segment part belongs to this segment.
nameCHARName of the segment part.
part_typeCHARPartial identifier of a segment part (DATA, INDEX, MANIFEST, STATS).
sizeLONGSize of the segment part in bytes.
segment_ida_offsetINTUnique index of a segment within a segment group.
segment_lba_offsetLONGOffset of this segment part within the Logical Block Address (LBA) on disk.

sys.segments

This table contains the individual segments stored in each storage cluster including basic information about the segment and the segment group where the segment belongs. The table contains queryable segments only. Quarantined segments or segments not yet activated do not appear in this table (they are present in the sys.stored_segments table).
Column NameColumn TypeColumn Description
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).
segment_typeCHARType of the segment (TKT or PAGE).
ida_offsetINTUnique index of the segment in the segment group.
row_countLONGCount of accessible rows in the segment. If the count is unknown, the value is NULL.
storage_idUUIDUniversally Unique IDentifier (UUID) for the stored segment (sys.stored_segments.storage_id).
table_idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
segment_sizeLONGSize of the segment in bytes.
root_segment_directory_group_idCHARThe identifier of the root-level segment directory group to which this segment belongs. For root-level directories and non-subsumed segments, this value is the same as the segment_group_id column.
root_segment_directory_group_ida_offsetINTThe unique index of the directory in the root-level directory group to which this segment belongs.
begin_timeLONGMinimum bucket value, specified as an integer, for all rows in this bucket. If the bucket column is a date or time value, this column has the same unit of measure as defined by the TimeKey column and can be converted or compared to other dates or times with appropriate conversion functions. When you specify a TIMESTAMP TimeKey, the value represents nanoseconds since the epoch.
end_timeLONGMaximum bucket value, specified as an integer, for all rows in this bucket. If the bucket column is a date or time value, this column has the same unit of measure as defined by the TimeKey column and can be converted or compared to other dates or times with appropriate conversion functions. When you specify a TIMESTAMP TimeKey, the value represents nanoseconds since the epoch.
ownerLONGOwner identifier of this stored segment.
num_deleted_rowsLONGNumber of rows deleted from this segment.
page_size_with_replicationLONGSpecifies the replication of stored pages.

sys.storage_capacity

This table contains information about storage capacity for each node.
Column NameColumn TypeColumn Description
node_idUUIDUniversally Unique IDentifier (UUID) of the node (sys.nodes).
capacity_bytesLONGApproximate storage capacity of the node in bytes.
cluster_idUUIDUUID of the cluster (sys.clusters).

sys.storage_device_files

This table contains the list of all files for each storage device.
Column NameColumn TypeColumn Description
node_idUUIDThe unique identifier of the node.
device_idINTThe numeric identifier of the drive.
storage_idUUIDThe unique identifier of the file.
ownerINTOwner of the storage identifier. The zero value indicates an unowned storage identifier. A non-zero value indicates a segment owned after the rebuild.
segment_typeCHARThe type of the segment (TKT, PAGE, etc.).
parent_idUUIDThe unique identifier of the parent file (for addendum parts).
normalized_drive_slotINTTheoretical drive slot, if applicable, that was computed from the segment group identifier. The Ocient System expects to allocate the file to this slot.
abnormal_placementBOOLEANSpecifies whether the Ocient System places the segment abnormally. If this value is true, the segment is not located on the drive slot that was computed from the segment group identifier.
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).

sys.storage_scopes

This table contains the storage scopes defined in the system with the number of rows, page groups, and segment groups in each storage scope.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the storage scope.
row_countLONGThe number of rows that have been currently loaded onto the scope.
num_page_groupsLONGThe number of page groups currently present in the scope.
num_tkt_segment_groupsLONGNumber of TKT segment groups currently present in the scope.
cluster_idUUIDUUID of the cluster (sys.clusters).

sys.storage_spaces

This table contains information for all defined storage spaces.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the storage space.
nameCHARName of the storage space.
is_system_storage_spaceBOOLEANIs this storage space the system storage space
block_sizeINTUnit size that is erasure coded in bytes.
total_widthINTThe coding width. (The N in an M of N parity configuration.)
parity_widthINTWithin a coding line, the number of blocks dedicated to storing parity information.
parity_typeCHARThe methodology used to compute parity blocks (P+Q, XOR, REED SOLOMON, REPLICATION, NONE).
parity_cyclesINTParity cycles calculated by multiplying by total_width to return the number of segments in the segment group.
page_replicationINTThe total number of page replicas, which includes the original page.

sys.storage_used

This table contains information about storage utilization for each node.
Column NameColumn TypeColumn Description
node_idUUIDUniversally Unique IDentifier (UUID) of the node (sys.nodes).
table_idUUIDUUID of the table (sys.tables).
used_bytesLONGApproximate storage utilization of the table on the node in bytes.
cluster_idUUIDUUID of the cluster (sys.clusters).

sys.stored_leaf_segment_part_inventory

This table contains the physical location for the inventory of markers for all segments.
Column NameColumn TypeColumn Description
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).
cluster_idUUIDUniversally Unique IDentifier (UUID) of the cluster (sys.clusters).
ida_offsetINTIndex of the segment in the segment group.
storage_idUUIDUUID of the stored segment.
ownerLONGOwner identifier of the stored segment.
root_directory_group_idCHARRoot segment directory identifier, if it has been subsumed.
node_idUUIDUUID of the node (sys.nodes).
start_osnCHARThe starting Ownership Sequence Number (OSN) for the latest OSN range of the inventory of markers.
end_osnCHARThe ending OSN for the latest OSN range of the inventory of markers.
kindCHARThe kind of segment (DISK, VIRTUAL).
visibilityCHARThe visibility of the inventory of markers.
toc_nameUUIDUUID of the inventory of markers. A NULL UUID denotes the main inventory of markers of the segment.

sys.stored_segments

This table contains details for each segment that is saved to disk.
Column NameColumn TypeColumn Description
segment_group_idCHARThe identifier of the segment group (sys.segment_groups).
cluster_idUUIDUniversally Unique IDentifier (UUID) of the cluster (sys.clusters).
ida_offsetINTIndex of the segment in the segment group.
storage_idUUIDUUID of this stored segment.
ownerLONGOwner identifier of this stored segment.
node_idUUIDUUID of the node (sys.nodes).
statusCHARThe current status of the segment (MISSING, INTACT, etc.).
kindCHARThe kind of segment (DISK, VIRTUAL).
start_osnCHARThe start OSN for the latest OSN range of the segment.
end_osnCHARThe end OSN for the latest OSN range of the segment.
visibilityCHARThe visibility of the stored segment.
abnormal_placementBOOLEANWhether the segment is placed abnormally.
row_countLONGCount of rows in the segment.
segment_sizeLONGSize of the segment in bytes.

System

sys.clusters

This table contains all clusters defined in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the cluster (sys.clusters.id).
nameCHARName of the cluster.
cluster_typeCHARType of the cluster.
storage_space_idsARRAY(UUID)UUIDs of the storage spaces used in this cluster (sys.storage_spaces.id).

sys.compute_configurations

This table contains the compute configurations for nodes and clusters in the system.
Column NameColumn TypeColumn Description
cluster_idUUIDUniversally Unique IDentifier (UUID) of the cluster that this node belongs to (sys.clusters.id).
node_idUUIDUUID of the node (sys.nodes.id).
levelLONGExecution level for this node or cluster.
csnLONGCompute sequence number.

sys.locks

This table contains information of the currently queued and granted lock requests.
Column NameColumn TypeColumn Description
request_idUUIDThe unique identifier of the lock.
owner_identifierCHARThe unique identifier of the owner of the lock. Should be of format <node uuid with lowercase chars>.<locking system>.<locking reason>.<process uuid>
lock_scope_idCHARAn identifier on the scope of the lock, should be of format <system>.<type>.<target unique identifier>
lock_typeCHARWhether the lock is to READ or WRITE on the elements in its scope.
statusCHARThe status of the lock, QUEUED means that it is waiting to be accepted, GRANTED means it is currently active.
create_timeLONGThe creation time, in milliseconds, of the lock relative to the underlying RAFT Consensus Log. This value is not a UNIX timestamp.
last_refresh_timeLONGThe time, in milliseconds, when the lock was last refreshed relative to the underlying RAFT Consensus Log. This value is not a UNIX timestamp
priority_idUUIDThe identifier for lock prioritization.
create_timestampTIMESTAMPThe timestamp that represents when the lock was created on the Raft leader.
last_refresh_timestampTIMESTAMPThe timestamp that represents when the lock was most recently refreshed on the Raft leader.

sys.lts_cluster_info

This table contains the storage clusters defined in the system.
Column NameColumn TypeColumn Description
cluster_idUUIDUniversally Unique IDentifier (UUID) of the storage cluster (sys.clusters.id).
storage_space_idsARRAY(UUID)UUIDs of the storage spaces used in this cluster (sys.storage_spaces.id).

sys.node_clusters

This table contains nodes that are members of each cluster.
Column NameColumn TypeColumn Description
cluster_idUUIDUniversally Unique IDentifier (UUID) of the cluster that this node belongs to.
node_idUUIDUUID of the node.
ordinalINTOrdinal of this node.

sys.nodes

This table contains all nodes defined in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the node.
unique_node_numberINTOrdinal number assigned to the node.
nameCHARName of the node.
statusCHARStatus of the node (ACCEPTED, UNACCEPTED, INVALID).
hostnameCHARHostname of the node.
software_versionCHARVersion of the software running on this node.
kernel_versionCHARVersion of the kernel running on this node.
system_versionCHARVersion of Linux® running on this node.
system_memoryLONGAmount of available system memory in bytes.
socketsINTNumber of CPU sockets.
cores_per_socketINTNumber of cores per CPU socket.
hugepages_1gbINTNumber of configured 1GB huge pages.
hugepages_2mbINTNumber of configured 2MB huge pages.
hyperthreadedBOOLEANWhether the node is hyperthreaded.

sys.service_roles

This table contains the service roles defined on each node.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the service role.
service_role_typeCHARType of the service role.
node_idUUIDUUID of the node. (sys.nodes.id)
levelCHARExecution level of the node.

System Information

sys.function_signatures

This table contains all function signatures defined in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the function signature.
nameCHARName of the function.
return_typeCHARReturn type of the function.
arg_typesARRAY(CHAR)The types of all arguments in the function.
function_typeCHARType of the function.

sys.reserved_words

This table contains all reserved words defined in Ocient.
Column NameColumn TypeColumn Description
reserved_wordCHARA word that is a reserved keyword for use by Ocient.

sys.sql_messages

This table contains information about the SQL errors and warnings that the Ocient System can produce.
Column NameColumn TypeColumn Description
nameCHARSQL error or warning name.
codeINTSQL error or warning code.
stateCHARSQL error or warning state.
reasonCHARDescription of the SQL error or warning.
is_errorBOOLEANWhether or not this SQL message is an error or warning.

sys.system_information

This table contains information about the Ocient System.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique Identifier (UUID) for the overall system.
nameCHARThe name of the system. This system assigns this name randomly using a UUID by default. You can change the name using the ALTER SYSTEM RENAME SQL statement.
current_compatible_software_versionINTThe minimum software version for the system compatibility.
allowed_compatible_software_versionINTThe software version that prevents the use of features in the newest version of the system to keep backward compatibility with the specified version in the current_compatible_software_version column.
feature_directory_mergeCHARThe value of the directory merge feature flag for segment directory groups.

sys.system_table_columns

This table contains all columns for tables available in the system catalog.
Column NameColumn TypeColumn Description
idUUIDThe Universally Unique IDentifier (UUID) of this column (sys.columns).
nameCHARThe name of this column.
data_typeCHARThe data type of the column.
nullableBOOLEANWhether or not this column is nullable.
ordinalLONGThe ordinal of this column.
schema_nameCHARThe name of the schema to which this column belongs.
table_nameCHARThe name of the table to which this column belongs.
descriptionCHARDescription of the column.

sys.system_tables

This table contains all tables available in the system catalog.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the table (sys.tables).
schemaCHARSchema of the table.
nameCHARName of the table.
table_typeCHARType of the table.
categoryCHARCategory of the table.
descriptionCHARDescription of the table.

User Management

sys.group_roles

This table contains roles that belong to each group.
Column NameColumn TypeColumn Description
group_idUUIDUniversally Unique IDentifier (UUID) of the group (sys.groups).
role_idUUIDUUID of the role (sys.roles).

sys.groups

This table contains information, including the service class, related to each group.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the group.
nameCHARName of the group.
database_idUUIDUUID of the database (sys.databases).
service_class_idUUIDUUID of the service class of this group (sys.service_classes).

sys.privileges

This table contains information related to the privileges granted in Ocient.
Column NameColumn TypeColumn Description
timestampTIMESTAMPTimestamp of the grant given.
grantorCHARThe user who granted this privilege.
granteeCHARThe user who received this privilege.
privilegeCHARThe privilege for the grant.
privilege_targetCHARThe type of object to which the privilege applies. This value is NULL if the privilege applies to the granted object.
object_typeCHARThe type of object on which this privilege was granted.
object_idUUIDUniversally Unique IDentifier (UUID) of the object.
grantableBOOLEANWhether the user can grant this privilege to another user.

sys.rights

This table contains information related to the rights granted in Ocient.
Column NameColumn TypeColumn Description
entity_typeCHAROwner of the right (user, group, role).
entity_idUUIDUniversally Unique IDentifier (UUID) of the owner.
target_typeCHARType of the target.
target_idUUIDUUID of the target.
valueCHARThe right being given (CREATE, READ, UPDATE, DELETE, SECURITY).

sys.roles

This table contains roles in the system.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the role.
database_idUUIDUUID of the database of this role (sys.databases).
nameCHARName of this role.
descriptionCHARDetailed description of this role.

sys.user_groups

This table contains the users that belong to groups in Ocient.
Column NameColumn TypeColumn Description
user_idUUIDUniversally Unique IDentifier (UUID) of the user (sys.users).
group_idUUIDUUID of the group where the user belongs (sys.groups).

sys.user_roles

This table contains roles associated with each user.
Column NameColumn TypeColumn Description
user_idUUIDUniversally Unique IDentifier (UUID) of the user (sys.users).
role_idUUIDUUID of the role (sys.roles).

sys.users

This table contains information about users in Ocient.
Column NameColumn TypeColumn Description
idUUIDUniversally Unique IDentifier (UUID) of the user.
user_nameCHARUsername.
database_idUUIDUUID of the database.
first_nameCHARFirst name of the user.
last_nameCHARLast name of the user.
emailCHAREmail address of the user.
password_updated_atTIMESTAMPTimestamp that represents the date and time for the last time the password for this user was updated
stateCHARState.
invalid_login_attemptsINTNumber of invalid login attempts since last successful login.

Workload Management

sys.service_classes

This table shows information about the service classes used for workload management in Ocient. For more details on workload management, see the corresponding section of the user documentation.
Column NameColumn TypeColumn Description
idUUIDThe ID of the service class.
database_idUUIDThe ID of the database that has the service class.
nameCHARThe name of the service class.
max_temp_disk_usageLONGThe maximum temporary disk usage for a query running with this service class.
max_elapsed_timeLONGThe maximum time, in seconds, that a query running with this service class can run.
max_concurrent_queriesLONGThe maximum number of queries that can run concurrently with this service class.
max_rows_returnedLONGThe maximum number of rows a query running with this service class can return.
scheduling_priorityDOUBLEThe initial priority for a query running with this service class.
cache_max_bytesLONGThe maximum number of bytes in a result set, if it is eligible for cache storage, for a query running with this service class.
cache_max_timeLONGThe maximum amount of time, in seconds, that the system caches rows for a query running with this service class.
max_elapsed_time_for_cachingLONGThe maximum amount of time, in seconds, that a query running with this service class can run and have its result set cached. This value must be higher than the max_elapsed_time value.
max_columns_in_result_setLONGThe maximum number of columns allowed in the result set of a query running with this service class.
priority_adjustment_factorDOUBLEThe amount that the system adjusts the query priority in each time interval, as specified by the priority_adjustment_time value, for a query running with this service class.
priority_adjustment_timeLONGThe frequency, in seconds, of each priority adjustment for a query running with this service class.
min_priorityDOUBLEThe minimum value of the adjusted priority for a query running with this service class.
max_priorityDOUBLEThe maximum value of the adjusted priority for a query running with this service class.
statement_textCHARSpecifies the comparison string to use for matching statement text to queries. This string takes the format specified by the statement_text_matcher_type field.
statement_text_matcher_typeCHARSpecifies the type of string comparison to use for matching statement text to queries. This value must be LIKE or REGEX and is required if you specify a ‘statement_text’ field.
half_parallelismBOOLEANDetermines whether the VM uses half of the available cores for each operator in this query rather than the maximum possible parallelism. Setting this value can reduce overhead and latency for queries, but it significantly decreases data throughput. So, updating this value should be rare outside of Ocient Support work.
load_balance_shuffleBOOLEANDetermines whether the optimizer includes a load-balancing network operator above I/O for each query. This field can add latency to queries, but it will likely increase data throughput. If unset, the choice is left to the optimizer. So, updating this value should be rare outside of Ocient Support work.
parallelismINTDetermines the number of parallel cores to use for each operator in the VM. This value must be nonzero. If unset, the choice is left to the VM. So, updating this value should be rare outside of Ocient Support work.
minimize_query_debug_recordsBOOLEANThis value determines whether the optimizer and VM should attempt to limit debug metrics and logging for queries associated with this service class. Limiting query observability may improve performance for workloads running many queries per second.
memory_optimal_strategyBOOLEANThis value determines whether the optimizer and VM should attempt to lower the memory requirements of a query regardless of potential execution time penalties. So, updating this value should be rare outside of Ocient Support work.

sys.service_classes_for_user

The service_classes_for_user view shows groups that each user belongs to and the service class for each group.
Column NameColumn TypeColumn Description
user_nameCHARUsername.
group_nameCHARName of the group.
service_class_nameCHARThe name of the service class.
Information Schema