Understanding Performance Recording in Tableau
Course: Tableau Training
Topic: Understanding Performance Recording
Learning Objective: Understand Tableau Performance Recording, learn how to capture workbook performance data, interpret recorded events, identify performance bottlenecks, and apply appropriate optimization techniques.
Explore Tableau Training
Register for a Tableau Course Demo
1. Introduction to Performance Recording
Performance Recording is a built-in Tableau diagnostic feature that captures timing information about important activities performed while a user interacts with a workbook. It helps developers and analysts understand which operations consume the most time and where optimization may be required.
When a Tableau dashboard loads slowly, the cause might be a database query, a data-source connection, a complex calculation, dashboard layout processing, extract generation, or another operation. Performance Recording helps investigate these possibilities using recorded evidence rather than guesswork.
Example
Suppose a sales dashboard takes 18 seconds to load. You suspect that the dashboard contains too many charts. However, a Performance Recording shows that most of the delay comes from a slow database query. Instead of redesigning every chart, you can investigate the query, data model, and source database first.
Why Is Performance Recording Important?
- Identifies time-consuming workbook activities.
- Helps investigate slow dashboards and worksheets.
- Measures the duration of queries and other recorded operations.
- Helps distinguish data-source delays from workbook design issues.
- Supports evidence-based performance optimization.
- Helps compare performance before and after workbook changes.
- Provides useful diagnostic information when troubleshooting with Tableau administrators or support teams.
2. What Does Performance Recording Capture?
Tableau Performance Recording captures selected events that occur as a workbook is used. The events available depend on the Tableau product, version, and environment.
| Event |
Meaning |
Possible Performance Issue |
| Connecting to Data Source |
Time spent establishing a connection to a data source. |
Network delays, authentication issues, or a slow database server. |
| Compiling Query |
Time spent preparing a query for execution. |
Complex workbook logic, filters, or calculations. |
| Executing Query |
Time spent executing a query against a data source or extract. |
Large data volumes, expensive queries, or an inefficient source model. |
| Computing Layouts |
Time spent calculating the layout of a view or dashboard. |
Complex dashboard layouts, many objects, or demanding visualizations. |
| Generating Extract |
Time spent creating an extract. |
Large extracts or unnecessary fields and records. |
| Geocoding |
Time associated with processing geographic information. |
Large amounts of geographic data or unnecessary geographic detail. |
| Blending Data |
Time associated with combining data from different sources through data blending. |
Large datasets or inefficient data-blending operations. |
| Server Rendering |
Server-side rendering activity, where supported by the recording environment. |
Server workload, rendering demand, or resource constraints. |
Important: A recorded event identifies where time was spent; it does not always identify the exact root cause. Additional investigation may be required.
3. How Performance Recording Works
Performance Recording follows a simple process: start recording, perform the actions you want to investigate, stop recording, and analyze the resulting performance workbook.
Open Tableau Workbook
|
v
Start Performance Recording
|
v
Perform User Actions
(Open Dashboard, Change Filters, Select Marks)
|
v
Stop Performance Recording
|
v
Open Performance Recording Workbook
|
v
Analyze Timeline, Events and Queries
|
v
Identify Bottlenecks
|
v
Optimize and Test Again
Explanation of Each Stage
- Open the workbook: Open the workbook whose performance you want to investigate.
- Start recording: Use the Performance Recording option available in Tableau Desktop.
- Reproduce the issue: Perform the same user actions that normally cause a delay.
- Stop recording: Finish the recording after collecting enough information.
- Analyze results: Review the performance workbook to locate time-consuming activities.
- Apply an improvement: Optimize the relevant query, calculation, data source, or dashboard design.
- Record again: Repeat the same actions and compare the results.
4. How to Start Performance Recording in Tableau Desktop
Follow these steps to create a performance recording for a workbook in Tableau Desktop.
- Open Tableau Desktop.
- Open the workbook you want to analyze.
- From the top menu, select Help.
- Select Settings and Performance.
- Click Start Performance Recording.
- Interact with the workbook by opening the dashboard, changing filters, selecting marks, or navigating between worksheets.
- After performing the actions you want to investigate, open the Help menu again.
- Select Settings and Performance.
- Click Stop Performance Recording.
- Tableau creates a temporary performance workbook containing the recorded information.
- Review the results and save the recording workbook if you need to keep or share it.
Menu Path
Help
→ Settings and Performance
→ Start Performance Recording
Perform workbook actions
Help
→ Settings and Performance
→ Stop Performance Recording
Tip: Record a specific, repeatable user workflow. If the issue occurs when a dashboard opens, focus on opening that dashboard. If a filter is slow, record the filter interaction separately when possible.
Official documentation: Record and Analyze Workbook Performance in Tableau Desktop.
5. Understanding the Performance Recording Workbook
After you stop recording, Tableau generates a workbook that summarizes the captured events. The recording workbook commonly includes two main dashboards: Performance Summary and Detailed Views.
5.1 Performance Summary
The Performance Summary dashboard provides a high-level view of the recorded activities. It helps identify which events took the most time and when they occurred.
Its main sections include:
- Timeline: Shows recorded events in chronological order.
- Events: Lists event categories and helps identify longer-duration activities.
- Query: Displays query text or related query details when available and applicable to the selected event.
5.2 Detailed Views
The Detailed Views dashboard provides more technical information about activities performed during a request. It is intended for deeper investigation and is available when the performance recording workbook is opened in Tableau Desktop.
It can include views such as:
- Depth: Shows the hierarchy of activities performed during a request.
- Exclusive CPU: Shows CPU time attributed directly to an activity, excluding the time attributed to its child activities.
- Inclusive CPU: Includes CPU time attributed to an activity and its child activities.
- Elapsed Time: Shows the elapsed duration of activities.
| Dashboard |
Main Purpose |
Best Used For |
| Performance Summary |
Provides an overview of recorded performance events. |
Quickly locating the longest-running event categories. |
| Detailed Views |
Provides deeper information about activity timing and hierarchy. |
Investigating the internal steps involved in processing a request. |
6. Understanding the Timeline View
The Timeline view shows recorded activities in the order in which they occurred. The horizontal axis represents elapsed time, while the event details identify the workbook context and the type of activity.
What Can You Learn from the Timeline?
- When an event started and how it relates to other recorded events.
- Which dashboard, worksheet, or workbook context was involved, when available.
- Whether multiple activities occurred during one user interaction.
- Which events appear to occupy a large portion of the recorded time.
Example
Suppose the timeline shows that a query took 8 seconds, followed by layout computation taking 2 seconds. This suggests that query execution deserves investigation first. However, you should also check whether the events overlap, repeat, or depend on other activities before concluding how much time each contributes to the overall user wait.
How to Analyze the Timeline
- Identify the user action that caused the delay.
- Locate the events associated with that action.
- Look for long-running events and repeated activities.
- Review related event details.
- Choose the appropriate area for further investigation.
7. Understanding the Events View
The Events view helps prioritize performance issues by displaying recorded event types and their durations. Longer-duration events often provide a useful starting point for troubleshooting.
How to Use the Events View
- Open the Performance Summary dashboard.
- Review the events and their durations.
- Identify the events with the greatest time consumption.
- Determine whether the event is related to data access, query execution, calculation, or rendering.
- Investigate the likely cause using the relevant technical details.
- Make a targeted change and record the same workflow again.
Example
A recording might show these illustrative durations:
| Event |
Illustrative Duration |
Initial Investigation |
| Executing Query |
8 seconds |
Review query complexity and data-source performance. |
| Computing Layouts |
3 seconds |
Review dashboard structure and visual complexity. |
| Connecting to Data Source |
2 seconds |
Review connection and network conditions. |
| Other Events |
1 second |
Investigate if significant to the overall delay. |
Note: These figures are examples for learning, not actual Tableau benchmark results. Do not simply add every event duration together, because some activities may overlap or be nested.
8. Understanding Query Information
The Query section can show the text associated with a selected query event. Depending on the data connection and Tableau environment, this may be SQL, XML, or other query-related information.
Why Is Query Information Useful?
- It helps identify what data Tableau requested.
- It can reveal complex joins, filters, aggregations, or calculations represented in a query.
- It can help database administrators investigate slow database operations.
- It provides technical evidence for reviewing query execution plans and data-source design.
Example of a Query
SELECT Region, SUM(Sales)
FROM Orders
WHERE OrderDate >= '2026-01-01'
GROUP BY Region
This illustrative SQL query retrieves sales totals by region for orders from a specified date onward.
If a similar query is slow, a database administrator might investigate the execution plan, data volume, table structure, indexes where appropriate, and filtering strategy.
Important: Query details may not be available for every event or connection. In some Tableau Cloud scenarios, especially with published data sources and certain versions, the recorded event naming and query details may differ.
9. Understanding Detailed Views
9.1 Depth View
The Depth view displays activities in a hierarchy. A single user request, such as opening a view or changing a filter, can trigger several related activities.
Higher-level activities may contain lower-level child activities. Reviewing this structure helps explain what Tableau did while processing a request.
Example: A filter interaction may lead to a query being prepared, data being retrieved, and a visualization being updated.
9.2 Exclusive CPU
Exclusive CPU represents CPU time attributed directly to an activity, excluding CPU time attributed to its child activities. It helps identify activities that consume processing resources themselves.
9.3 Inclusive CPU
Inclusive CPU includes the CPU time of an activity and its child activities. It helps show the total CPU work associated with a broader activity.
9.4 Elapsed Time
Elapsed time measures the duration between the beginning and end of an activity. It is not necessarily the same as CPU time because elapsed time can include waiting for database responses, network operations, or other resources.
| Metric |
What It Measures |
Useful Question |
| Exclusive CPU |
CPU time attributed directly to an activity. |
Which activity itself is using processing time? |
| Inclusive CPU |
CPU time for an activity including its child activities. |
How much CPU work is associated with this activity and its descendants? |
| Elapsed Time |
Wall-clock duration of an activity. |
How long did the activity take from start to finish? |
Best practice: Use these metrics together. A long elapsed time with relatively low CPU time may indicate waiting rather than intensive local processing, but further investigation is needed to determine the actual cause.
10. Identifying Performance Bottlenecks
A performance bottleneck is an operation or resource constraint that significantly contributes to a delay in a workbook or dashboard.
Common Bottlenecks and Recommended Actions
| Observation |
Possible Explanation |
Recommended Action |
| Long connection time |
Network, authentication, or database connection delays. |
Check connectivity, authentication, and source availability. |
| Long query compilation |
Complex query generation or workbook logic. |
Review complex calculations, filters, and workbook structure. |
| Long query execution |
Slow data-source processing or expensive query operations. |
Review query plans, source data, joins, and data volume. |
| Long layout computation |
Complex dashboard or view layout. |
Simplify dashboard objects, labels, and visualization design. |
| Long extract generation |
Large extracts or excessive included data. |
Reduce unnecessary fields and records when business requirements allow. |
| Long geocoding activity |
Large amounts of geographic information. |
Reduce unnecessary geographic records or detail. |
| Long data-blending activity |
Expensive data blending operations. |
Review data volume, filtering, and whether another data model is appropriate. |
Performance Recording helps narrow down the problem. Some causes, such as server saturation or network congestion, may require additional server, database, or infrastructure monitoring.
11. Performance Recording on Tableau Server
Tableau Server supports performance recording for views when the feature is enabled for the relevant site. The setup differs from the Tableau Desktop workflow and may require administrator permissions.
General Steps
- Ask a Tableau Server administrator to confirm that workbook performance recording is enabled for the relevant site.
- Open the published view you want to investigate.
- Enable recording using the supported performance-recording URL procedure for your Tableau Server version.
- Refresh the view and reproduce the slow interaction.
- Open the performance recording data when available.
- Stop recording by leaving the view or removing the recording parameter as described in the applicable documentation.
- Download or open the resulting recording workbook in Tableau Desktop for deeper analysis.
Important: Tableau Server setup is different from Tableau Desktop. Use the official instructions for your Server version and operating system rather than copying a URL pattern without checking the current session URL and documentation.
Official documentation: Create a Performance Recording on Tableau Server.
12. Practical Example: Investigating a Slow Dashboard
Scenario
A sales dashboard contains multiple charts, several filters, and a live connection to a database. Users report that the dashboard loads slowly and that changing the Region filter causes a delay.
Step-by-Step Investigation
- Define the problem: Record the exact user action that is slow, such as opening the dashboard or changing Region.
- Measure the baseline: Record the current load time and filter response time under repeatable conditions.
- Start Performance Recording: Begin recording in Tableau Desktop.
- Reproduce the delay: Open the dashboard and change the Region filter as usual.
- Stop recording: Generate the performance recording workbook.
- Review the Events view: Identify the longest-running event categories.
- Inspect query information: If query execution is slow, review the query and consult the database team if necessary.
- Optimize the relevant area: Simplify the query or data model, remove unnecessary filters, or reduce dashboard complexity depending on the evidence.
- Validate the results: Confirm that the data remains correct and the dashboard behaves as expected.
- Record again: Repeat the same actions and compare the results.
Performance Tracking Table
| Metric |
Before |
After |
| Dashboard load time |
Record measured value |
Record measured value |
| Region filter response |
Record measured value |
Record measured value |
| Longest event |
Identify from recording |
Identify from new recording |
| Data correctness |
Validate totals and filters |
Repeat validation |
Expected learning outcome: You should be able to explain which event contributed to the delay, what you changed, and whether the change improved performance. Do not claim an improvement until you have measured it.
13. Best Practices for Performance Recording
- Record the exact workflow that reproduces the problem.
- Keep test conditions as consistent as possible between recordings.
- Record specific actions rather than performing many unrelated tasks in one session.
- Focus on events with significant duration or repeated impact.
- Understand the difference between CPU time and elapsed time.
- Check query details when available and involve the database team for source-level problems.
- Do not assume that the longest event always represents the only root cause.
- Remember that events can be nested or overlap; do not blindly add all durations.
- Save useful performance workbooks for comparison and troubleshooting.
- Protect sensitive data and credentials when sharing diagnostic files.
- After making a change, validate data accuracy and repeat the recording.
- Use server-side monitoring as well when the problem occurs only after publishing.
14. Common Mistakes to Avoid
| Mistake |
Why It Is a Problem |
Better Approach |
| Recording unrelated interactions |
Makes it harder to isolate the source of a delay. |
Record one clearly defined workflow at a time. |
| Optimizing without measuring |
The change may not address the actual bottleneck. |
Use the recording to guide the investigation. |
| Assuming all slow queries are Tableau problems |
The underlying database may be the main source of delay. |
Review query information and source performance. |
| Adding all event durations together |
Some activities may overlap or be nested. |
Interpret durations in context using the timeline and detailed views. |
| Ignoring data correctness |
Performance changes may unintentionally alter results. |
Validate calculations, filters, and totals after each change. |
| Expecting identical results every time |
Caching, network conditions, server load, and source activity may vary. |
Run repeatable tests and compare multiple observations when appropriate. |
15. Interview Questions and Answers
Q1. What is Performance Recording in Tableau?
Answer: Performance Recording is a diagnostic feature that captures timing information about workbook activities so users can investigate slow dashboards and identify possible performance bottlenecks.
Q2. Why do we use Performance Recording?
Answer: It helps determine where time is being spent during workbook interactions and supports evidence-based performance optimization.
Q3. How do you start Performance Recording in Tableau Desktop?
Answer: Select Help > Settings and Performance > Start Performance Recording, perform the actions you want to analyze, and then select Stop Performance Recording from the same menu.
Q4. What is the Performance Summary dashboard?
Answer: It is a high-level dashboard in the generated recording workbook that helps analyze the timeline, event durations, and query information.
Q5. What is the purpose of the Timeline view?
Answer: It shows recorded events in chronological order and helps users understand when activities occurred and how they relate to the recorded workflow.
Q6. What does the Events view show?
Answer: It presents recorded event categories and their durations, helping users prioritize the operations that may deserve investigation first.
Q7. What is the difference between query compilation and query execution?
Answer: Query compilation is the time spent preparing a query, while query execution is the time spent running the query against the data source or extract.
Q8. What is the difference between elapsed time and CPU time?
Answer: Elapsed time is the wall-clock duration of an activity. CPU time measures processing time attributed to CPU work. An operation can have long elapsed time while waiting for another resource.
Q9. What is the purpose of the Detailed Views dashboard?
Answer: It provides deeper diagnostic information about activity hierarchies, CPU time, and elapsed time for advanced performance investigation.
Q10. Can Performance Recording identify every root cause automatically?
Answer: No. It helps identify where time is spent, but additional investigation may be necessary to determine whether the cause is the database, network, workbook design, server resources, or another factor.
Q11. How can Performance Recording help database optimization?
Answer: When query information is available, developers can review the generated query and work with database administrators to investigate execution plans, data structures, and query performance.
Q12. Can Performance Recording be used with Tableau Server?
Answer: Yes. Tableau Server supports performance recording for views when the feature is enabled and configured appropriately. The setup differs from Tableau Desktop.
Q13. Why should the same workflow be recorded after optimization?
Answer: Repeating the same workflow makes it easier to compare performance before and after the change and evaluate whether the optimization helped.
Q14. Does a long event always mean that event is the root cause?
Answer: Not necessarily. A long event is an important clue, but events can be nested, dependent on other activities, or affected by external resources. Further investigation may be needed.
16. Practical Exercises
Exercise 1: Create Your First Performance Recording
- Open a Tableau workbook with a dashboard.
- Start Performance Recording.
- Open the dashboard and change one filter.
- Stop the recording.
- Open the Performance Summary dashboard.
- Write down the three longest recorded events.
Exercise 2: Investigate a Slow Filter
- Choose a filter that takes time to update.
- Record only the interaction associated with the filter.
- Inspect the Timeline and Events views.
- Check query information if it is available.
- Identify one possible optimization and explain why it may help.
Exercise 3: Compare Two Recordings
- Record the original workbook performance.
- Make one targeted change, such as simplifying a dashboard or removing an unnecessary filter.
- Repeat the same user actions.
- Compare the relevant event durations.
- Confirm that data values and dashboard behavior remain correct.
Exercise 4: Write a Performance Summary
Create a short report with the following headings: Problem, Recorded Workflow, Main Event, Suspected Cause, Optimization Applied, Before-and-After Measurements, and Validation Result.
17. Quick Revision Checklist
- Understand the purpose of Performance Recording.
- Know how to start and stop recording in Tableau Desktop.
- Understand the Performance Summary and Detailed Views dashboards.
- Know what the Timeline, Events, and Query sections show.
- Understand query compilation versus query execution.
- Understand elapsed time versus CPU time.
- Recognize common performance bottlenecks.
- Know how to use recorded query information during troubleshooting.
- Understand the general differences between Desktop and Server recording.
- Practice measuring performance before and after an optimization.
- Validate data correctness after making changes.
18. Official Learning Resources
19. Conclusion
Understanding Performance Recording is an important step toward building efficient Tableau dashboards. It helps analysts and developers observe the time spent on queries, connections, layout calculations, extract generation, and other recorded operations. By analyzing the Timeline, Events, Query information, and Detailed Views, users can prioritize performance problems and investigate their causes systematically.
The recommended workflow is to reproduce the problem, record the relevant actions, identify the bottleneck, make one targeted improvement, and record the same workflow again. Always confirm that the optimization improves performance without changing the accuracy of the results.
Explore the course: JustAcademy Tableau Training
Register for a demo: Register for a Tableau Course Demo