> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datafold.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Storage and Security

> **What data does Datafold ingest and store?**
>
> Datafold ingests and stores various types of data to ensure accurate data quality checks and insights:
>
> * **Metadata**: This includes table names, column names, and queries executed in the data warehouse.
> * **Data for Data Diffs**:
>   * For **in-database diffs**, all data visible in the app, including data samples, is fetched and stored.
>   * For **cross-database diffs**, all data visible in the app, including data samples, is fetched and stored. Larger amounts of data are fetched for comparison purposes, but only data samples are stored.
> * **Table Profiling in Data Explorer**: Datafold stores samples and distributions of data to provide detailed profiling.
>
> Sampled data is kept until you delete it, or until the **Data retention period** set on each data connection expires. Public sharing links for data diffs, which anyone with the link can open without a Datafold account, are off by default and controlled in **Settings → Org Settings**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.