Live vs. Extract
Data Connections
Understand the two fundamental ways Tableau connects to your data: live connections that query in real time and extracts that snapshot data for speed and portability.
What Is a Data Connection?
Before you build any visualization in Tableau, you must connect to a data source: a database, spreadsheet, cloud service, or file. The connection type you choose determines how and when Tableau reads data from that source.
The Live Connection
A live connection sends a fresh query to the database every time you interact with a worksheet: filtering, sorting, or changing a mark. The results always reflect the current state of the database.
The Extract Connection
An extract copies a snapshot of your data into a local .hyper file. Tableau then queries this optimized local file instead of the original database. The data reflects the moment the extract was created or last refreshed.
Why Does the Choice Matter?
The Core Tradeoff Rule
Live Connection: Strengths and Weaknesses
Extract: Strengths and Weaknesses
Key Distinction: Full vs. Incremental Refresh
When you refresh an extract, Tableau offers two strategies. Choosing correctly can save hours of processing time on large datasets.
How to Choose: Decision Framework
Example 1: Retail Sales Dashboard
A regional manager reviews weekly sales every Monday morning. The source is a cloud data warehouse with 50 million rows. Dashboards are shared on Tableau Server.
Example 2: Hospital ER Monitor
An emergency department displays a wall-mounted dashboard showing current patient count, average wait time, and bed availability. The data source updates every 30 seconds.
Example 3: Field Sales Team on the Road
A sales team uses Tableau on laptops during client visits in areas with unreliable internet. They need product catalog data and last quarter's sales numbers.
When to Use Live vs. Extract
Common Mistakes to Avoid
Summary Comparison
| Live Connection | Extract | |
|---|---|---|
| Data Freshness | Real-time | Snapshot (stale) |
| Query Speed | Depends on source | Very fast (.hyper) |
| Offline Access | No | Yes |
| Database Load | Continuous queries | Only at refresh |
| Disk Storage | None extra | .hyper file size |
| Best For | Small, fast sources; real-time needs | Large datasets; offline; shared dashboards |
Question 1 of 5
A hospital needs a dashboard that shows current ICU bed availability updating every minute. Which connection type is best?
Question 2 of 5
What file format does Tableau use to store extract data?
Question 3 of 5
A sales team needs to view dashboards offline during flights. The data only needs to be current as of that morning. What is the best approach?
Question 4 of 5
An incremental extract refresh is best described as:
Question 5 of 5
A company's data warehouse is extremely slow, and dashboards take 30 seconds per interaction with a live connection. The data only changes once per day. What is the primary benefit of switching to an extract?