---
title: "Document Extensions Overview"
description: "Extend RavenDB documents with attachments, counters, time series, and revisions — stored separately to avoid modifying parent documents on updates."
url: "https://docs.ravendb.net/7.2/document-extensions/overview"
version: "7.2"
---

# Document Extensions Overview

> 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."

> **Note**
>
> - Document extensions are data entities associated with documents.
>
> - Document extensions are stored separately, so **modifying** an extension (e.g., a counter or time series entry)  
>   does not modify the parent document.
>
> - **Creating or deleting** an extension modifies the parent document's metadata.  
>   This change may trigger indexing, ETL tasks, or other operations.
>
> - On a [sharded database](https://docs.ravendb.net/7.2/sharding/overview.md), document extensions are stored in the same bucket as their parent document.  
>   Learn more in [Sharding: Document Extensions](https://docs.ravendb.net/7.2/sharding/document-extensions.md).
>
> - In this article:
>   - [Document extensions](#document-extensions)
>   - [Document extensions in Studio](#document-extensions-in-studio)

## Document extensions {#document-extensions}

- [Counters](https://docs.ravendb.net/7.2/document-extensions/counters/overview.md)  
  RavenDB’s distributed counters are numeric values attached to documents,  
  used to maintain and increment counts in the database, across all nodes in the cluster.  
  They are suitable for counting tasks in a distributed environment, such as tracking views, votes, or usage metrics.

- [Attachments](https://docs.ravendb.net/7.2/document-extensions/attachments/overview.md)  
  Attachments are binary streams (e.g., videos, images, PDFs) that can be associated with an existing document.

- [Time Series](https://docs.ravendb.net/7.2/document-extensions/timeseries/overview.md)  
  Time series are sequences of timestamped values collected over time, stored consecutively,  
  and optimized for efficient, high-performance data handling across the cluster.

- [Revisions](https://docs.ravendb.net/7.2/document-extensions/revisions/overview.md)  
  Revisions are snapshots of documents and their associated data,  
  allowing access to the document’s full history over time.

## Document extensions in Studio {#document-extensions-in-studio}

### Extensions flags

![Document Extensions in Collections View](https://docs.ravendb.net/assets/images/extensions-collections-view-b9ce26e15ec27de1ea20a936035a502e.png)

1. **Documents Tab**  
   Open the *Documents* tab.
2. **Collection**  
   Select a collection.
3. **Extensions flags**  
   View which types of extensions are associated with the documents.
   ![Document Extensions Icons](https://docs.ravendb.net/assets/images/extensions-logos-1cd8914576113c3dc8e1fb53238d4608.png)

---

### Extensions in the document view

Open a specific document to view and manage its extensions.

![Managing Document Extensions in Studio](https://docs.ravendb.net/assets/images/extensions-managing-single-doc-1767de9d2c7b2b2680d7b3bf0c1efce1.png)

1. Attachments
2. Counters
3. Time Series
4. Revisions
