{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Guides","type":"markdown"},"seo":{"title":"Data Retention Policy","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"data-retention-policy","__idx":0},"children":["Data Retention Policy"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#query-results"},"children":["Query Results"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#bulk-import-sessions"},"children":["Bulk Import Sessions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#table-expiration"},"children":["Table Expiration"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#database-deletion"},"children":["Database Deletion"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#table-deletion"},"children":["Table Deletion"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#records-deletion"},"children":["Records Deletion"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#account-cancellation"},"children":["Account Cancellation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#job-history-accessibility"},"children":["Job History Accessibility"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#data-landing-area"},"children":["Data Landing Area"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#workflow-attempts"},"children":["Workflow Attempts"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/requirements-and-limitations/data-retention-policy#workflow-project-revisions"},"children":["Workflow Project Revisions"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See also, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/expiring-data-from-a-table"},"children":["Expiring Data From a Table"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Period"},"children":["Period"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query Results"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bulk Import Sessions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Table Expiration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Table Deletion"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Records Deletion (Presto, Hive, Data Connector)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account Cancellation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["30 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Job History Accessibility"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Landing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workflow Attempts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2 years"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workflow Project Revisions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Latest 100 or used within 2 years"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Data Retention Policy was updated on May 18, 2026."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"query-results","__idx":1},"children":["Query Results"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"bulk-import-sessions","__idx":2},"children":["Bulk Import Sessions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Any data uploaded to Treasure Data through a Bulk Import Session but not imported into a Treasure Data table expires after 7 days."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"table-expiration","__idx":3},"children":["Table Expiration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"database-deletion","__idx":4},"children":["Database Deletion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"table-deletion","__idx":5},"children":["Table Deletion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you delete a table on Treasure Data, the data is retained for 7 days and can be recovered any time during this period."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"records-deletion","__idx":6},"children":["Records Deletion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you delete records from Treasure Data table, the data is retained for 7 days and can be recovered any time during this period."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you delete records by DELETE statement of Trino, please refer to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/sql-reference/delete_statement"},"children":["Undo Delete Statements section"]}," and please check the notes."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"account-cancellation","__idx":7},"children":["Account Cancellation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"job-history-accessibility","__idx":8},"children":["Job History Accessibility"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We enforce some limit on how much of the Job History can be accessed by all our customers."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Page"},"children":["Page"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Term"},"children":["Term"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Jobs list"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Jobs history for past 14 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Job history in Query editor and Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["History of runs in past 7 days"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Job history via Support"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Jobs history of any give"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"data-landing-area","__idx":9},"children":["Data Landing Area"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"workflow-attempts","__idx":10},"children":["Workflow Attempts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Workflow execution history, including sessions, attempts, and task logs, is retained for 2 years after the attempt completes. After this period, the data expires."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"workflow-project-revisions","__idx":11},"children":["Workflow Project Revisions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each workflow project retains the latest 100 revisions, plus any older revision that was used by a workflow attempt within the last 2 years. Revisions outside this scope are removed."]}]},"headings":[{"value":"Data Retention Policy","id":"data-retention-policy","depth":1},{"value":"Query Results","id":"query-results","depth":1},{"value":"Bulk Import Sessions","id":"bulk-import-sessions","depth":1},{"value":"Table Expiration","id":"table-expiration","depth":1},{"value":"Database Deletion","id":"database-deletion","depth":1},{"value":"Table Deletion","id":"table-deletion","depth":1},{"value":"Records Deletion","id":"records-deletion","depth":1},{"value":"Account Cancellation","id":"account-cancellation","depth":1},{"value":"Job History Accessibility","id":"job-history-accessibility","depth":1},{"value":"Data Landing Area","id":"data-landing-area","depth":1},{"value":"Workflow Attempts","id":"workflow-attempts","depth":1},{"value":"Workflow Project Revisions","id":"workflow-project-revisions","depth":1}],"frontmatter":{"seo":{"title":"Data Retention Policy"}},"lastModified":"2026-05-18T00:54:31.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/requirements-and-limitations/data-retention-policy","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}