Skip to main content
Schema: canton.core Table: fact_updates Type: View

What

Description

Tracks Canton update-level information. An update is a transaction that contains one or more events and represents an atomic change to the blockchain state.

Key Use Cases

  • Understanding transaction-level activity
  • Analyzing update throughput and patterns
  • Joining to events to see all changes in a single transaction
  • Tracking workflow and synchronizer information

Important Relationships

  • Parent table to core__fact_events (one update has many events)
  • Links to events via update_id

Commonly-used Fields

  • update_id: Unique identifier for the update
  • migration_id: Canton migration identifier
  • effective_at: When the update occurred
  • synchronizer_id: The synchronizer that processed the update
  • workflow_id: Workflow identifier
  • root_event_ids: The top-level events in this update
  • event_count: Number of events in this update

Columns

Column NameData TypeDescription
UPDATE_IDTEXTUPDATE_ID column
MIGRATION_IDNUMBERMIGRATION_ID column
RECORD_TIMETIMESTAMP_NTZRECORD_TIME column
EFFECTIVE_ATTIMESTAMP_NTZEFFECTIVE_AT column
SYNCHRONIZER_IDTEXTSYNCHRONIZER_ID column
WORKFLOW_IDTEXTWORKFLOW_ID column
ROOT_EVENT_IDSVARIANTROOT_EVENT_IDS column
EVENT_COUNTNUMBEREVENT_COUNT column
FACT_UPDATE_IDTEXTFACT_UPDATE_ID column
INSERTED_TIMESTAMPTIMESTAMP_NTZINSERTED_TIMESTAMP column
MODIFIED_TIMESTAMPTIMESTAMP_NTZMODIFIED_TIMESTAMP column