---
schema_version: "1"
id: c6e324f91d9f1746d8b9a9aa486fd0379a1852ccb46d6aaeea9fc8ce44bd7759
title: 資料庫維護
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/blueprint/bp_database_maintenance.md
canonical_url: https://help.tableau.com/v0.0/blueprint/zh-tw/bp_database_maintenance.htm
source_site: help.tableau.com
content_type: documentation
content_hash: a36ab9d3800784ab15798cd1e90f5d8274d3ef48ad2710a41ab1b3eabcaa3b1e
description: Blueprint guidance on Tableau Server database maintenance to free disk space by clearing old files.
---
[跳至主要內容](#main-content)

# 資料庫維護

> [!TIP]
> 
> 此內容是 Tableau Blueprint 的一部分，這是一個成熟度架構，可讓您放大並改進組織使用資料推動影響的方式。請使用我們的[評估](https://www.tableau.com/zh-tw/learn/webinars/tableaus-blueprint-self-assessment)開啟您的旅程。

注意：此主題僅適用於 Tableau Server。

資料庫維護透過刪除舊檔案（包括記錄檔、暫存檔和 http\_requests 表格中的行）在 Tableau Server 部署上建立可用空間。如果是在分散的部署項目上執行 Tableau Server，請在執行 TSM 控制器程序的節點上執行 [tsm maintenance cleanup 命令](https://help.tableau.com/current/server/zh-tw/cli_maintenance_tsm.htm#tsm-maintenance-cleanup)。在預設情況下，控制器位於叢集的初始節點上 ([Windows](https://help.tableau.com/current/server/zh-tw/cli_maintenance_tsm.htm) | [Linux](https://help.tableau.com/current/server-linux/zh-tw/cli_maintenance_tsm.htm))。

注意：如果需要 http\_requests 中的歷程記錄資料來進行稽核分析，請在執行清理命令之前，將 http\_requests 表格中的資料 ETL（擷取、轉換、載入）到另一個資料庫。如果清理命令是備份指令碼的一部分，則 http\_requests 表格中的資料將會遭到截斷。