Skip to content

Commit

Permalink
Add info about run duration (#4404)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

Add info that the limit for run duration is 24 hours

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [x] Need review from product team
  • Loading branch information
nghi-ly authored Nov 6, 2023
2 parents ef1d2a2 + bd770d0 commit c7febc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/docs/docs/deploy/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ In dbt Cloud, there are two types of jobs:
- [Deploy jobs](/docs/deploy/deploy-jobs) — To create and set up triggers for building production data assets
- [Continuous integration (CI) jobs](/docs/deploy/continuous-integration) — To create and set up triggers for checking code changes

Below is a comparison table that describes how deploy jobs and CI jobs behave differently:
Below is a comparison table that describes how deploy jobs and CI jobs behave:

| | Deploy Jobs | CI Jobs |
| --- | --- | --- |
Expand All @@ -19,4 +19,5 @@ Below is a comparison table that describes how deploy jobs and CI jobs behave di
| Destination | Builds into a production database and schema. | Builds into a staging database and ephemeral schema, lived for the lifetime of the PR. |
| Execution mode | Runs execute sequentially, so as to not have collisions on the underlying DAG. | Runs execute in parallel to promote team velocity. |
| Efficiency run savings | Detects over-scheduled jobs and cancels unnecessary runs to avoid queue clog. | Cancels existing runs when a newer commit is pushed to avoid redundant work. |
| State comparison | Only sometimes needs to detect state. | Almost always needs to compare state against the production environment to build on modified code and its dependents. |
| State comparison | Only sometimes needs to detect state. | Almost always needs to compare state against the production environment to build on modified code and its dependents. |
| Job run duration | Limit is 24 hours. | Limit is 24 hours. |

0 comments on commit c7febc0

Please sign in to comment.