Using Defer to Production in Paradime
The --defer feature in Paradime allows you to leverage production data and schemas during development, significantly speeding up your dbt™ workflow. This guide will walk you through using --defer, from basic usage to advanced features.
Prerequisites
A connected Scheduler Connection to your data warehouse
An existing Bolt Schedule
An Enabled "Defer to Production" Schedule
Understanding defer
deferHow It Works
When using --defer, dbt™ resolves ref() calls based on two key criteria:
Is the referenced node included in the current run's model selection?
Does the referenced node exist as a database object in your development environment?
If the answer to both questions is No, then --defer resolves the ref() call using the namespace from the state manifest of the specified production schedule. This means you'll be reading from production tables instead of building them in your development environment.
Benefits
With Paradime's defer to production feature, you can continuously develop using production data and schemas. When you enable defer to prod in a dbt™ run command, Paradime automatically fetches the latest manifest.json, ensuring you always work with the most current production state.
Using Defer to Production in the Code IDE

Enabling Defer to Production
You can enable defer to production directly in the Code IDE:
Locate the defer menu in the editor toolbar, positioned next to the run button
Click on the defer menu to reveal the available options
Choose between:
Standard defer to production - References production objects only when necessary
Defer with --favor-state - Always prioritizes reading from the production manifest
When defer to production is enabled, both the data preview and terminal commands will automatically defer to production manifests.
Using --favor-state
If you always want to read from your production manifest (even when models exist in your development environment), select the --favor-state option. This ensures maximum consistency with your production environment during development.
Example: Deferred vs Standard Run
To illustrate the effect of using defer to prod, here's a comparison of compiled SQL for the same model:
Deferred Run (Using Production Schema)
Standard Run (Using Development Schema)
Key Difference: Notice how the deferred run references the production schema (dbt_prod), while the standard run uses the development schema (dbt_fabio). This allows you to build only the models you're actively developing, while referencing stable upstream models from production.
Viewing the Deferred Schedule
After running a dbt™ command with "defer to prod" enabled, you can view details about the production run used for deferral:
Check the output in the Integrated Terminal
Look for the deferred schedule information, which includes a clickable URL
Click the URL to navigate to the Bolt UI for more detailed information about the production run
Last updated
Was this helpful?