SlideShare a Scribd company logo
1 of 32
Download to read offline
Support Presto
as a feature of SaaS
Presto Conference Tokyo 2020
November 20th, 2020
Satoru Kamikaseda
Staff Technical Support Engineer, Treasure Data
© 2020 Treasure Data
上加世田 暁(Kamikaseda Satoru)
Background
● Rakuten - Database Administrator (2009/04 ~ )
● Treasure Data - Technical Support Engineer (2016/04 ~ )
Etc…
● Junior Football club
● Foot Golf
© 2020 Treasure Data
Topics in this Presentation
● About Treasure Data & Support team
● Customer Inquiries
● How to support
● Frequently struggle points
● Proactive approaches
● Future ambitions
© 2020 Treasure Data
About Treasure Data
& Support team
© 2020 Treasure Data
About Treasure Data
© 2020 Treasure Data
About Treasure Data
© 2020 Treasure Data
About Support Team
● Head count
○ Manager 1
○ Japan 7
○ USA 2
○ Canada 1
○ UK 1
○ Uganda 1
● Many components
● Focussing on Presto in this session
© 2020 Treasure Data
Customer Inquiries
© 2020 Treasure Data
Customer Inquiries
● Total num of inquiries
○ Around 650 / Month
○ 170 / Week
© 2020 Treasure Data
Customer Inquiries - Percentage 2020
● by inquiry category
○ Data Processing 26.64%
■ Presto
■ Hive
■ General SQL
■ Etc..
○ Workflow
○ Export
○ Import
○ Etc...
© 2020 Treasure Data
● Ratio of query engine
Customer Inquiries - Percentage 2020
● Ratio of inquiry
© 2020 Treasure Data
Customer Inquiries - Types 2020
● Job Investigation - 38.46%
○ The reason of Job Failure, Result, etc...
● SQL Help - 36.11%
○ Explain SQL Syntax, Functions, Advices…
● Notification - 11.32%
○ Proactive Support
■ Incident/Job failure notification,
Query tune advice, Etc….
● Performance Issue - 11.11%
○ Query execution duration issue
© 2020 Treasure Data
● Cases that are difficult to resolve with support alone
○ Cases the cause cannot be identified
○ An error that's first time
○ Buggy behavior
● Aiming for 15% or less
● Roughly achieve around 8%
Customer Inquiries - Escalation Rate
© 2020 Treasure Data
How to support
© 2020 Treasure Data
● Accurate catch-up of the situation
● Check the actual things
● Deep investigation
● Sorting out the situation
● Answer/Report it
How to support
© 2020 Treasure Data
How to support - First of all
● Accurate catch-up of the situation
○ Free format inquiry form
○ Communication is quite important
What’s
happening!?
The query results
are wrong!
Job is slow!
What’s SQL?
How to write?
© 2020 Treasure Data
● Check the actual things
(sql, log, etc....)
How to support - Fact check
© 2020 Treasure Data
● Check the actual things
(sql, log, etc....)
How to support - Fact check
© 2020 Treasure Data
● Check cluster status (DATADOG)
○ Memory, Internal Metrics (Driver, Splits, Tasks), Coordinator, Worker, Storage, etc….
How to support - Perspective
© 2020 Treasure Data
● Processing Cost Comparison (Splunk)
○ Elapsed, Splits, Total Bytes/Rows, Peak Memory, etc...
How to support - In-depth analyses(1)
© 2020 Treasure Data
● Job Timeline (Splunk)
○ Job Concurrency, Memory Limitation
How to support - In-depth analyses(2)
© 2020 Treasure Data
● Job Timeline (Splunk)
○ Job Concurrency, Memory Limitation
How to support - In-depth analyses(2)
© 2020 Treasure Data
● Investigate as a Workflow (Splunk)
○ A single query has a small delay, but when they accumulate,
it becomes a big delay.
How to support - Multifaceted approach
© 2020 Treasure Data
● Sorting out the situation
or escalate to engineering team
● Answer/Report it
○ Make a concise and understandable report
How to support
© 2020 Treasure Data
Frequently struggle points
© 2020 Treasure Data
Frequently struggle points
● Syntax error
● Memory exceeded
○ Join order
○ Efficient use of partitions
○ Optimal Filtering
● Inefficient query
○ Multiple scans to the same table(s)
○ Improper use of CTE (Common Table Expression, WITH Statement)
© 2020 Treasure Data
Proactive approaches
© 2020 Treasure Data
● Find high cost queries
○ Memory
○ Splits
○ Frequency
○ Errors
○ Others
Proactive approaches
© 2020 Treasure Data
Proactive approaches
● How get things done
○ Make a benefit for the customer
■ If no benefit (motivation), nobody will get action
○ Concrete advices
■ Solutions, not just problems, are essential
○ Best communication method
■ From Support? Customer Success?
■ By mail? Slack? Call? Meeting?
© 2020 Treasure Data
Future ambitions
© 2020 Treasure Data
● Resource analysis automation
○ Automatic analysis and reporting of various factors
● Query tuning systemization
○ Detect inefficient queries and suggest specific tuning
points to executors
● Performance validness monitoring
○ “Performance” is an indeterminate measure
○ However, want to embody it from the log and detect
performance problems
Future ambitions
© 2020 Treasure Data
Thank You!

More Related Content

What's hot

What's hot (20)

A High Performance Mutable Engagement Activity Delta Lake
A High Performance Mutable Engagement Activity Delta LakeA High Performance Mutable Engagement Activity Delta Lake
A High Performance Mutable Engagement Activity Delta Lake
 
Scaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big DataScaling to Infinity - Open Source meets Big Data
Scaling to Infinity - Open Source meets Big Data
 
Building a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineBuilding a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection Engine
 
Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...
Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...
Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...
 
Exploring BigData with Google BigQuery
Exploring BigData with Google BigQueryExploring BigData with Google BigQuery
Exploring BigData with Google BigQuery
 
Scale and Optimize Data Engineering Pipelines with Software Engineering Best ...
Scale and Optimize Data Engineering Pipelines with Software Engineering Best ...Scale and Optimize Data Engineering Pipelines with Software Engineering Best ...
Scale and Optimize Data Engineering Pipelines with Software Engineering Best ...
 
Consolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest AirportsConsolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest Airports
 
Test Automation for NoSQL Databases
Test Automation for NoSQL DatabasesTest Automation for NoSQL Databases
Test Automation for NoSQL Databases
 
How BigQuery broke my heart
How BigQuery broke my heartHow BigQuery broke my heart
How BigQuery broke my heart
 
Data Vault 2.0: Big Data Meets Data Warehousing
Data Vault 2.0: Big Data Meets Data WarehousingData Vault 2.0: Big Data Meets Data Warehousing
Data Vault 2.0: Big Data Meets Data Warehousing
 
Data kitchen 7 agile steps - big data fest 9-18-2015
Data kitchen   7 agile steps - big data fest 9-18-2015Data kitchen   7 agile steps - big data fest 9-18-2015
Data kitchen 7 agile steps - big data fest 9-18-2015
 
Google Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.comGoogle Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.com
 
Elastic Stack roadmap deep dive
Elastic Stack roadmap deep diveElastic Stack roadmap deep dive
Elastic Stack roadmap deep dive
 
5 Amazing Reasons DBAs Need to Love Extended Events
5 Amazing Reasons DBAs Need to Love Extended Events5 Amazing Reasons DBAs Need to Love Extended Events
5 Amazing Reasons DBAs Need to Love Extended Events
 
Columbia Migrates from Legacy Data Warehouse to an Open Data Platform with De...
Columbia Migrates from Legacy Data Warehouse to an Open Data Platform with De...Columbia Migrates from Legacy Data Warehouse to an Open Data Platform with De...
Columbia Migrates from Legacy Data Warehouse to an Open Data Platform with De...
 
Redash: Open Source SQL Analytics on Data Lakes
Redash: Open Source SQL Analytics on Data LakesRedash: Open Source SQL Analytics on Data Lakes
Redash: Open Source SQL Analytics on Data Lakes
 
Case Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with DruidCase Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with Druid
 
Reltio: Powering Enterprise Data-driven Applications with Cassandra
Reltio: Powering Enterprise Data-driven Applications with CassandraReltio: Powering Enterprise Data-driven Applications with Cassandra
Reltio: Powering Enterprise Data-driven Applications with Cassandra
 
Analyzing StackExchange Data with Azure Data Lake (Tom Kerkhove @ Integration...
Analyzing StackExchange Data with Azure Data Lake (Tom Kerkhove @ Integration...Analyzing StackExchange Data with Azure Data Lake (Tom Kerkhove @ Integration...
Analyzing StackExchange Data with Azure Data Lake (Tom Kerkhove @ Integration...
 
Protecting Your Cluster from Your Humans
Protecting Your Cluster from Your HumansProtecting Your Cluster from Your Humans
Protecting Your Cluster from Your Humans
 

Similar to Support Presto as a feature of SaaS

Similar to Support Presto as a feature of SaaS (20)

Building Analytics Infrastructure for Growing Tech Companies
Building Analytics Infrastructure for Growing Tech CompaniesBuilding Analytics Infrastructure for Growing Tech Companies
Building Analytics Infrastructure for Growing Tech Companies
 
IT Planning and Budgeting Crash Course
IT Planning and Budgeting Crash CourseIT Planning and Budgeting Crash Course
IT Planning and Budgeting Crash Course
 
Dear Fiscal Board - Chief Data Officer shares thoughts and experiences with P...
Dear Fiscal Board - Chief Data Officer shares thoughts and experiences with P...Dear Fiscal Board - Chief Data Officer shares thoughts and experiences with P...
Dear Fiscal Board - Chief Data Officer shares thoughts and experiences with P...
 
How To Run A Successful BI Project with Hadoop
How To Run A Successful BI Project with HadoopHow To Run A Successful BI Project with Hadoop
How To Run A Successful BI Project with Hadoop
 
Pitfalls and pro-tips for effective and transparent Business Intelligence too...
Pitfalls and pro-tips for effective and transparent Business Intelligence too...Pitfalls and pro-tips for effective and transparent Business Intelligence too...
Pitfalls and pro-tips for effective and transparent Business Intelligence too...
 
Elementary Data Analysis with MS excel_Day-1
Elementary Data Analysis with MS excel_Day-1Elementary Data Analysis with MS excel_Day-1
Elementary Data Analysis with MS excel_Day-1
 
Embedding a Shift Left Culture in your Enterprise
Embedding a Shift Left Culture in your EnterpriseEmbedding a Shift Left Culture in your Enterprise
Embedding a Shift Left Culture in your Enterprise
 
Bio-IT Trends From The Trenches (digital edition)
Bio-IT Trends From The Trenches (digital edition)Bio-IT Trends From The Trenches (digital edition)
Bio-IT Trends From The Trenches (digital edition)
 
FinTech Data Challenges @ Nerdwallet
FinTech Data Challenges @ Nerdwallet FinTech Data Challenges @ Nerdwallet
FinTech Data Challenges @ Nerdwallet
 
"How To Build and Lead a Winning Data Team" by Cahyo Listyanto (Bizzy.co.id)
"How To Build and Lead a Winning Data Team" by Cahyo Listyanto (Bizzy.co.id)"How To Build and Lead a Winning Data Team" by Cahyo Listyanto (Bizzy.co.id)
"How To Build and Lead a Winning Data Team" by Cahyo Listyanto (Bizzy.co.id)
 
Jarod Sickler and Morley Tooke - DITA Support Portals: A One Stop Shop to Giv...
Jarod Sickler and Morley Tooke - DITA Support Portals: A One Stop Shop to Giv...Jarod Sickler and Morley Tooke - DITA Support Portals: A One Stop Shop to Giv...
Jarod Sickler and Morley Tooke - DITA Support Portals: A One Stop Shop to Giv...
 
Guru4Pro Data Vault Best Practices
Guru4Pro Data Vault Best PracticesGuru4Pro Data Vault Best Practices
Guru4Pro Data Vault Best Practices
 
Data science Applications in the Enterprise
Data science Applications in the EnterpriseData science Applications in the Enterprise
Data science Applications in the Enterprise
 
Trajectory Startup Program Session Abu Dhabi Day 3
Trajectory Startup Program Session Abu Dhabi Day 3Trajectory Startup Program Session Abu Dhabi Day 3
Trajectory Startup Program Session Abu Dhabi Day 3
 
KIC - WTIA Startup Bootcamp Day 3
KIC - WTIA Startup Bootcamp Day 3KIC - WTIA Startup Bootcamp Day 3
KIC - WTIA Startup Bootcamp Day 3
 
How to become a data scientist
How to become a data scientist How to become a data scientist
How to become a data scientist
 
3 types of monitoring for 2020
3 types of monitoring for 20203 types of monitoring for 2020
3 types of monitoring for 2020
 
Case Study: eTapestry QuickBooks Online Integration with Zapier
Case Study: eTapestry QuickBooks Online Integration with ZapierCase Study: eTapestry QuickBooks Online Integration with Zapier
Case Study: eTapestry QuickBooks Online Integration with Zapier
 
Fundraising for Early Stage Startups
Fundraising for Early Stage StartupsFundraising for Early Stage Startups
Fundraising for Early Stage Startups
 
Simple approaches to agile business analysis
Simple approaches to agile business analysisSimple approaches to agile business analysis
Simple approaches to agile business analysis
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 

Support Presto as a feature of SaaS

  • 1. Support Presto as a feature of SaaS Presto Conference Tokyo 2020 November 20th, 2020 Satoru Kamikaseda Staff Technical Support Engineer, Treasure Data
  • 2. © 2020 Treasure Data 上加世田 暁(Kamikaseda Satoru) Background ● Rakuten - Database Administrator (2009/04 ~ ) ● Treasure Data - Technical Support Engineer (2016/04 ~ ) Etc… ● Junior Football club ● Foot Golf
  • 3. © 2020 Treasure Data Topics in this Presentation ● About Treasure Data & Support team ● Customer Inquiries ● How to support ● Frequently struggle points ● Proactive approaches ● Future ambitions
  • 4. © 2020 Treasure Data About Treasure Data & Support team
  • 5. © 2020 Treasure Data About Treasure Data
  • 6. © 2020 Treasure Data About Treasure Data
  • 7. © 2020 Treasure Data About Support Team ● Head count ○ Manager 1 ○ Japan 7 ○ USA 2 ○ Canada 1 ○ UK 1 ○ Uganda 1 ● Many components ● Focussing on Presto in this session
  • 8. © 2020 Treasure Data Customer Inquiries
  • 9. © 2020 Treasure Data Customer Inquiries ● Total num of inquiries ○ Around 650 / Month ○ 170 / Week
  • 10. © 2020 Treasure Data Customer Inquiries - Percentage 2020 ● by inquiry category ○ Data Processing 26.64% ■ Presto ■ Hive ■ General SQL ■ Etc.. ○ Workflow ○ Export ○ Import ○ Etc...
  • 11. © 2020 Treasure Data ● Ratio of query engine Customer Inquiries - Percentage 2020 ● Ratio of inquiry
  • 12. © 2020 Treasure Data Customer Inquiries - Types 2020 ● Job Investigation - 38.46% ○ The reason of Job Failure, Result, etc... ● SQL Help - 36.11% ○ Explain SQL Syntax, Functions, Advices… ● Notification - 11.32% ○ Proactive Support ■ Incident/Job failure notification, Query tune advice, Etc…. ● Performance Issue - 11.11% ○ Query execution duration issue
  • 13. © 2020 Treasure Data ● Cases that are difficult to resolve with support alone ○ Cases the cause cannot be identified ○ An error that's first time ○ Buggy behavior ● Aiming for 15% or less ● Roughly achieve around 8% Customer Inquiries - Escalation Rate
  • 14. © 2020 Treasure Data How to support
  • 15. © 2020 Treasure Data ● Accurate catch-up of the situation ● Check the actual things ● Deep investigation ● Sorting out the situation ● Answer/Report it How to support
  • 16. © 2020 Treasure Data How to support - First of all ● Accurate catch-up of the situation ○ Free format inquiry form ○ Communication is quite important What’s happening!? The query results are wrong! Job is slow! What’s SQL? How to write?
  • 17. © 2020 Treasure Data ● Check the actual things (sql, log, etc....) How to support - Fact check
  • 18. © 2020 Treasure Data ● Check the actual things (sql, log, etc....) How to support - Fact check
  • 19. © 2020 Treasure Data ● Check cluster status (DATADOG) ○ Memory, Internal Metrics (Driver, Splits, Tasks), Coordinator, Worker, Storage, etc…. How to support - Perspective
  • 20. © 2020 Treasure Data ● Processing Cost Comparison (Splunk) ○ Elapsed, Splits, Total Bytes/Rows, Peak Memory, etc... How to support - In-depth analyses(1)
  • 21. © 2020 Treasure Data ● Job Timeline (Splunk) ○ Job Concurrency, Memory Limitation How to support - In-depth analyses(2)
  • 22. © 2020 Treasure Data ● Job Timeline (Splunk) ○ Job Concurrency, Memory Limitation How to support - In-depth analyses(2)
  • 23. © 2020 Treasure Data ● Investigate as a Workflow (Splunk) ○ A single query has a small delay, but when they accumulate, it becomes a big delay. How to support - Multifaceted approach
  • 24. © 2020 Treasure Data ● Sorting out the situation or escalate to engineering team ● Answer/Report it ○ Make a concise and understandable report How to support
  • 25. © 2020 Treasure Data Frequently struggle points
  • 26. © 2020 Treasure Data Frequently struggle points ● Syntax error ● Memory exceeded ○ Join order ○ Efficient use of partitions ○ Optimal Filtering ● Inefficient query ○ Multiple scans to the same table(s) ○ Improper use of CTE (Common Table Expression, WITH Statement)
  • 27. © 2020 Treasure Data Proactive approaches
  • 28. © 2020 Treasure Data ● Find high cost queries ○ Memory ○ Splits ○ Frequency ○ Errors ○ Others Proactive approaches
  • 29. © 2020 Treasure Data Proactive approaches ● How get things done ○ Make a benefit for the customer ■ If no benefit (motivation), nobody will get action ○ Concrete advices ■ Solutions, not just problems, are essential ○ Best communication method ■ From Support? Customer Success? ■ By mail? Slack? Call? Meeting?
  • 30. © 2020 Treasure Data Future ambitions
  • 31. © 2020 Treasure Data ● Resource analysis automation ○ Automatic analysis and reporting of various factors ● Query tuning systemization ○ Detect inefficient queries and suggest specific tuning points to executors ● Performance validness monitoring ○ “Performance” is an indeterminate measure ○ However, want to embody it from the log and detect performance problems Future ambitions
  • 32. © 2020 Treasure Data Thank You!