Repository navigation
docs: correct data retention for runs and storages #3233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
2c21a02
3cec5a5
7220141
4072d21
16be36a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,13 +15,13 @@ pagination: true | |||||
|
|
||||||
| **Q: What are the differences between default (unnamed) and named storage? Which one would you use for everyday usage?** | ||||||
|
|
||||||
| **A:** Unnamed storage is persisted for only 7 days, while named storage is persisted indefinitely. For everyday usage, it is best to use default unnamed storages unless the data should explicitly be persisted for more than 7 days. | ||||||
| **A:** Unnamed storage is deleted when your plan's data retention period ends, while named storage is persisted indefinitely. For everyday usage, it is best to use default unnamed storages unless the data should explicitly be persisted for longer. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| > With named storages, it's easier to verify that you're using the correct store, as they can be referred to by name rather than by an ID. | ||||||
|
|
||||||
| **Q: What is data retention, and how does it work for all types of storages (default and named)?** | ||||||
|
|
||||||
| **A:** Default/unnamed storages expire after 7 days unless otherwise specified. Named storages are retained indefinitely. | ||||||
| **A:** Default/unnamed storages are deleted when your plan's data retention period ends. Named storages are retained indefinitely. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't it say the exact same thing as the answer above? |
||||||
|
|
||||||
| ## Wrap up {#wrap-up} | ||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -129,7 +129,7 @@ To do the same with the API, pass `maxTotalChargeUsd` to the [Resurrect Actor ru | |||||
|
|
||||||
| ### Data retention | ||||||
|
|
||||||
| Apify securely stores your ten most recent runs indefinitely, ensuring your records are always accessible. All **Actor runs** beyond the latest ten are deleted along with their default storages (Key-value store, Dataset, Request queue) after the data retention period based on your [subscription plan](https://apify.com/pricing). | ||||||
| **Actor runs** are deleted along with their default storages (key-value store, dataset, request queue) when your plan's retention period ends. On the Free plan, your 10 most recent runs are kept for up to 4 months. For the retention period on each plan and how to change it, see [Data retention](/storage#data-retention). | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| **Actor builds** are deleted only when they are _not tagged_ and have not been used for over 90 days. | ||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -122,16 +122,14 @@ The SDKs and clients each have their own naming conventions. See: | |||||
|
|
||||||
| ## Data retention | ||||||
|
|
||||||
| How long Apify keeps your data depends on your plan. Unnamed storages and runs beyond the 10 most recent are deleted automatically; [named storages](#named-and-unnamed-storages) are retained indefinitely. | ||||||
| How long Apify keeps your data depends on your plan. Unnamed storages and Actor runs are deleted automatically when your plan's retention period ends; [named storages](#named-and-unnamed-storages) are retained indefinitely. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| :::info How retention periods are enforced | ||||||
|
|
||||||
| * Free plan: Your 10 most recent runs are retained for 4 months. | ||||||
| * Paid plans: All data (including your 10 most recent runs) follows your plan's retention period, which you can configure in your billing settings. | ||||||
| * Named storages: Always exempt from deletion regardless of retention periods. | ||||||
|
|
||||||
| Unnamed storages beyond the 10 most recent runs are deleted when the retention period expires. | ||||||
|
|
||||||
| ::: | ||||||
|
|
||||||
| ## Estimate your costs | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ A request queue supports breadth-first and depth-first crawling and custom data | |
|
|
||
| :::info Retention period | ||
|
|
||
| Named request queues are retained indefinitely. Unnamed request queues expire after 7 days unless otherwise specified. [Learn more](/storage#data-retention) | ||
| Named request queues are retained indefinitely. Unnamed request queues are deleted when your plan's retention period ends. [Learn more](/storage#data-retention) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this is a third almost identical admonition, we could turn it into a partial with a variable. On the other hand, it doesn't look like something that will be edited this often. |
||
|
|
||
| ::: | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.