Skip to content

Commit

Permalink
Add info about run duration
Browse files Browse the repository at this point in the history
  • Loading branch information
nghi-ly committed Nov 6, 2023
1 parent ef1d2a2 commit 77d599f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/docs/docs/deploy/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ tags: [scheduler]
pagination_next: "docs/deploy/deploy-jobs"
---

In dbt Cloud, there are two types of jobs:
In dbt Cloud, these 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 77d599f

Please sign in to comment.