# Data Retention Policy Treasure Data allows you to preserve, download, and even recover data for a limited period of time. Learn more about the data retention period for the following: * [Query Results](/requirements-and-limitations/data-retention-policy#query-results) * [Bulk Import Sessions](/requirements-and-limitations/data-retention-policy#bulk-import-sessions) * [Table Expiration](/requirements-and-limitations/data-retention-policy#table-expiration) * [Database Deletion](/requirements-and-limitations/data-retention-policy#database-deletion) * [Table Deletion](/requirements-and-limitations/data-retention-policy#table-deletion) * [Records Deletion](/requirements-and-limitations/data-retention-policy#records-deletion) * [Account Cancellation](/requirements-and-limitations/data-retention-policy#account-cancellation) * [Job History Accessibility](/requirements-and-limitations/data-retention-policy#job-history-accessibility) * [Data Landing Area](/requirements-and-limitations/data-retention-policy#data-landing-area) See also, [Expiring Data From a Table](/products/customer-data-platform/data-workbench/databases/expiring-data-from-a-table). | Type | Period | | --- | --- | | Query Results | 7 days | | Bulk Import Sessions | 7 days | | Table Expiration | 7 days | | Table Deletion | 7 days | | Records Deletion (Presto, Hive, Data Connector) | 7 days | | Account Cancellation | 30 days | | Job History Accessibility | 7 days | | Data Landing | 7 days | The Data Retention Policy was updated on March 18, 2024. # Query Results You can download the result set of any query in CSV, TSV or any other supported format for 7 days after the initial query is run. After this, the result data expires. The query itself and its execution logs are retained indefinitely, so you may always re-execute it to rebuild the result set and retain it for another 7 days. Queries executed against regularly updated time-series data yield different results on each execution unless a time window is specified in the query. # Bulk Import Sessions Any data uploaded to Treasure Data through a Bulk Import Session but not imported into a Treasure Data table expires after 7 days. # Table Expiration You may set an expiration date on your Treasure Data tables. If you do so, your data is retained for an additional 7 days after the set expiration date. If you make a mistake in setting the expiration, the data can be restored any time within this 7 day window. # Database Deletion When you delete a database on Treasure Data, the data including tables is retained for 7 days and can be recovered any time during this period. # Table Deletion When you delete a table on Treasure Data, the data is retained for 7 days and can be recovered any time during this period. # Records Deletion When you delete records by DELETE statement of Presto, please refer to [UndoingDeleteStatements section](https://api-docs.treasuredata.com/en/tools/presto/td_presto_api_release_info/#delete-statement). # Account Cancellation We preserve all account data for 30 days after an account deletion, unless explicitly stated otherwise in your contract. This includes all databases, tables, user accounts, queries, and job histories. A “Proof of Concept” or “Demo Account” is considered a cancelled account after the POC or other project is completed and is subject to this same policy if not converted to an ongoing account. # Job History Accessibility We enforce some limit on how much of the Job History can be accessed by all our customers. | Page | Term | | --- | --- | | Jobs list | Jobs history for past 14 days | | Job history in Query editor and Source | History of runs in past 7 days | | Job history via Support | Jobs history of any give | # Data Landing Area The data in the Data Landing area is retained for 1 week after it was created or last modified. After 7 days, it is a subject for removal.