> For the complete documentation index, see [llms.txt](https://docs.marpledata.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.marpledata.com/docs/marple-db/datastreams/lifecycle-rules.md).

# Lifecycle Rules

Automate storage management

<figure><img src="https://3590686807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEBNWlmdcxXBXd7oyqyR%2Fuploads%2FuUj9AR1rOeFn26iD3MSB%2FScreenshot%202026-11-18%20at%2017.15.52.png?alt=media&amp;token=6b7f0051-83d4-4e74-9963-2f9d7739d071" alt=""><figcaption><p>Configure the rules under Settings -> Data ingestion -> Lifecycle rules</p></figcaption></figure>

{% hint style="info" %}
Lifecycle rules move data down the storage tiers automatically: from hot (Postgres) to cold (Iceberg), and from cold to archive. This keeps storage costs down without manual cleanup.
{% endhint %}

#### Overview

<table><thead><tr><th>Rule</th><th>What it does</th><th width="224.5">Minimum</th></tr></thead><tbody><tr><td>Hot → cold</td><td>Cools signals that were heated more than N days ago</td><td>30 days</td></tr><tr><td>Cold → archive</td><td>Archives signals that have been cold for more than N days</td><td>100 days</td></tr><tr><td>Live → cold</td><td>Cools live datasets whose last datapoint is more than N days old</td><td>1 day</td></tr><tr><td>Keep priority signals</td><td>When archiving, keep the priority signals in cold storage</td><td></td></tr></tbody></table>

#### Archived signals

Archiving removes a signal's data from cold storage. The signal stays visible with its metadata, but its data can't be read or heated anymore.

To get an archived signal back, re-import its dataset. For signals uploaded through the API, upload them again.
