Tableau / Tableau Server
Tableau Prep Flow Overwriting Large Excel Files Takes a Long Time or Times Out
- Reported
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Fixed
- —
- Reports
- 1
- Found in
- Tableau Server 2025.3, Tableau Prep Builder 2025.2
- Reference
- W-24976872
Summary
When running a Tableau Prep flow that writes output to an existing large Microsoft Excel (.xlsx) file using the Create Table write option in Tableau Server 2025.3 and later or Tableau Prep Builder 2025.2 and later, the flow execution experiences severe performance degradation or fails due to a timeout.
- Flow jobs remain at 0% progress for an extended period (15 minutes or longer, depending on data volume) and may exceed the
default_timeout.run_flowthreshold. - The
tabprotosrvprocess consumes 100% of a CPU thread while compacting the Excel shared-strings table, which can back up Backgrounder queues and exhaust node resources. - Creating a new .xlsx file (when the target file does not yet exist) completes normally, whereas overwriting an existing file with a large number of unique string values takes significantly longer.
Workaround
To work around this issue, use one of the following methods.
Option 1: Delete or rename the target Excel file before running the flowIf the target .xlsx file contains only the output sheet generated by the Tableau Prep flow, remove or archive the existing file before each scheduled or manual run so that Tableau creates a new file instead of overwriting it.
Option 2: Disable shared-strings compaction as a temporary stopgap (Tableau Server only)If deleting or rotating the output file before each run is not feasible, temporarily disable the shared-strings compaction feature flag by running the following tsm commands:
tsm configuration set -k features.WriteToExcelCompactSharedStrings -v false --force-keys
tsm pending-changes apply
Note: With this setting disabled, unused strings accumulate in the shared-strings table whenever data changes between runs, causing the .xlsx file size and flow execution time to grow over time. Periodically delete the output .xlsx file to reset its size if you use this option.
Steps to reproduce
- In Tableau Prep Builder 2025.2 or later, create a flow that reads a large dataset containing hundreds of thousands of unique text values (for example, 500,000+ rows) and outputs to a Microsoft Excel (.xlsx) file with the Create Table option selected.
- Publish the flow to Tableau Server 2025.3 or later (or run it directly in Tableau Prep Builder).
- Run the flow for the first time to generate the initial .xlsx file. Observed Behavior: The flow completes quickly.
- Run the same flow a second time to overwrite the existing .xlsx file. Observed Behavior: The flow stays at 0% progress for an extended duration (or times out), and the tabprotosrv process remains pinned at 100% CPU usage.
Status timeline
Nov 30, 2026
created · In Review · 1 reports
Nov 30, 2026
content changed · In Review · 1 reports