SlideShare a Scribd company logo
1 of 26
Download to read offline
PUBLIC
Analyzing Database Performance in
SAP HANA
DAT367
2
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Speakers
Las Vegas
September 24–27, 2019
Yves Augustin
Lucas Kiesow
Barcelona
October 8-10, 2019
Martin Frauendorfer
Lucas Kiesow
Bangalore
November 13-15, 2019
Shreepathi Kukkila
Lucas Kiesow
3
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Download the app from
iPhone App Store or Google Play.
Take the session survey.
We want to hear from you!
Complete the session evaluation for this session
DAT367 on the SAP TechEd mobile app.
4
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP.
Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service
or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or any related
document, or to develop or release any functionality mentioned therein.
This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directions and
functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this
presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentation is provided
without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross
negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from
expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,
and they should not be relied upon in making purchasing decisions.
Disclaimer
5
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
6
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
7
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
This Hands-on session is designed to provide you with…
 …a general understanding of key concepts and tools when analyzing database performance in SAP HANA
 …various examples of important case studies which have proven to be essential for most customers
 …in-depth information on technical aspects of system analysis and statement execution
The Hands-on document should not only serve as a guide while going through the exercises, but also as
a source of information for your daily work with SAP HANA.
We provide exported execution plans and scripts for all exercises and case studies which students
should use while going through the exercises. Students can of course explore the system freely once the key
concepts have been understood. Please note that the scale-out exercises cannot be recreated as we are
working on a single-node system.
Before you start
8
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
9
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Learn how to download and use the Statement
Collection
 Understand what functionality the scripts offer
 Highlight most-used scripts for end users
 Gain insights how to modify and use the scripts for
your daily work
General introduction to the Statement Collection
Fig. 1: KBA 1969700
Fig. 2: Attachements – SQL Statements Collection
10
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
11
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand how to visualize execution plans for
queries in SAP HANA
 Understand what features the tool offers
 Understand the basic differences of engines in SAP
HANA
 Understand basic operators
General introduction to PlanViz
Fig. 2: JE aggregation
Fig. 1: JE join
Fig. 3: OLAP aggregation
Fig. 4: OLAP join
Fig. 5: OLAP execution plan
12
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
13
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand how to access the Explain Plan feature
in SAP HANA
 Understand what features the feature offers
 Understand what information the feature offers
General introduction to Explain Plan
Fig. 1: Execution Engine
Fig. 2: Important Columns
14
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
15
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand the concept of Unfolding
 Gain knowledge on how to analyze and resolve
scenarios in which unfolding is blocked
Case studies
Analyzing and controlling calculation engine unfolding
Fig. 1: Model Unfolding
16
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand how to analyze and check filter pushdown
 Understand the effects of filter pushdown on executed queries
Case studies
How to check for filter pushdown
17
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand the concept of join cardinalities
 Understand how cardinality settings affect query execution
 Learn how to handle join cardinalities in SAP HANA
Case studies
How cardinalities affect join behavior
Fig. 1: Different Join Cardinalities
18
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Before you start
General introduction to the Statement
Collection
General introduction to PlanViz
General introduction to Explain Plan
Case studies
Scale-out scenarios
Agenda
19
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand the concept of table distribution
 Understand how table distribution can affect query
execution
 Understand how to leverage table distribution to
improve your queries
*Please note that these exercises cannot be recreated
as we are working on a single-node system
Scale-out scenarios
Table distribution
Fig. 1: Distributed Query Execution
20
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand the concept of table partitioning
 Understand how table partitioning can affect query
execution
 Understand how to leverage table partitioning to
improve your queries
*Please note that these exercises cannot be recreated
as we are working on a single-node system
Scale-out scenarios
Table partitioning
Fig. 1: Partition Access
21
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Objectives
 Understand the concept of distributed query
execution
 Understand how to minimize data transfers during
execution
*Please note that these exercises cannot be recreated
as we are working on a single-node system
Scale-out scenarios
Partitioned distributed execution
Fig. 1: Query Execution on Multiple Hosts
22
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
 Access SAP TechEd Learning Journeys
 Discover related learning content
 Watch webinars of SAP TechEd lectures
 Learn about SAP’s latest innovations with openSAP
 Collaborate with SAP experts
 Self-test your knowledge
 Earn a SAP TechEd knowledge badge
Continue your SAP TechEd 2019 Learning Experience
Join the digital SAP TechEd Learning Room 2019 in SAP Learning Hub
23
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Access replays
 Keynotes
 Live interviews
 Select lecture sessions
http://sapteched.com/online
Continue the conversation
 Read and reply to blog posts
 Ask questions
 Join discussions
sap.com/community
Check out the latest blogs
 See all SAP TechEd blog posts
 Learn from peers and experts
SAP TechEd blog posts
Engage with the SAP TechEd Community
Access replays and continue your SAP TechEd discussion after the event
within the SAP Community
24
PUBLIC
© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
More information
Related SAP TechEd Learning Journeys
 DAT4 – How to Develop Next Generation Cloud Native Applications with SAP HANA
 DAT5 – How to Model and View Data in SAP HANA on-premises and in the cloud
 DAT6 – How to Administrate and Operate SAP HANA on-premises and in the cloud
Related SAP TechEd sessions
 DAT104 – Take Advantage of SAP HANA’s Latest Innovations
 DAT105 – SAP HANA Cloud Services: The Simple Gateway to All Data
 DAT368 – Administrating and Operating SAP HANA
 DAT371 – SQL Plan Optimization and Stability
 DAT372 – Overview of Calculation View Modeling in SAP HANA Using SAP Web IDE
Public SAP Web sites
 SAP Community: www.sap.com/community
 SAP products: www.sap.com/products
Feedback Contact for further topic inquiries
Please complete your session evaluation
for DAT367.
Yves Augustin
yves.augustin@sap.com
Martin Frauendorfer
martin.frauendorfer@sap.com
Lucas Kiesow
lucas.kiesow@sap.com
Thanks for attending this session.
© 2019 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names
mentioned are the trademarks of their respective companies.
See www.sap.com/copyright for additional trademark information and notices.
www.sap.com/contactsap
Follow us

More Related Content

Similar to DAT367 – Analyzing Database Performance in SAP HANA.pdf

Sap bw abap_analyzer_v3_4_ppt
Sap bw abap_analyzer_v3_4_pptSap bw abap_analyzer_v3_4_ppt
Sap bw abap_analyzer_v3_4_ppt원석 최
 
SAP Fiori with SAP BusinessObjects BI Launchpad
SAP Fiori with SAP BusinessObjects BI LaunchpadSAP Fiori with SAP BusinessObjects BI Launchpad
SAP Fiori with SAP BusinessObjects BI LaunchpadDavid Quintero Fernández
 
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptx
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptxhello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptx
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptxkumar362703691
 
SAP REST PROGRAMMING Documantation & Notes
SAP REST PROGRAMMING Documantation & NotesSAP REST PROGRAMMING Documantation & Notes
SAP REST PROGRAMMING Documantation & Notesnepalsingh9990
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowFlowable
 
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...SAP Analytics
 
Neuerungen in den strategischen planungs und konsolidierungslösungen
Neuerungen in den strategischen planungs  und konsolidierungslösungenNeuerungen in den strategischen planungs  und konsolidierungslösungen
Neuerungen in den strategischen planungs und konsolidierungslösungenIvan Blatnik
 
S4 h 188 sap s4hana cloud implementation with sap activate
S4 h 188 sap s4hana cloud implementation with sap activateS4 h 188 sap s4hana cloud implementation with sap activate
S4 h 188 sap s4hana cloud implementation with sap activateLokesh Modem
 
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019SAP Screen Personas ASUG83737 ASUG Annual Conference 2019
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019Peter Spielvogel
 
Innovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformInnovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformVladimir Pavlov
 
Sap activate introducing sa ps next generation, agile-based methodology
Sap activate   introducing sa ps next generation, agile-based methodologySap activate   introducing sa ps next generation, agile-based methodology
Sap activate introducing sa ps next generation, agile-based methodologySantosh Peddi
 
Sap Activate introducing sa ps next generation, agile-based methodology
Sap Activate   introducing sa ps next generation, agile-based methodologySap Activate   introducing sa ps next generation, agile-based methodology
Sap Activate introducing sa ps next generation, agile-based methodologySilvestre Oliveira, PMP®, ITIL®
 
SAP Business Technology Platform in a Nutshell
SAP Business Technology Platform in a NutshellSAP Business Technology Platform in a Nutshell
SAP Business Technology Platform in a NutshellRichard314186
 
SAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP Technology
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile deviceLars Gregori
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile deviceLars Gregori
 

Similar to DAT367 – Analyzing Database Performance in SAP HANA.pdf (20)

Sap bw abap_analyzer_v3_4_ppt
Sap bw abap_analyzer_v3_4_pptSap bw abap_analyzer_v3_4_ppt
Sap bw abap_analyzer_v3_4_ppt
 
SAP Fiori with SAP BusinessObjects BI Launchpad
SAP Fiori with SAP BusinessObjects BI LaunchpadSAP Fiori with SAP BusinessObjects BI Launchpad
SAP Fiori with SAP BusinessObjects BI Launchpad
 
Sap activate overview
Sap activate overviewSap activate overview
Sap activate overview
 
SAP Activate Overview
SAP Activate OverviewSAP Activate Overview
SAP Activate Overview
 
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptx
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptxhello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptx
hello-200624192640aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.pptx
 
SAP REST PROGRAMMING Documantation & Notes
SAP REST PROGRAMMING Documantation & NotesSAP REST PROGRAMMING Documantation & Notes
SAP REST PROGRAMMING Documantation & Notes
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
 
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...
#askSAP Analytics Innovations Community Call: SAP Analytics 2019 Strategy and...
 
Neuerungen in den strategischen planungs und konsolidierungslösungen
Neuerungen in den strategischen planungs  und konsolidierungslösungenNeuerungen in den strategischen planungs  und konsolidierungslösungen
Neuerungen in den strategischen planungs und konsolidierungslösungen
 
S4 h 188 sap s4hana cloud implementation with sap activate
S4 h 188 sap s4hana cloud implementation with sap activateS4 h 188 sap s4hana cloud implementation with sap activate
S4 h 188 sap s4hana cloud implementation with sap activate
 
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019SAP Screen Personas ASUG83737 ASUG Annual Conference 2019
SAP Screen Personas ASUG83737 ASUG Annual Conference 2019
 
Innovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformInnovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise Platform
 
Sap activate introducing sa ps next generation, agile-based methodology
Sap activate   introducing sa ps next generation, agile-based methodologySap activate   introducing sa ps next generation, agile-based methodology
Sap activate introducing sa ps next generation, agile-based methodology
 
SAC AIN109_Presentation.pdf
SAC AIN109_Presentation.pdfSAC AIN109_Presentation.pdf
SAC AIN109_Presentation.pdf
 
Sap Activate introducing sa ps next generation, agile-based methodology
Sap Activate   introducing sa ps next generation, agile-based methodologySap Activate   introducing sa ps next generation, agile-based methodology
Sap Activate introducing sa ps next generation, agile-based methodology
 
SAP Developers Update
SAP  Developers UpdateSAP  Developers Update
SAP Developers Update
 
SAP Business Technology Platform in a Nutshell
SAP Business Technology Platform in a NutshellSAP Business Technology Platform in a Nutshell
SAP Business Technology Platform in a Nutshell
 
SAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScript
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile device
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile device
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreelreely ones
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024TopCSSGallery
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 

Recently uploaded (20)

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 

DAT367 – Analyzing Database Performance in SAP HANA.pdf

  • 2. 2 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Speakers Las Vegas September 24–27, 2019 Yves Augustin Lucas Kiesow Barcelona October 8-10, 2019 Martin Frauendorfer Lucas Kiesow Bangalore November 13-15, 2019 Shreepathi Kukkila Lucas Kiesow
  • 3. 3 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Download the app from iPhone App Store or Google Play. Take the session survey. We want to hear from you! Complete the session evaluation for this session DAT367 on the SAP TechEd mobile app.
  • 4. 4 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP. Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or any related document, or to develop or release any functionality mentioned therein. This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directions and functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentation is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross negligence. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions. Disclaimer
  • 5. 5 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 6. 6 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 7. 7 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ This Hands-on session is designed to provide you with…  …a general understanding of key concepts and tools when analyzing database performance in SAP HANA  …various examples of important case studies which have proven to be essential for most customers  …in-depth information on technical aspects of system analysis and statement execution The Hands-on document should not only serve as a guide while going through the exercises, but also as a source of information for your daily work with SAP HANA. We provide exported execution plans and scripts for all exercises and case studies which students should use while going through the exercises. Students can of course explore the system freely once the key concepts have been understood. Please note that the scale-out exercises cannot be recreated as we are working on a single-node system. Before you start
  • 8. 8 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 9. 9 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Learn how to download and use the Statement Collection  Understand what functionality the scripts offer  Highlight most-used scripts for end users  Gain insights how to modify and use the scripts for your daily work General introduction to the Statement Collection Fig. 1: KBA 1969700 Fig. 2: Attachements – SQL Statements Collection
  • 10. 10 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 11. 11 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand how to visualize execution plans for queries in SAP HANA  Understand what features the tool offers  Understand the basic differences of engines in SAP HANA  Understand basic operators General introduction to PlanViz Fig. 2: JE aggregation Fig. 1: JE join Fig. 3: OLAP aggregation Fig. 4: OLAP join Fig. 5: OLAP execution plan
  • 12. 12 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 13. 13 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand how to access the Explain Plan feature in SAP HANA  Understand what features the feature offers  Understand what information the feature offers General introduction to Explain Plan Fig. 1: Execution Engine Fig. 2: Important Columns
  • 14. 14 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 15. 15 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand the concept of Unfolding  Gain knowledge on how to analyze and resolve scenarios in which unfolding is blocked Case studies Analyzing and controlling calculation engine unfolding Fig. 1: Model Unfolding
  • 16. 16 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand how to analyze and check filter pushdown  Understand the effects of filter pushdown on executed queries Case studies How to check for filter pushdown
  • 17. 17 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand the concept of join cardinalities  Understand how cardinality settings affect query execution  Learn how to handle join cardinalities in SAP HANA Case studies How cardinalities affect join behavior Fig. 1: Different Join Cardinalities
  • 18. 18 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Before you start General introduction to the Statement Collection General introduction to PlanViz General introduction to Explain Plan Case studies Scale-out scenarios Agenda
  • 19. 19 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand the concept of table distribution  Understand how table distribution can affect query execution  Understand how to leverage table distribution to improve your queries *Please note that these exercises cannot be recreated as we are working on a single-node system Scale-out scenarios Table distribution Fig. 1: Distributed Query Execution
  • 20. 20 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand the concept of table partitioning  Understand how table partitioning can affect query execution  Understand how to leverage table partitioning to improve your queries *Please note that these exercises cannot be recreated as we are working on a single-node system Scale-out scenarios Table partitioning Fig. 1: Partition Access
  • 21. 21 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Objectives  Understand the concept of distributed query execution  Understand how to minimize data transfers during execution *Please note that these exercises cannot be recreated as we are working on a single-node system Scale-out scenarios Partitioned distributed execution Fig. 1: Query Execution on Multiple Hosts
  • 22. 22 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ  Access SAP TechEd Learning Journeys  Discover related learning content  Watch webinars of SAP TechEd lectures  Learn about SAP’s latest innovations with openSAP  Collaborate with SAP experts  Self-test your knowledge  Earn a SAP TechEd knowledge badge Continue your SAP TechEd 2019 Learning Experience Join the digital SAP TechEd Learning Room 2019 in SAP Learning Hub
  • 23. 23 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Access replays  Keynotes  Live interviews  Select lecture sessions http://sapteched.com/online Continue the conversation  Read and reply to blog posts  Ask questions  Join discussions sap.com/community Check out the latest blogs  See all SAP TechEd blog posts  Learn from peers and experts SAP TechEd blog posts Engage with the SAP TechEd Community Access replays and continue your SAP TechEd discussion after the event within the SAP Community
  • 24. 24 PUBLIC © 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ More information Related SAP TechEd Learning Journeys  DAT4 – How to Develop Next Generation Cloud Native Applications with SAP HANA  DAT5 – How to Model and View Data in SAP HANA on-premises and in the cloud  DAT6 – How to Administrate and Operate SAP HANA on-premises and in the cloud Related SAP TechEd sessions  DAT104 – Take Advantage of SAP HANA’s Latest Innovations  DAT105 – SAP HANA Cloud Services: The Simple Gateway to All Data  DAT368 – Administrating and Operating SAP HANA  DAT371 – SQL Plan Optimization and Stability  DAT372 – Overview of Calculation View Modeling in SAP HANA Using SAP Web IDE Public SAP Web sites  SAP Community: www.sap.com/community  SAP products: www.sap.com/products
  • 25. Feedback Contact for further topic inquiries Please complete your session evaluation for DAT367. Yves Augustin yves.augustin@sap.com Martin Frauendorfer martin.frauendorfer@sap.com Lucas Kiesow lucas.kiesow@sap.com Thanks for attending this session.
  • 26. © 2019 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies. See www.sap.com/copyright for additional trademark information and notices. www.sap.com/contactsap Follow us