Summary of Content

View Recent Queries
View an Individual Query
Query Status Types
Query Runtime Breakdown
Pause and Resume Queries

View Recent Queries

The query history modal displays recent queries run from your open document within the existing session.

Your document’s individual query list will automatically show each query’s status, action type, start time and run time.

  1. Open your dataset's worksheet tab.
  2. Click the caret icon next to the refresh button all the way to the left in your dataset’s toolbar.
  3. Click Query history....

View an Individual Query

  1. Open your dataset's Worksheet tab.
  2. Click the caret icon next to the refresh button all the way to the left in your dataset’s toolbar.
  3. Click Query history....
  4. Click the query you would like to learn more about.
  5. Explore the query detail view:
    • View and copy the Sigma generated SQL.
    • If the query failed, an error will also be displayed below Query Details.

Query Status Types

Symbol

Status

Description

 complete.png

Completed

Your query ran successfully!

running.png

Running

Your query is currently running.

By default, Sigma sets query timeouts to 120 seconds (2 minutes). Organization admins have the option to customize this per connection.

errored.png

Errored

Something went wrong.

Open the query detail view to view the error message.

paused.png

Paused

Queries are paused on your document.

To restart queries, click on the play button in your document toolbar.

Canceled

The query has been canceled.

This may happen if additional changes are made to your document before the query is run. In such an instance, Sigma will run only the new query.

 

Query Runtime Breakdown

A detailed query runtime breakdown is available for successfully completed and timed out queries. Query runtimes can vary due to network traffic, queue delay, or data warehouse processing time. Sigma’s runtime breakdown allows you to see if and when your query encountered delays.

The runtime is broken into three parts: 

  • Queue Duration: the amount of time the query sits in Sigma’s queue prior to being sent to the warehouse.
  • Sigma runtime: the amount of time Sigma takes to process the query, excluding queue duration and warehouse time.
  • Warehouse runtime: the amount of time between when Sigma sends a request to your data warehouse and when it gets a response back. This is roughly the amount of time the warehouse spent running your query.

Note: Incomplete queries do not display a detailed runtime breakdown. This feature is also not available for download/export requests. 

Pause and Resume Queries

You can pause queries to make changes to your document without automatically running queries against your warehouse.

  1. Open your dataset's Worksheet tab.
  2. Click the caret icon next to the refresh/play button all the way to the left in your dataset’s toolbar.
  3. Click Pause queries or Resume queries.