How to interpret a performance recording

How to interpret a performance recording

How to interpret a performance recording

EXPLANATION

A performance recording workbook is a Tableau dashboard that contains three views: Timeline, Events, and Query.

Timeline:

The uppermost view in a performance recording dashboard shows the events that occurred during recording, arranged chronologically from left to right. The bottom axis shows elapsed time since Tableau started, in seconds.

In the Timeline view, the Workbook, Dashboard, and Worksheet columns identify the context for events. The Event column identifies the nature of the event, and the final column shows each event’s duration and how it compares chronologically to other recorded events:

How to interpret a performance recording

Events:

The middle view in a performance recording workbook shows the events, sorted by duration (greatest to least). Events with longer durations can help you identify where to look first if you want to speed up your workbook.

How to interpret a performance recording

Different colors indicate different types of events. The range of events that can be recorded is:

Computing layouts

If layouts are taking too long, consider simplifying your workbook.

Connecting to data source

Slow connections could be due to network issues or issues with the database server.

Executing query

For live connections, if queries are taking too long, it could be because the underlying data structure isn’t optimized for Tableau. Consult your database server’s documentation. As an alternative, consider using an extract to speed performance.

For extracts, if queries are taking too long, review your use of filters. If you have a lot of filters, would a context filter make more sense? If you have a dashboard that uses filters, consider using action filters, which can help with performance.

Generating extract

To speed up extract generation, consider only importing some data from the original data source. For example, you can filter on specific data fields, or create a sample based on a specified number of rows or percentage of the data.

Geocoding

To speed up geocoding performance, try using less data or filtering out data.

Blending data

To speed up data blending, try using less data or filtering out data.

Server rendering

You can speed up server rendering by running additional VizQL Server processes on additional machines.

Query:

If you click on an Executing Query event in either the Timeline or Events section of a performance recording dashboard , the text for that query is displayed in the Query section. For example:

How to interpret a performance recording

If it makes sense, you can use the query text to work with your database team on optimizing at the database level. Sometimes the query is truncated and you’ll need to look in the Tableau log to find the full query. Most database servers can give you advice about how to optimize a query by adding indexes or other techniques. See your database server documentation for details.

Sometimes for efficiency, Tableau combines multiple queries into a single query against the data. In this case, you may see an Executing Query event for the Null worksheet and zero queries being executed for your named worksheets.

Leave a Reply

Your email address will not be published. Required fields are marked *