---
schema_version: "1"
id: 413fcc3afde5494d17d374bc57959c83daa574872d4c846a5e8f222be226a75b
title: Database Maintenance
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/blueprint/bp_database_maintenance.md
canonical_url: https://help.tableau.com/v0.0/blueprint/en-us/bp_database_maintenance.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 39328e2bf999e7e6b3227662289be4a578f4c84e1411f342960380fff50c6c86
description: Blueprint guidance on Tableau Server database maintenance to free disk space by clearing old files.
---
[Skip to main content](#main-content)

# Database Maintenance

> [!TIP]
> 
> This content is part of Tableau Blueprint—a maturity framework allowing you to zoom in and improve how your organization uses data to drive impact. To begin your journey, take our [assessment](https://www.tableau.com/en-us/learn/webinars/tableaus-blueprint-self-assessment).

Note: This topic applies to Tableau Server only.

Database maintenance creates free space on the Tableau Server deployment by deleting old files, including log files, temp files, and rows from the http\_requests table. If you are running Tableau Server on a distributed deployment, run the [tsm maintenance cleanup command](https://help.tableau.com/current/server/en-us/cli_maintenance_tsm.htm#tsm-maintenance-cleanup) on the node that is running the TSM Controller process. By default, the controller is on the initial node in the cluster ([Windows](https://help.tableau.com/current/server/en-us/cli_maintenance_tsm.htm) | [Linux](https://help.tableau.com/current/server-linux/en-us/cli_maintenance_tsm.htm)).

Note: If you need historical data in http\_requests for audit analysis, ETL the data from the http\_requests table to another database prior to executing the cleanup commands. If cleanup commands are part of your backup script, data in the http\_requests table is truncated.