welcome [tc18.tableau.com]...potentially slowing down your server logshark tableau performance...

37

Upload: others

Post on 15-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online
Page 2: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Welcome

Page 3: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tuning Tableau ServerPerformance Best Practices

Jonathan Varkovitzky

Product Manager

Tableau Software

# T C 1 8

Page 4: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Introductions

Who are you?Power User?

Tableau Admin?

IT Admin?

Business Leader?

Are you:More than one of the above?

All of the above?

Page 5: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Introductions

Who am I?Started in Perf Testing

Moved into technical customer facing role

Manage all escalated customer cases in Dev

Page 6: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

It got slow even though nothing changed!

-Ancient Admin Proverb

Oh but we are on new hardware

Oh but the VMs are in a new data center

Oh but our user base doubled since last year

Oh but we upgraded last weekend

Oh but we ran out of disk space

Page 7: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

How Are Issues Reported?

Page 8: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

The Things We Hear

User Based Reporting:Specific workbooks underperforming

Individual projects slow

Entire server sluggish

System Based Reporting:Processes seen restarting often

System resources pegged

Page 9: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tools of the Trade

Page 10: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Task Manager

Available on all Windows machines

Great for a quick snapshot

Can quickly see the worst offenders

Linux Tip:Similar functionality is available using the ‘top’ or ‘htop’ command.

Page 11: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Perfmon

Available on all Windows machines

Hundreds of system metrics!

Highly configurable

Easy to record and share findings

Linux Tip:Similar functionality is available using the System Activity Reporter (SAR)

Page 12: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tabmon

Created by Tableau for Tableau!

Utilizes Perfmon under the hood

Monitor multiple machines from a single point

Has additional hooks into Tableau to correlate events to resource spikes

It’s open source!

You can download it here: https://github.com/tableau/tabmon

Page 13: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tabmon

Page 14: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Logshark

Takes zipped logs and turns them into dashboards

Compare and contrast patterns at different times

See trends in how your deployment is being used

Identify the workbooks that are being used most often and potentially slowing down your server

Page 15: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Logshark

Page 16: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tableau Performance Recorder

Great for single workbooks regressions

Available on Desktop, Server, and Online

Easy to understand output

You see broad information and drill down

Easily package and sent to Tableau

Page 17: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tools of the Trade

Task Manager

Perfmon

Tabmon

Logshark

Tableau Performance Recorder

Page 18: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

What Can You Do About It?

Page 19: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Knobs You Can Turn

Grocery Stores

Workbook design

Database design

Using and optimizing extracts

Modifying tableau topology

VM settings and

Resource allocation

Anti-virus and security software

Planning for growth

Page 20: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Tableau Is Like a Grocery Store

Your cart is like you requesting a viz

You collect all you need in the different aisles

Next you need to check out

Each check out counter is like a vizql process

Page 21: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Workbook Design

Reduce the number of filters

How many marks are still effective?

Avoid massive cross tabs

The more broadly shared the more optimized the data should be

To really become an expert consider giving our whitepaper a read:

https://www.tableau.com/learn/whitepapers/designing-efficient-workbooks

Page 22: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Database Design

Index on key dimensions in your DB

Fewer columns are better

Apply data source filters whenever possible

For high traffic workbooks consider materializing your tables

Page 23: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Optimizing Your Extracts

Localizes your data

Only keep the data you care about

Reduce load on your live database

Hide fields or rows you want to keep private

Materialize your calcs

Page 24: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Quick Hyper Aside

Hyperizing happens at data source refresh

You can still materialize calcs

Perf Improvements!

Automatic deployment of processes

There is an upcoming beta for isolated hyper!

https://prerelease.tableau.com

Page 25: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Modifying Your Tableau Topology

Keep your workers local to one another

Open up your ephemeral ports

External wiki

Isolate backgrounders on their own machine with no more than 1 per core

Don’t exceed 1 Vizql or Data Server process per 4 cores if possible

There is no need to have more than two cache servers per machine

Page 26: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Virtual Machine Resource Allocation

When working with your VM team keep in mind Tableau is a compute heavy application

Reserving CPU and memory allow for a faster user experience

VMWare has a great whitepaper on supporting latency sensitive applications and recommend 100% CPU and memory reservation

Reservation doesn’t mean other applications cannot use the resources, just that Tableau will get priority

Page 27: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Let’s Do an Experiment!

Page 28: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Let’s Do an Experiment!

Page 29: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Anti-Virus

Many of you are limited by cooperate policies

Remember, Tableau is latency sensitive

Security software can act as a filter driver

We strongly encourage exclusions for Tableau and Windows directories

Schedule any active scans for off hours

Page 30: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Planning For Growth

Growth comes in different forms and have to be planned for differently

Logshark or your admin views can give you hints

Your scaling should be based on your particular needs

Reach out to your account reps

Page 31: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Options We Discussed

Workbook design

Database design

Using and optimizing extracts

Modifying Tableau Topology

VM Settings and resource allocation

Anti-virus and security software

Planning for growth

Page 32: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Q&A!

Page 33: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Closing Thoughts

Did any of the detection methods broaden your scope?

Do you feel like you have at least one tool or knob from today could help your organization?

Are you excited for the rest of conference?

Page 34: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Please complete the

session survey from the My

Evaluations menu

in your TC18 app

Page 35: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Designing Efficient Workbooks

R E L AT E D S E S S I O N S

Thursday | 10:45 – 11:45 | MCCNO – L2 – La Nouvelle Ballroom C

Capacity Planning and Load Testing with Tabjolt

Thurs | 12:30 – 1:30 | MCCNO – L3 - 351

Page 36: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online

Thank you!

#TC18

Page 37: Welcome [tc18.tableau.com]...potentially slowing down your server Logshark Tableau Performance Recorder Great for single workbooks regressions Available on Desktop, Server, and Online