01 / 20

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.

Tableau

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

Tableau Desktop / Server Database SQL Server, etc. Query sent Results returned Real-time, every interaction

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

Database Source .hyper file Snapshot copy Tableau Reads locally copy fast read Data is frozen at extract time

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?

★ Performance
Extracts are often dramatically faster because Tableau's columnar .hyper engine is optimized for analytics.
★ Freshness
Live connections show up-to-the-second data. Extracts show data from the last refresh.
★ Portability
Extracts let you work offline: on a plane, at home, or anywhere without network access.

The Core Tradeoff Rule

Data Freshness Query Speed Extract Fast but stale Live Fresh but slower Less fresh Most fresh Slow Fast

Live Connection: Strengths and Weaknesses

✓ Real-time data
Every filter click queries the source. Dashboards always show the latest rows.
✓ No storage needed
No .hyper file on disk. Data stays in the database only.
✕ Slower queries
Performance depends on the database's speed, network latency, and query complexity.
✕ Network required
No internet or VPN? No data. Offline work is impossible.

Extract: Strengths and Weaknesses

✓ Blazing speed
Tableau's .hyper engine is a columnar store optimized for aggregation queries.
✓ Offline access
Take your data anywhere. No network needed once the extract is created.
✕ Data staleness
The extract is a frozen snapshot. Changes in the source aren't visible until you refresh.
✕ Storage cost
Large datasets create large .hyper files that consume disk space on Server or Desktop.

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.

Full Refresh
Replaces all rows in the extract with fresh data from the source. Safe but slow for large tables.
Incremental Refresh
Adds only new rows since the last refresh (based on a column like date or ID). Fast but requires a reliable incrementing column.

How to Choose: Decision Framework

1
Ask: must data be real-time? If yes (stock prices, live sensors, hospital monitors), use a live connection.
2
Check database performance. If the source is slow or overloaded, an extract will offload the work and speed up dashboards.
3
Consider audience. Will users view from Tableau Server (good network) or Tableau Reader / offline? Extracts enable portability.
4
Evaluate data volume. Billions of rows may create a huge .hyper file. Sometimes live is better for extremely large datasets.
5
Check security requirements. Some organizations prohibit copying data off the database server: live is the only option.

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.

Cloud DW 50M rows Extract Refresh: Sun night Dashboard Fast Mon AM ✓ Best choice: Extract with scheduled Sunday refresh

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.

ER System Updates: 30s Live connection Wall Display Auto-refresh ✓ Best choice: Live connection

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.

Constraint
No reliable network in the field. Must work offline.
Freshness Need
Historical data: last quarter. Daily refresh is more than sufficient.
Decision
Extract: refresh nightly over Wi-Fi, then go offline all day.

When to Use Live vs. Extract

Must data be real-time? Yes Use Live No Is the database fast? Yes Need offline access? No Live is fine Yes Use Extract No / Slow Use Extract

Common Mistakes to Avoid

✕ Using Live on Slow Databases
Connecting live to an overloaded data warehouse causes every click to take 10+ seconds. Users abandon the dashboard.
✕ Forgetting to Schedule Refreshes
Creating an extract but never scheduling refreshes means users see data that is weeks or months old without realizing it.
✕ Extract on Rapidly Changing Data
Using an extract for a real-time fraud detection dashboard: the 15-minute lag could mean thousands of dollars lost.

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?