State management
How Vulcan remembers what it has already done: the PostgreSQL state store, the object store cache, and the two Secrets that connect them.
Vulcan keeps a record of the current state of a project. It is Vulcan's memory: it records what has already happened, what is currently active, and what needs to change next. This is what lets Vulcan detect real changes without re-comparing an entire project, avoid repeating work it has already done, and apply updates safely across environments.
That state is not held in the project files. It lives in two backing stores that Vulcan connects to at runtime:
PostgreSQL state store: the project state itself, such as fingerprints, plans, environments, and versions.
Object store: cached query outputs, so results can be reused instead of recomputed.
Both are provisioned as part of Data Plane infrastructure setup, and Vulcan reads their connection details from two Secrets in the Tenant.
PostgreSQL state store
The PostgreSQL state store is where Vulcan tracks the current state of the project. It can hold information such as:
Which models or queries have already been processed
Which version of a model is currently active
What changed between the previous run and the current run
Which environments exist, such as development, staging, or production
What data intervals or time ranges have already been loaded
Which cached or generated outputs are connected to the current project state
The database itself is the PostgreSQL instance provisioned for the Data Plane: Amazon RDS on AWS, Azure Database for PostgreSQL on Azure.
Object store
The object store is where Vulcan saves cached query outputs. When a query runs, Vulcan generates result files that can be reused later. Instead of running the same query again, Vulcan reads the saved results from the object store. This reduces compute cost, improves response time, and makes results available across users and environments.
Vulcan supports Amazon S3, Azure Blob Storage, and Google Cloud Storage as object store backends.
Configure the connections
Vulcan receives the connection details for both stores through two Secrets.
The manifests below are here so you know what Vulcan reads at runtime.
PostgreSQL state store Secret
USERNAME
User that Vulcan connects to the state database as.
PASSWORD
Password for that user.
HOST
Hostname or endpoint of the PostgreSQL instance provisioned for the Data Plane.
PORT
Port the instance listens on, 5432 unless it was changed.
DATABASE
Database Vulcan writes its state to.
Object store Secret
Choose the configuration corresponding to your object store and create the Secret using the applicable manifest.
STORAGE_FORMAT
Backend type, s3.
AWS_ACCESS_KEY
Access key of the IAM identity with read and write access to the bucket.
AWS_SECRET_KEY
Secret key for that identity.
BUCKET
Bucket holding the cached outputs.
RELATIVE_PATH
Path within the bucket that Vulcan writes under.
AWS_ENDPOINT
S3 endpoint for the bucket's region.
AWS_REGION
Region the bucket lives in.
STORAGE_FORMAT
Backend type, azure.
RELATIVE_PATH
Path within the container that Vulcan writes under.
AZURE_CONTAINER
Blob container holding the cached outputs.
AZURE_STORAGE_ACCOUNT
Storage account the container belongs to.
AZURE_STORAGE_KEY
Access key for that storage account.
STORAGE_FORMAT
Backend type, azure.
RELATIVE_PATH
Path within the container that Vulcan writes under.
AZURE_CONTAINER
Blob container holding the cached outputs.
AZURE_STORAGE_ACCOUNT
Storage account the container belongs to.
AZURE_TENANT_ID
Entra ID tenant the service principal is registered in.
AZURE_CLIENT_ID
Application ID of the service principal.
AZURE_CLIENT_SECRET
Client secret for that service principal.
STORAGE_FORMAT
Backend type, gcs.
RELATIVE_PATH
Path within the bucket that Vulcan writes under.
BUCKET
Bucket holding the cached outputs.
GCS_PROJECT_ID
Google Cloud project the bucket belongs to.
GCS_CREDENTIALS_FILE
Service account key JSON for an account with read and write access to the bucket.
Where to go next
Provision Data Plane - where the PostgreSQL instance and object store come from in the first place.
Run and plan - how Vulcan uses this state to decide what changed and what to execute.
Last updated
Was this helpful?