18
@SnowflakeDB #CloudAnalytics17 LONDON

Optimizing Your Analytics with Snowflake and Tableau · 2020. 8. 31. · This Afternoon…. •5 Ways to Enable BI in the Cloud –(High level summary) •Optimizing Your Analytics

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

  • @SnowflakeDB@SnowflakeDB #CloudAnalytics17

    LONDON

  • This Afternoon….• 5WaystoEnableBIintheCloud– (Highlevelsummary)• OptimizingYourAnalyticswithTableauandSnowflake– (DetailedBIcontent)• UtilizingSnowflake’sArchitecturetoSupportBI– (DetailedSnowflakecontent)

    • StartEndingYourDataStruggle(30DayGuide)

  • 3© 2017 Snowflake Computing Inc. All Rights Reserved.

    Optimizing Your Analytics with Tableau and SnowflakeAlexander Ross, TableauRoss Perez, Snowflake6/1/2017

  • 4© 2017 Snowflake Computing Inc. All Rights Reserved.

    • 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

    Optimizing Your Analytics with Tableau and Snowflake

  • 5© 2017 Snowflake Computing Inc. All Rights Reserved.

    SQL analysts

    Data science

    BI & analytics tools

    ETL and Processing

    Enabling independent connectivity to data

  • 6© 2017 Snowflake Computing Inc. All Rights Reserved.

    SQL analysts/BI

    manager

    Reporting

    Ad-hoc analytics

    ETL and Processing

    Enable independent connectivity to data

    Morning Noon Night

    Wor

    kload

    Morning Noon Night

    Wor

    kload

    Morning Noon NightW

    orklo

    ad

    Morning Noon Night

    Wor

    kload

    L

    Autosuspend/Autoresume

    M

    Autosuspend/Autoresume

    M 2M

    Autoscale

    XS M

    Always On Autosuspend/Resume

  • 7© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Creating a warehouse• Sizing a warehouse• Auto-suspend• Auto-resume

  • 8© 2017 Snowflake Computing Inc. All Rights Reserved.

    Sales team looking at quota data

    Supporting repetitive queries

    Marketing evaluating website traffic

    Engineering analyzing bugs

    Defining characteristic: someone will need to use this data again

  • 9© 2017 Snowflake Computing Inc. All Rights Reserved.

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

    What people with repetitive queries need

  • 10© 2017 Snowflake Computing Inc. All Rights Reserved. 10

    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

  • 11© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Database level• Permissions

    Curating direct connectivity

    • View level• Global calculations• Complex calculations• Field reduction

    • Tableau level• Groups• One-off calculations• Aliases• Folders• Hierarchies

  • 12© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Permissions• Creating a view• Tableau: Field level metadata

  • 13© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Query performance troubleshooting checklist• Run the associated query (keep in mind whether or not it’s 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

    Use the tools at your disposal to troubleshoot

  • 14© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Tableau Performance Recorder• Snowflake history

  • 15© 2017 Snowflake Computing Inc. All Rights Reserved.

    • 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

    Improving ad-hoc queries

  • 16© 2017 Snowflake Computing Inc. All Rights Reserved.

    • 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

    Creating efficient ad-hoc queries

  • 17© 2017 Snowflake Computing Inc. All Rights Reserved.

    • Filtering in Tableau• Disaggregating• Creating a calculation for

    a group

  • Thank You to Our PartnersPlatinum

    Gold