---
title: "Data Archival"
description: "* As a database grows, basic functions like indexing can slow down."
url: "https://docs.ravendb.net/6.2/studio/database/settings/document-archival"
version: "6.2"
---

# Data Archival

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Data Archival

> **Note**
>
> - As a database grows, basic functions like indexing can slow down.  
>   To address this, RavenDB offers the ability to **archive selected documents**.
>
> - Documents that are rarely accessed or no longer relevant for active use,  
>   but still need to be kept for compliance or historical purposes, can be archived.
>
> - This feature is covered in detail in the following articles:
>   - [Data archival overview](https://docs.ravendb.net/6.2/data-archival/overview.md)
>   - [Enable data archiving](https://docs.ravendb.net/6.2/data-archival/enable-data-archiving.md)
>   - [Schedule document archiving](https://docs.ravendb.net/6.2/data-archival/schedule-document-archiving.md)
>   - [Archived documents and other features](https://docs.ravendb.net/6.2/data-archival/archived-documents-and-other-features.md)
>   - [Unarchiving documents](https://docs.ravendb.net/6.2/data-archival/unarchiving-documents.md)
