KNOWLEDGE BASE

Clearing the Tableau Desktop Query Cache


Published: 21 Apr 2015
Last Modified Date: 04 Nov 2016

Question

How to clear the Tableau Desktop query cache.

Environment

Tableau Desktop

Answer

Option 1: Invalidate the Cache by Refreshing the Data Source

Each time the data source is refreshed, the cache is invalidated, making this a very simple alternative to the more complicated process of manually clearing the cache.

Option 2: Manually Clear the Cache

  1. Close all instances of Tableau Desktop.
  2. Navigate to the Tableau caching folder. For example: C\Users\<username>\AppData\Local\Tableau\Caching.
  3. Modify/clear the desired cache(s).

Additional Information

  • This only works for file-based data sources upon which a query has been performed, as this is a query cache. 
  • This also clears the query cache for Tableau Reader as they share the same cache.
  • Restarting Tableau Desktop does NOT clear the query cache, as Tableau Desktop uses a file-based cache, not a memory-based one.
Did this article resolve the issue?