---
schema_version: "1"
id: c1d864011679ec820c74e49ccc393fec00d4cd012f556850688b8661156fb15e
title: Tableau Server 缓存服务器
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/server_process_cache-server.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/server_process_cache-server.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 166a411286735af6e63e5ea905b75d3b987a97bd0a45c5274cf1bee4f9150271
description: Understand the Tableau Server Cache Server process for query caching.
---
[跳转到主要内容](#main-content)

# Tableau Server 缓存服务器

缓存服务器提供共享外部查询缓存。它是键/值对的缓存，用于保存以前查询中的信息以加快将来请求的速度。若要使缓存服务器具备高可用性，请在群集的多个节点上配置一个或多个缓存服务器进程。

<table style="width: 100%;mc-table-style: url('Resources/TableStyles/Basic-Border.css');" class="TableStyle-Basic-Border" cellspacing="0"><colgroup><col class="TableStyle-Basic-Border-Column-Column1"><col class="TableStyle-Basic-Border-Column-Column1"></colgroup><tbody><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>进程</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1"><p>Cache Server</p></td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>状态</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1">可在“状态”页面上查看 Cache Server  进程的状态。有关详细信息，请参见<a href="https://help.tableau.com/current/server-linux/zh-cn/service_viewstatus.htm" class="xref">查看服务器进程状态</a>。</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyB-Column1-Body1"><strong>日志记录</strong></td><td class="TableStyle-Basic-Border-BodyA-Column1-Body1"> Cache Server  进程生成的日志位于 <code><code>/var/opt/tableau/tableau_server/data/tabsvc/logs/</code>cacheserver</code> 中。有关详细信息，请参见<a href="https://help.tableau.com/current/server-linux/zh-cn/logs_loc.htm" class="xref">Tableau Server 日志和日志文件位置</a>。</td></tr></tbody></table>

如果缓存服务器进程发生故障，将会发生什么情况？后果相对轻微。Tableau Server 仍可以正常工作，但操作花费的时间可能比没有可用缓存结果时的时间长。在查询重新运行时，重新启动的缓存服务器将会重新填充，最终会加快最终用户的工作速度。实际上，缓存服务器没有可用性影响；但是，它确实对各种最终用户性能情境产生了影响。

为了减少对用户性能的影响，请在群集中运行多种这种类型的进程。我们建议您最多安装六个缓存服务器实例，将每个节点限制为不超过两个。我们的测试表明，在 Tableau Server 安装中安装六个以上的缓存服务器实例不会带来任何改进，并且可能会对性能产生负面影响。

出现故障的缓存服务器进程会自动重新启动；只要计算机本身在其他方面正常，缓存服务器进程就会重新启动。