Operations
System relations The read-only system relations a NYXDB node registers, grouped by area, with the permission each read needs and the purpose where verified.
System relations are read-only system.<name> relations maintained by the
engine. The list below gives every relation with the permission its read needs
and its purpose.
Use an ordinary SELECT, over HTTP or a WebSocket session.
Each read needs the listed administrative permission. For several areas an
older manage permission (for example credential_manage for
system.credentials) still admits the read. Relations marked — have no
administrative read action.
Rows carry observation fields such as observed_at_millis and
freshness_millis.
A one-shot read may project columns, filter, order and limit.
STREAM SELECT … FROM system.<name> streams a relation, with filters and
projections.
SELECT *
FROM system . query_history ;
SELECT
row_id ,
source_relation_id ,
derived_relation_id ,
target_relation_id ,
transformation_revision
FROM system . derived_lineage ;
SELECT
name ,
source_position ,
rows_written ,
completed_rows ,
transformation_revision
FROM system . transformation_revisions ;
system.query_history holds the SQL text as executed, so grant
telemetry_read only to principals that may see every statement. Credential
statements are the exception: history holds only their redacted form.
Relation Read permission Purpose system.catalog_relations— system.tables— One row per table, with relation_id and name. SHOW TABLES reads it. system.table_columns— The columns of each table. DESCRIBE reads it. system.table_keys— system.table_attribute_groups— system.table_indexes— system.table_index_builds— system.table_partitions— system.table_projections— system.table_storage_plans— system.table_column_codecs— system.table_policy_bindings— system.table_identities— system.table_tablets—
Relation Read permission Purpose system.viewsderived_state_readsystem.materialized_viewsderived_state_readsystem.transformationsderived_state_readOne row per transformation, with derived_relation_id and its declared name. system.transformation_revisionsderived_state_readOne row per transformation revision: name, source_position, rows_written, completed_rows, condition, health, lag_source_sequences. system.transformation_frontiersderived_state_readPer source tablet of each transformation: the applied source_sequence, the retained floor and pending outputs. system.transformation_validationderived_state_readsystem.transformation_maintenancetelemetry_readsystem.derived_lineagederived_state_readOne row per declared source of each transformation: source, derived and target relation, and the revision. system.derived_dependenciesderived_state_readsystem.derived_authorityderived_state_readsystem.derived_operationsderived_state_read
Relation Read permission Purpose system.psi_streamsarrangement_readsystem.psi_arrangementsarrangement_readsystem.continuous_sourcesarrangement_readsystem.continuous_edge_dead_letterstelemetry_read
Relation Read permission Purpose system.queriestelemetry_readsystem.query_historytelemetry_readRecent queries: request id, principal, kind, state, status, the full SQL text (not redacted), timings and delivered rows and bytes. Held in process memory, 4,096 entries by default (gateway.observability.query_history_entries), rebuilt empty at restart. system.query_statstelemetry_readOne row per normalized statement digest: executions, failures, cancellations and timing totals. system.query_tracestelemetry_readsystem.query_telemetry_rollupstelemetry_readsystem.query_telemetry_statustelemetry_readsystem.query_definition_associationstelemetry_readsystem.telemetry_metricstelemetry_readsystem.telemetry_eventstelemetry_readsystem.telemetry_profilestelemetry_readsystem.health_signalstelemetry_read
Relation Read permission Purpose system.settingstelemetry_readOne row per registered setting: name, scope, value, whether it is the default, its source, type, unit, allowed values and documentation fields.
Relation Read permission Purpose system.operationsoperation_readAdministrative operations, kept in a durable journal under the data directory. system.load_operationstelemetry_readsystem.relation_ledgertelemetry_readsystem.relation_retirementstelemetry_readsystem.bounded_gatestelemetry_readsystem.bounded_gate_waitstelemetry_readsystem.wal_reclamation_blockerstelemetry_readsystem.typed_image_retentiontelemetry_read
Relation Read permission Purpose system.database_principalsgovernance_readsystem.rolesgovernance_readsystem.role_bindingsgovernance_readsystem.grantsgovernance_readsystem.administrative_grantsgovernance_readsystem.credentialsgovernance_readCredentials per principal with their kind and status; no digest, salt or secret. system.audit_logaudit_read
Relation Read permission Purpose system.application_accessesgovernance_readApplication accesses on a federation host: status, secret generation and grants. system.sourcestelemetry_readFederation sources on a consumer: endpoint, credential id, lifecycle (ready, paused, unavailable) and the last status. system.external_relationstelemetry_readExternal relations on a consumer: the host binding, mode and state. system.application_subscriptionstelemetry_readsystem.application_subscription_historytelemetry_readsystem.application_usage_directtelemetry_readsystem.application_usage_allocatedtelemetry_readsystem.application_usage_grosstelemetry_readsystem.application_usage_physicaltelemetry_readsystem.application_direct_usage_historytelemetry_readsystem.usage_rollupstelemetry_readsystem.arrangement_usage_historytelemetry_read
Relation Read permission Purpose system.cluster_nodestelemetry_readsystem.node_servicestelemetry_readsystem.node_resourcestelemetry_readsystem.resource_allocationstelemetry_readsystem.tabletstelemetry_readEach tablet with its relation, owner_epoch and committed_frontier. system.storagestorage_readsystem.storage_policiesstorage_readsystem.object_poolsstorage_readsystem.index_residencystorage_readsystem.tiering_movesstorage_readsystem.replicationreplication_readsystem.replication_groupsreplication_readsystem.replicasreplication_read
The replication, object-pool and tiering relations describe replicas and data
placement across nodes; see Deployment topologies .
system.derived_lineage holds the lineage of every derived relation, and
SHOW FUNCTIONS lists the function library; each function is documented in the
function reference .