Constants§
- CONFIDENCE_
COLUMN - DEFAULT_
CATALOG_ NAME - DEFAULT_
PRIVATE_ SCHEMA_ NAME - DEFAULT_
SCHEMA_ NAME - DST_
ID_ COLUMN - DST_
TYPE_ COLUMN - DURATION_
COUNT_ COLUMN - DURATION_
MAX_ COLUMN - DURATION_
NANO_ COLUMN - DURATION_
SUM_ COLUMN - EDGE_
ATTRIBUTES_ COLUMN - ENTITY_
DESCRIPTIVE_ COLUMN - ENTITY_
ID_ ATTRS_ COLUMN - ENTITY_
ID_ COLUMN - ENTITY_
SCOPE_ COLUMN - ENTITY_
TYPE_ COLUMN - ERROR_
COUNT_ COLUMN - FILE_
ENGINE - FRESH_
UNTIL_ COLUMN - GENERATION_
ID_ COLUMN - INFORMATION_
SCHEMA_ ALERTS_ TABLE_ ID - id for information_schema.alerts
- INFORMATION_
SCHEMA_ BUILD_ INFO_ TABLE_ ID - id for information_schema.build_info
- INFORMATION_
SCHEMA_ CHARACTER_ SETS_ TABLE_ ID - id for information_schema.CHARACTER_SETS
- INFORMATION_
SCHEMA_ CHECK_ CONSTRAINTS_ TABLE_ ID - id for information_schema.CHECK_CONSTRAINTS
- INFORMATION_
SCHEMA_ CLUSTER_ INFO_ TABLE_ ID - id for information_schema.cluster_info
- INFORMATION_
SCHEMA_ COLLATIONS_ TABLE_ ID - id for information_schema.COLLATIONS
- INFORMATION_
SCHEMA_ COLLATION_ CHARACTER_ SET_ APPLICABILITY_ TABLE_ ID - id for information_schema.COLLATIONS
- INFORMATION_
SCHEMA_ COLUMNS_ TABLE_ ID - id for information_schema.columns
- INFORMATION_
SCHEMA_ COLUMN_ PRIVILEGES_ TABLE_ ID - id for information_schema.column_privileges
- INFORMATION_
SCHEMA_ COLUMN_ STATISTICS_ TABLE_ ID - id for information_schema.column_statistics
- INFORMATION_
SCHEMA_ ENGINES_ TABLE_ ID - id for information_schema.engines
- INFORMATION_
SCHEMA_ EVENTS_ TABLE_ ID - id for information_schema.EVENTS
- INFORMATION_
SCHEMA_ FILES_ TABLE_ ID - id for information_schema.FILES
- INFORMATION_
SCHEMA_ FLOW_ STATISTICS_ TABLE_ ID - id for information_schema.flow_statistics
- INFORMATION_
SCHEMA_ FLOW_ TABLE_ ID - id for information_schema.FLOWS
- INFORMATION_
SCHEMA_ GLOBAL_ STATUS_ TABLE_ ID - id for information_schema.GLOBAL_STATUS
- INFORMATION_
SCHEMA_ KEY_ COLUMN_ USAGE_ TABLE_ ID - id for information_schema.KEY_COLUMN_USAGE
- INFORMATION_
SCHEMA_ NAME - INFORMATION_
SCHEMA_ OPTIMIZER_ TRACE_ TABLE_ ID - id for information_schema.OPTIMIZER_TRACE
- INFORMATION_
SCHEMA_ PARAMETERS_ TABLE_ ID - id for information_schema.PARAMETERS
- INFORMATION_
SCHEMA_ PARTITIONS_ TABLE_ ID - id for information_schema.PARTITIONS
- INFORMATION_
SCHEMA_ PLUGINS_ TABLE_ ID - id for information_schema.PLUGINS
- INFORMATION_
SCHEMA_ PROCEDURE_ INFO_ TABLE_ ID - id for information_schema.procedure_info
- INFORMATION_
SCHEMA_ PROCESSLIST_ TABLE_ ID - id for information_schema.PROCESSLIST (for mysql)
- INFORMATION_
SCHEMA_ PROCESS_ LIST_ TABLE_ ID - id for information_schema.process_list
- INFORMATION_
SCHEMA_ PROFILING_ TABLE_ ID - id for information_schema.PROFILING
- INFORMATION_
SCHEMA_ RECYCLE_ BIN_ TABLE_ ID - id for information_schema.recycle_bin
- INFORMATION_
SCHEMA_ REFERENTIAL_ CONSTRAINTS_ TABLE_ ID - id for information_schema.REFERENTIAL_CONSTRAINTS
- INFORMATION_
SCHEMA_ REGION_ INFO_ TABLE_ ID - id for information_schema.region_info
- INFORMATION_
SCHEMA_ REGION_ PEERS_ TABLE_ ID - id for information_schema.REGION_PEERS
- INFORMATION_
SCHEMA_ REGION_ STATISTICS_ TABLE_ ID - id for information_schema.region_statistics
- INFORMATION_
SCHEMA_ ROUTINES_ TABLE_ ID - id for information_schema.ROUTINES
- INFORMATION_
SCHEMA_ SCHEMATA_ TABLE_ ID - id for information_schema.SCHEMATA
- INFORMATION_
SCHEMA_ SCHEMA_ PRIVILEGES_ TABLE_ ID - id for information_schema.SCHEMA_PRIVILEGES
- INFORMATION_
SCHEMA_ SESSION_ STATUS_ TABLE_ ID - id for information_schema.SESSION_STATUS
- INFORMATION_
SCHEMA_ SSTS_ INDEX_ META_ TABLE_ ID - id for information_schema.ssts_index_meta
- INFORMATION_
SCHEMA_ SSTS_ MANIFEST_ TABLE_ ID - id for information_schema.ssts_manifest
- INFORMATION_
SCHEMA_ SSTS_ STORAGE_ TABLE_ ID - id for information_schema.ssts_storage
- INFORMATION_
SCHEMA_ STATISTICS_ TABLE_ ID - id for information_schema.statistics
- INFORMATION_
SCHEMA_ TABLES_ TABLE_ ID - —– Begin of information_schema tables —– id for information_schema.tables
- INFORMATION_
SCHEMA_ TABLE_ CONSTRAINTS_ TABLE_ ID - id for information_schema.columns
- INFORMATION_
SCHEMA_ TABLE_ PRIVILEGES_ TABLE_ ID - id for information_schema.TABLE_PRIVILEGES
- INFORMATION_
SCHEMA_ TABLE_ SEMANTICS_ TABLE_ ID - id for information_schema.table_semantics
- INFORMATION_
SCHEMA_ TRIGGERS_ TABLE_ ID - id for information_schema.TRIGGERS (for mysql)
- INFORMATION_
SCHEMA_ USER_ PRIVILEGES_ TABLE_ ID - id for information_schema.USER_PRIVILEGES
- INFORMATION_
SCHEMA_ VIEW_ TABLE_ ID - id for information_schema.VIEWS
- MAX_
SYS_ TABLE_ ID - the max system table id
- METRIC_
ENGINE - MIN_
USER_ FLOW_ ID - Reserves [0,MIN_USER_FLOW_ID) for internal usage. User defined table id starts from this value.
- MIN_
USER_ TABLE_ ID - Reserves [0,MIN_USER_TABLE_ID) for internal usage. User defined table id starts from this value.
- MITO2_
ENGINE - MITO_
ENGINE - NUMBERS_
TABLE_ ID - numbers table id
- OBSERVED_
AT_ COLUMN - PARENT_
SPAN_ ID_ COLUMN - PG_
CATALOG_ NAME - PG_
CATALOG_ TABLE_ ID_ START - —– Begin of pg_catalog tables —–
- PROVENANCE_
COLUMN - REL_
TYPE_ COLUMN - REQUEST_
COUNT_ COLUMN - RESOURCE_
ATTRIBUTES_ COLUMN - Column containing resource attributes as JSON2.
- SCOPE_
ATTRIBUTES_ COLUMN - Column containing instrumentation scope attributes as JSON2.
- SCRIPTS_
TABLE_ ID - scripts table id
- SEMANTIC_
ENTITIES_ TABLE_ ID - id for greptime_private.semantic_entities (computed entity registry)
- SEMANTIC_
ENTITIES_ TABLE_ NAME - Computed entity registry: the node set of the observability graph, derived at
read time from tables that declared
greptime.semantic.entity.*identities. - SEMANTIC_
GRAPH_ WINDOW_ NANOS - Width of the window the graph derivation bins observations into. Sources synthesizing observations must land a row in every window they describe, so this is shared rather than restated per crate.
- SEMANTIC_
RELATIONSHIPS_ DECLARED_ TABLE_ NAME - Physical table of hand-declared edges, unioned into the computed
semantic_relationships; seeis_ddl_reserved_tablefor its lifecycle. - SEMANTIC_
RELATIONSHIPS_ TABLE_ ID - id for greptime_private.semantic_relationships (computed edge set)
- SEMANTIC_
RELATIONSHIPS_ TABLE_ NAME - Computed relationship set: the edge set of the observability graph, derived at
read time (
calls/runs_on/… ) and unioned with the declared-edge table. - SEMANTIC_
TYPE_ FIELD - SEMANTIC_
TYPE_ PRIMARY_ KEY - SEMANTIC_
TYPE_ TIME_ INDEX - SERVICE_
NAME_ COLUMN - SOURCE_
TABLES_ COLUMN - SPAN_
ATTRIBUTES_ COLUMN - Column containing span attributes as JSON/JSON2.
- SPAN_
ID_ COLUMN - SPAN_
KIND_ CLIENT - SPAN_
KIND_ COLUMN - SPAN_
KIND_ SERVER - SPAN_
NAME_ COLUMN - SPAN_
STATUS_ CODE_ COLUMN - SPAN_
STATUS_ ERROR - SRC_
ID_ COLUMN - SRC_
TYPE_ COLUMN - SYSTEM_
CATALOG_ NAME - SYSTEM_
CATALOG_ TABLE_ ID - system_catalog table id
- SYSTEM_
CATALOG_ TABLE_ NAME - SYSTEM_
SCHEMA_ 🔒NAMES - TRACE_
ID_ COLUMN - TRACE_
TABLE_ NAME - TRACE_
TABLE_ NAME_ SESSION_ KEY - TRACE_
TIMESTAMP_ COLUMN - UNMATCHED_
COUNT_ COLUMN - VALID_
FROM_ COLUMN - VALID_
UNTIL_ COLUMN - WINDOW_
END_ COLUMN - WINDOW_
START_ COLUMN
Functions§
- default_
engine - is_
ddl_ reserved_ table - Returns true for tables whose definition is system-owned while their rows are user-written: created with a canonical schema on first write; user CREATE/ALTER/RENAME-into rejected; DML and DROP/TRUNCATE allowed (the next write recreates the table). Currently only the declared-edge table.
- is_
readonly_ schema - is_
readonly_ table - Returns true for tables that must reject DDL/DML: everything in a read-only
schema, plus computed system tables overlaid on a writable schema (the
entity-graph tables under
greptime_private). - system_
schema_ name - Returns the canonical name of the system schema
schemarefers to, ignoring ASCII case, orNoneif it is not one. - trace_
operations_ table_ name - Generate the trace operations table name from the trace table name by adding
_operationssuffix. - trace_
services_ table_ name - Generate the trace services table name from the trace table name by adding
_servicessuffix.