> For the complete documentation index, see [llms.txt](https://docs.workflowgen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.workflowgen.com/features/9.8/database-and-file-repository-growth.md). Agents can also search and read this documentation through its [MCP server](https://docs.workflowgen.com/~gitbook/mcp).

# Database and File Repository Growth

The growth of the database and file repository (including form archives, form state data, and document attachments, if used) depends primarily on the number of requests launched, the number of actions per request, and the amount of data captured at each action.

Retaining detailed form data at each action allows users to review the data entered at every step of a process, but typically requires 3 to 10 times as much disk space as retaining only the final result. Regardless of the form data retention method, WorkflowGen maintains a history of who performed each action and when.

Database growth also depends on the Change events capture mode and retention settings, particularly when using Full capture mode.

Annual storage requirements can be estimated based on the expected number of requests, the average number of actions per request, and the average amount of data retained per action, taking into account any additional storage required for Change events.

## Example with full data archiving

### Assumptions

* 10 actions per process on average over all processes in production<br>
* 10,000 process launches per year (× 10 = 100,000 actions)<br>
* Typical average data stored in the database per action of about 3 kB<br>
* Typical average form snapshot archive and state content per action of about 50 kB<br>
* Assuming an average attachment size of 300 kB per request (some actions have no attachments)

### Results

* Approximately 300 MB of database growth per year<br>
* Approximately 5 GB of file repository growth per year for the form archive and content<br>
* Approximately 3 GB of additional file repository for attachments

## Example with limited data archiving

### Assumptions

* 10 actions per process on average over all processes in production<br>
* 10,000 process launches per year (× 10 = 100,000 actions)<br>
* Typical cumulative one-time data stored at process end of about 5 kB

### Results

* Approximately 50 MB of database growth per year<br>
* Approximately 500 MB of file repository growth per year for the form archive and content<br>
* Approximately 300 MB of additional file repository for attachments


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.workflowgen.com/features/9.8/database-and-file-repository-growth.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
