Vous êtes sur la page 1sur 18

LONDON

@SnowflakeDB
@SnowflakeDB #CloudAnalytics17
This Afternoon.
5 Ways to Enable BI in the Cloud (High level summary)
Optimizing Your Analytics with Tableau and Snowflake (Detailed BI content)
Utilizing Snowflakes Architecture to Support BI (Detailed Snowflake
content)
Start Ending Your Data Struggle (30 Day Guide)
Optimizing Your Analytics
with Tableau and Snowflake
Alexander Ross, Tableau
Ross Perez, Snowflake
6/1/2017

2017 Snowflake Computing Inc. All Rights Reserved. 3


Optimizing Your Analytics with Tableau and Snowflake

Step 1: Enable independent connectivity to data


Step 2: Support repetitive queries
Step 3: Use the tools at your disposal to troubleshoot
Step 4: Improve ad-hoc queries

2017 Snowflake Computing Inc. All Rights Reserved. 4


Enabling independent connectivity to data

ETL and Data


Processing science

SQL BI & analytics


analysts tools

2017 Snowflake Computing Inc. All Rights Reserved. 5


Enable independent connectivity to data

Workload
ETL and XS M
Processing
Always On Autosuspend/Resume
Morning Noon Night

Workload
SQL
analysts/BI L
manager
Autosuspend/Autoresume
Morning Noon Night

Workload
M 2M
Reporting
Autoscale
Morning Noon Night
Workload

Ad-hoc
analytics M

Morning Noon Night Autosuspend/Autoresume


2017 Snowflake Computing Inc. All Rights Reserved. 6
Creating a warehouse
Sizing a warehouse
Auto-suspend
Auto-resume

2017 Snowflake Computing Inc. All Rights Reserved. 7


Supporting repetitive queries

Sales team looking at quota data

Engineering analyzing bugs

Marketing evaluating website traffic

Defining characteristic: someone will need to use this data again

2017 Snowflake Computing Inc. All Rights Reserved. 8


What people with repetitive queries need

Up-to-date data
Accurate calculations
Simplified fields and metadata

2017 Snowflake Computing Inc. All Rights Reserved. 9


Why avoid in-memory

Extracts and in-memory connectivity


hard to keep sync and manage

Driven by poor database performance

Focus on enabling direct


connectivity and curating real
data

2017 Snowflake Computing Inc. All Rights Reserved. 10


Curating direct connectivity

Database level View level Tableau level


Permissions Global calculations Groups
Complex calculations One-off calculations
Field reduction Aliases
Folders
Hierarchies

2017 Snowflake Computing Inc. All Rights Reserved. 11


Permissions
Creating a view
Tableau: Field level metadata

2017 Snowflake Computing Inc. All Rights Reserved. 12


Use the tools at your disposal to troubleshoot

Query performance troubleshooting checklist


Run the associated query (keep in mind whether or not its being cached)
Step 1: Take a look in Snowflake History
Step 2: Take a look at Tableau performance recorder
Step 3: Evaluate difference in query performance
If Tableau >>> Snowflake, investigate on BI side
If Tableau > Snowflake, investigate on Snowflake/query side

2017 Snowflake Computing Inc. All Rights Reserved. 13


Tableau Performance Recorder
Snowflake history

2017 Snowflake Computing Inc. All Rights Reserved. 14


Improving ad-hoc queries

What slows ad-hoc queries down?


Unfocused questions -> need more of the table
Disaggregated measures -> every value has to be returned
Groups and LOD calculations

2017 Snowflake Computing Inc. All Rights Reserved. 15


Creating efficient ad-hoc queries

What slows ad-hoc queries down?


Unfocused questions -> Filter as much as possible. Use cohorts and sets.
Disaggregated measures -> Aggregate measures [sum() avg(), etc]
Materialize groups and LOD as calculations

2017 Snowflake Computing Inc. All Rights Reserved. 16


Filtering in Tableau
Disaggregating
Creating a calculation for
a group

2017 Snowflake Computing Inc. All Rights Reserved. 17


Thank You to Our Partners
Platinum

Gold

Vous aimerez peut-être aussi