Skip to content
Discussion options

You must be logged in to vote

DAGSTER_HOME/history/runs/index.db is a SQLite index database that Dagster maintains to make run-history queries fast without scanning individual run files.

What it stores

When Dagster uses the default local SQLite storage backend, each run's event log is stored as a separate SQLite file under DAGSTER_HOME/storage/{run_id}/. The index.db keeps a centralized, queryable index of run-level metadata across all of those per-run files:

  • Run IDs, statuses, and run tags
  • Timestamps (start, end)
  • Job/pipeline names and snapshot hashes
  • Which runs are in which step / asset partitions

Without this index, Dagster would have to open every individual run file to answer a query like "give me all failed ru…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cmpadden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants