When your database schema changes — new tables, renamed columns, removed schemas — your Omni model can fall out of sync. Run a schema refresh to tell Omni about those changes.Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
To trigger schema refreshes, you’ll need Modeler or Connection Admin permissions:- Modelers can perform schema refreshes on connections with exactly one shared model
- Connection Admins can refresh schemas on any connection they are an admin of, whether the connection has one or multiple models
Types of schema refreshes
There are two types of schema refreshes: hard and soft.| Type | What’s refreshed? | What’s reflected in Omni? |
|---|---|---|
| Hard refresh | Entire model (all schemas and tables) | All changes: |
| Soft refresh | Entire model or specific schemas and tables | Additive changes only: |
Triggering schema refreshes
Schema refreshes can be triggered manually or automated on a schedule. Kicking off a refresh starts a background job that can take several minutes depending on the size of the database.Manually
Schema refreshes can be triggered on an as-needed basis from the model IDE, from a connection’s settings page, or with the API.In the IDE
In the IDE
Open the model IDE
Open the refresh schema dialog
Choose hard or soft refresh
- Hard refresh of the entire model: leave the schema and table fields blank.
- Soft refresh of specific schemas and tables: add the objects you want to refresh, individually or with wildcard syntax (e.g.,
sales_*).
Trigger the refresh
In the connection's settings
In the connection's settings
Open the connection settings
Open the refresh schema dialog
Choose hard or soft refresh
- Hard refresh of the entire model: leave the schema and table fields blank.
- Soft refresh of specific schemas and tables: add the objects you want to refresh, individually or with wildcard syntax (e.g.,
sales_*).
Trigger the refresh
With the API
With the API
On a schedule
In the connection's settings
In the connection's settings
Open the connection settings
Open the refresh schedule dialog
Define the schedule
Choose hard or soft refresh
Create the schedule
With the API
With the API
Requiring branches for schema refreshes
If you prefer to review schema changes before they impact the shared model, enable the connection’s Branch based schema refresh setting. This will force schema refreshes to be performed in an Omni branch before they can be promoted to the shared model. When this setting is enabled:- On-demand and scheduled refreshes will be disabled
- Schema refreshes can only be triggered from the IDE. If you’re not in an existing branch, selecting Model > Refresh schema will prompt you to create a branch first.