Skip to content

Commit

Permalink
Merge pull request #2893 from neondatabase/docs-unarchived-branch-limits
Browse files Browse the repository at this point in the history
docs: unarchived branch limits
  • Loading branch information
danieltprice authored Feb 7, 2025
2 parents 2e023e7 + e36fc46 commit 4699128
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions content/docs/guides/branch-archiving.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ To minimize storage costs, Neon automatically archives branches that are:

Both conditions must be true for a branch to be archived.

Additionally, these conditions apply:
However, a branch **cannot** be archived if it:

- A branch cannot be archived if it has an unarchived child branch.
- A child branch must be archived before a parent branch can be archived.
- [Protected branches](/docs/guides/protected-branches) are not archived.
- Has an **unarchived child branch**.
- Has **computes running**.
- Is **in transition** (e.g., currently being created or unarchived).
- Is a **protected branch** ([learn more](/docs/guides/protected-branches)).

<Admonition type="note">
If your Neon project was inactive for more than a week before the introduction of branch archiving on November 11, 2024, the thresholds mentioned above do not come into effect until the next time you access branches in your project.
Expand All @@ -44,6 +45,8 @@ If your Neon project was inactive for more than a week before the introduction o

Connecting to an archived branch, querying it, or performing some other action that accesses it will trigger the unarchive process. Branches with large amounts of data may experience slightly slower connection and query times while a branch is being unarchived.

For projects on paid Neon plans, there is a limit of **100 unarchived branches per project**. If a project reaches this limit, Neon archives branches **without waiting** for the 14-day or 24-hour archiving criteria described above.

<Admonition type="note">
When a branch is unarchived, its parent branches, all the way up to the root branch, are also unarchived.
</Admonition>
Expand Down
6 changes: 3 additions & 3 deletions content/docs/introduction/plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The Launch plan includes the following usage allowances:
| Usage type | Plan allowance |
| :------------------ | :--------------------------------------------------------------- |
| **Projects** | 100 Neon projects |
| **Branches** | 500 per project |
| **Branches** | 5000 per project |
| **Databases** | 500 per branch |
| **Storage** | 10 GB-month |
| **Archive Storage** | 50 GB-month |
Expand Down Expand Up @@ -126,7 +126,7 @@ The Scale plan includes the following usage allowances:
| Usage type | Plan allowance |
| :------------------ | :--------------------------------------------------------------- |
| **Projects** | 1000 Neon projects |
| **Branches** | 500 per project |
| **Branches** | 5000 per project |
| **Databases** | 500 per branch |
| **Storage** | 50 GB-month |
| **Archive Storage** | 250 GB-month |
Expand Down Expand Up @@ -167,7 +167,7 @@ The Business plan includes the following usage allowances:
| Usage type | Plan allowance |
| ------------------- | ----------------------------------------------------------------- |
| **Projects** | 5000 Neon projects |
| **Branches** | 500 per project |
| **Branches** | 5000 per project |
| **Databases** | 500 per branch |
| **Storage** | 500 GB-month |
| **Archive Storage** | 2500 GB-month |
Expand Down

0 comments on commit 4699128

Please sign in to comment.