SQL Cockpit & SAP HANA Verify your SQL queries for HANAsuitability



Similar documents
ABAP SQL Monitor Implementation Guide and Best Practices

How To Test Ecc On Hana

SAP HANA In-Memory Database Sizing Guideline

SAP NetWeaver Information Lifecycle Management

The safer, easier way to help you pass any IT exams. SAP Certified Application Associate - SAP HANA 1.0. Title : Version : Demo 1 / 5

SAP HANA als Entwicklungsplattform. Matthias Kupczak HANA Center of Excellence (CoE) Switzerland SAP Forum Juni 2013

Who is my SAP HANA DBA? What can I expect from her/him? HANA DBA Role & Responsibility. Rajesh Gupta, Deloitte. Consulting September 24, 2015

SAP HANA implementation on SLT with a Non SAP source. Poornima Ramachandra

Data Management for SAP Business Suite and SAP S/4HANA. Robert Wassermann, SAP SE

SAP HANA SPS 09 - What s New? HANA IM Services: SDI and SDQ

Optimize Database Access and Increase System Performance Through More Efficient ABAP Programming

Introduction to SAP HANA SQLScript Rich Heilman SESSION CODE: BT162

ABAP How To on SQL Trace Analysis

An Overview of SAP BW Powered by HANA. Al Weedman

What's New in SAS Data Management

SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

The Arts & Science of Tuning HANA models for Performance. Abani Pattanayak, SAP HANA CoE Nov 12, 2015

In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR

Business Performance without limits how in memory. computing changes everything

How to Implement a SAP HANA Database Procedure and consume it from an ABAP Program Step-by-Step Tutorial

SAP HANA Live for SAP Business Suite. David Richert Presales Expert BI & EIM May 29, 2013

ERP on HANA Suite Migration. Robert Hernandez Director In-Memory Solutions SAP Americas

SAP BW powered by SAP HANA: Understanding the Impact of HANA Optimized InfoCubes Josh Djupstrom SAP Labs

Efficient Data Access and Data Integration Using Information Objects Mica J. Block

ABAP. Finding Appropriate Abstractions for Business Application Programming. Horst Keller, SAP AG Tobias Wenner, SAP AG

A Few Cool Features in BW 7.4 on HANA that Make a Difference

SQL Performance for a Big Data 22 Billion row data warehouse

SAP HANA Cloud Applications Partner Program Certification

Crank Your BI Performance up to 11 - Sizing, Tuning & Performance Testing. Innovation Center Network, Silicon Valley Active Global Support

MS-40074: Microsoft SQL Server 2014 for Oracle DBAs

LEARNING SOLUTIONS website milner.com/learning phone

EA104 World Premiere of SAP BusinessObjects Design Studio. Eric Schemer, Senior Director Product Management, BI Clients, SAP AG October, 2013

SAP Data Services 4.X. An Enterprise Information management Solution

Performance Verbesserung von SAP BW mit SQL Server Columnstore

SQL Server Performance Tuning and Optimization

SAP HANA SPS 09 - What s New? SAP HANA Multitenant Database Containers

Course 6234A: Implementing and Maintaining Microsoft SQL Server 2008 Analysis Services

Improve query performance with the new SQL Server 2016 Query Store!!

BW370 BI Integrated Planning

Administering Microsoft SQL Server Databases

How To Manage An Sap Solution

SAP NetWeaver Application Server Add-On for Code Vulnerability Analysis

SAP Fiori - Architecture

Value Realization at Johnson Controls using SAP HANA smart data integration Steve Carpenter Johnson Controls Ryan Champlin - SAP

Operational Analytics for APO, powered by SAP HANA. Eric Simonson Solution Management SAP Labs

SAP HANA. Markus Fath, SAP HANA Product Management June 2013

In Memory Accelerator for MongoDB

The safer, easier way to help you pass any IT exams. Exam : C_HANASUP_1. SAP Certified Support Associate - SAP HANA 1.0.

BC450 ABAP Performance: Analysis and Optimization

IBM DB2 specific SAP NetWeaver Business Warehouse Near-Line Storage Solution

Performance Problems in ABAP Programs: How to Fix Them

S/4HANA Migration Scenarios and Services

SAP S/4HANA Embedded Analytics

Course 20462C: Administering Microsoft SQL Server Databases

Microsoft SQL Server: MS Performance Tuning and Optimization Digital

PBS Information Lifecycle Management Solutions for SAP NetWeaver Business Intelligence 3.x and 7.x

Exploring the Synergistic Relationships Between BPC, BW and HANA

Administering Microsoft SQL Server Databases

INTRODUCING ORACLE APPLICATION EXPRESS. Keywords: database, Oracle, web application, forms, reports

SQL Server Replication Guide

Oracle Database 12c: Performance Management and Tuning NEW

Course -Oracle 10g SQL (Exam Code IZ0-047) Session number Module Topics 1 Retrieving Data Using the SQL SELECT Statement

SAP-integrated Travel Scenarios in SharePoint

IBM WebSphere DataStage Online training from Yes-M Systems

Administering Microsoft SQL Server Databases

DBMS / Business Intelligence, SQL Server

DD BOOST FOR ENTERPRISE APPS

SQL Server 2012 Optimization, Performance Tuning and Troubleshooting

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

Understanding SQL Server Execution Plans. Klaus Aschenbrenner Independent SQL Server Consultant SQLpassion.at

ABAP Performance Tuning

SAP Sybase Replication Server What s New in SP100. Bill Zhang, Product Management, SAP HANA Lisa Spagnolie, Director of Product Marketing

SAP HANA SPS 09 - What s New? Administration & Monitoring

Real-Time Reconciliation of Invoice and Goods Receipts powered by SAP HANA. Stefan Karl, Finance Solutions, SAP ASUG Presentation, May 2013

Cost-Effective Data Management and a Simplified Data Warehouse

Understanding and Leveraging Improvements in SAP Data Integration and Data Services Platform 4.2

QlikView 11.2 SR5 DIRECT DISCOVERY

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD WEB: TEL:

SAP BODS - BUSINESS OBJECTS DATA SERVICES 4.0 amron

SQL Server Administrator Introduction - 3 Days Objectives

SAP NetWeaver Application Server Add-On for Code Vulnerability Analysis. Patrick Hildenbrand, Product Management Security, SAP AG September 2014

SAP HANA Backup and Recovery (Overview, SPS08)

MOC QUERYING MICROSOFT SQL SERVER

Consuming Real Time Analytics and KPI powered by leveraging SAP Lumira and SAP Smart Business in Fiori SESSION CODE: 0611 Draft!!!

Mind Q Systems Private Limited

Informationslogistik Unit 10: OLTP, OLAP, SAP, Data Warehouse, and Object-relational Databases

Administering Microsoft SQL Server Databases

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

SAP BO 4.1 COURSE CONTENT

Big Data Technologies Compared June 2014

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

Cognos Performance Troubleshooting

SAP HANA Core Data Services (CDS) Reference

Transcription:

SQL Cockpit & SAP HANA Verify your SQL queries for HANAsuitability Johann Fößleitner Cadaxo GmbH email: johann.foessleitner@cadaxo.com Twitter: @foessleitnerj

Agenda 1 SAP HANA Integration Scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

What impact does a conversion to HANA have on client programs? Programs run predominantly continue running problem-free Many queries are considerably faster Some queries behave the same after the conversion Isolated queries can have reduced performance ABAP Open SQL Native SQL DB Hints ADBC (DB Features) Programs must be verified Change to Open SQL if possible DB Hints tested/adjusted ADBC access tested/adjusted

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

Business Suite SAP HANA Scenarios SAP ABAP Application Server SAP ABAP Application Server SAP ABAP Application Server Read / Write, primary connection Read / Write, primary connection Read only, secondary connection Read / Write, primary connection Read/Write, secondary connection SAP HANA AnyDB (Traditional) Replikation SLT SAP HANA AnyDB (Traditional) SAP HANA Integrated Side-by-Side

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

Golden SQL Rules The golden SQL Rules are just as applicable in the HANA environment as in other DB environments

The golden SQL Rules Result set should be kept small Amount of data should be kept to a minimum Number of data transfers should be minimised Secondary indices should be used Redundant queries should be avoided

Die goldenen SQL Regeln Resultset should be kept small Amount of data should be kept to a minimum Number of data transfers should be minimised Secondary indices should be used Redundant queries should be avoided

Result set should be kept small Don t use SELECT CHECK/EXIT ENDSELECT WHERE-clause should be as specific as possible

Amount of data should be kept to a minimum Avoid using SELECT * Use aggregate functions (COUNT, SUM, )

Number of data transfers should be minimised Joins and Subselects should be used Use SELECT for all ENTRIES INSERT/UPDATE, FROM TABLE should be used

Secondary indices should be used Meaningful secondary indices should be created/implemented Access of the secondary indices should be tested

Redundant queries should be avoided Redundant read access should be avoided Table buffering should be activated Perform sorting of the bulk data in ABAP

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

Side-by-Side ABAP/HANA Open SQL / Connection SELECT <column> from <table> connection HDB where Very simple Tables must be defined in ABAP dictionary No access to analytical views, HANA procedures, Native SQL EXEC SQL. connect to 'HDB' as 'HDB' ENDEXEC. EXEC SQL. open ENDEXEC. Access to HANA Objects (procedures, ) Higher implementation complexity ADBC (ABAP Database Connectivity) CL_SQL_CONNECTION=>GET_CONNECTION( con_name = HDB ). Access to HANA Objects (procedures, ) Simpler to implement than native SQL

Integrated ABAP/HANA Open SQL As before SELECT <column> from <table> where External Views SELECT <column> from <hana_view> where Generation of external views in HANA Studio Analytical Views, Access with normal ABAP Open SQL HANA Prozeduren (DB Proxy) Proxy generation of procedures in HANA Studio CALL DATABASE PROCEDURE

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

How do I find ABAP (SQL) coding to be potentially optimized/corrected? Static checks Code Inspector ABAP Test Cockpit (ATC) Monitoring tools in ABAP SQL Trace (ST05) Runtime Analysis (SAT) SQL Monitor (SQLM)* SQL Performance Tuning Worklist (SWLT)* Coverage Analyzer 3rd Party tools Monitoring tools at DB level DB dependant SQL monitoring tools * Available from 7.40 in Standard

Code Inspector Static performance tests Many SQL relevant tests are available SELECT *, Indices, Nested LOOP, Analyses don t distinguish, if it concerns dead coding if the coding sequence is often used i.e. if it is relevant for optimization Dynamic SQL queries can not be analysed

SQL Monitor Logs all SQL queries Implementation in productive environment is possible with little/no impact on performance Can also be utilized for non-hana based SAP Systems E.g. BEFORE a HANA-conversion Available from NW 7.00

SQL Performance Tuning Worklist Combines static tests (Code Inspector, ABAP Test Cockpit) with related SQL Monitor results Ideal combination to pin-point SQL queries to be optimized

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

ABAP Open SQL Database Viewer

Area of application Acceleration of IT processes Support Development Test management Data consistency Knowledge sharing tool

Overview

Some clients using SQL Cockpit:

Live presentation of SQL Cockpit

SQL Cockpit versions Standard Edition SQL Viewer/Editor No database manipulation possible Premium Edition Traceable changes directly on table level Verified by E&Y* * KFS/DV1 Accepted IT accounting principles

Agenda 1 SAP Hana integration scenarios (Business Suite) 2 Golden SQL Rules 3 HANA Objects in ABAP 4 Analysis / Monitoring Tools in SAP Standard 5 Cadaxo SQL Cockpit 6 Questions & answers, further information

Questions & Answers

Further information ABAP und SAP HANA http://www.saphana.com http://sdn.sap.com/community/abap/hana SAP Press: ABAP Development for SAP Hana ISBN 978-1-59229-859-4 http://www.sap-press.com/products/abap-development-for-sap-hana.html SQL Cockpit http://www.cadaxo.com/content/en/products http://www.youtube.com/user/cadaxogmbh Interesting SAP Notes SQL Monitor: 1885926, 1806015, 1831460, SAP Hana: 1812713,

Cadaxo GmbH, found in 2009 in Vienna, Austria, is an established, innovative SAP Consulting company, with the goal to simplify everyday working life with SAP. www.cadaxo.com SQL Cockpit The best solution for Businessusers, Software-developers and Support! http://www.cadaxo.com/content/de/produkte.html http://com.slideshare.net/cadaxogmbh http://www.youtube.com/cadaxogmbh https://twitter.com/cadaxo http://www.linkedin.com/company/cadaxo-gmbh