Escolar Documentos
Profissional Documentos
Cultura Documentos
Course Content:
▪ Week 1: Basics and Tooling
▪ Week 2: Managing the Landscape of Databases
▪ Week 3: Managing Individual Databases
▪ Week 4: Performance Analysis
▪ Week 5: Final Exam
Optimal Management
performance tasks
Lifecycle Business
management continuity
Diagnosis and
resolution
Sound high availability
Keeping databases
and disaster recovery
and their components Effective database strategies guarantee
up to date reduces the monitoring and continuous database
maintenance effort troubleshooting operations
prevents or minimizes
unplanned downtime
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4
Database Administration Tasks
Database administration for SAP HANA
Optimal Management
performance tasks
Properly configure
Upkeep and Observe resources, SAP HANA
particularly memory, parameters, services, Security
maintenance
and analyze workloads alerts, and tenant
databases
SAP HANA provides a Secure the SAP HANA
comprehensive toolset database and restrict
to monitor and capabilities in
administer databases databases
DBA
Lifecycle Business
management continuity
Diagnosis and
resolution
Install and update SAP
Utilize SAP HANA
HANA components, as
In addition to backup/recovery and
well as SAP HANA-
monitoring tools, query system replication
based applications
system views and
inspect trace files
Swap Threads
Sessions
Admission Control
Backup and
System Licensing Users and Roles System Replication
Recovery
Execute SQL
Database Catalog Trace Files Troubleshooting
Statements
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 1: Basics and Tooling
Unit 2: SAP HANA Architecture
SAP HANA Architecture
SAP HANA platform
SAP HANA is an in-memory data management and application platform that keeps all relevant
information in main memory (RAM), thus significantly accelerating data processing operations
• Most important server Index Server • Runs only in the system database
• Contains actual data stores and • Owns topology of the SAP HANA
temp results system, including knowledge of
• Engines for processing data Name Server tenant databases
• Processes inbound HTTP and Web Dispatcher • Responsible for starting and
stopping other services in the
HTTPS connections to SAP HANA
correct order
extended application services,
• Provides basic monitoring
classic model (XSC) services SAP Start Service capabilities
▪ An SAP HANA system has several configuration (*.ini) files that contain properties for configuring the system
as a whole, individual tenant databases, hosts, and services
▪ Configuration files contain parameters for global system configuration (global.ini), as well as the
configuration of each service in the system (e.g. indexserver.ini)
▪ Properties are configured at different layers, depending on the configuration file:
Layer Description
DEFAULT ▪ The default value for the property
▪ In general, we do not recommend changing the default values of parameters unless stated in the
documentation or instructed by SAP Support
SYSTEM ▪ The system-specific value for the property
▪ If a system-specific value is not configured for a property, the default value applies
HOST ▪ The host-specific value for the property
▪ For some properties, it is possible to set host-specific values for multiple-host systems. If a host-specific
value is not configured for a property that can be set at host level, the system-specific value applies
DATABASE ▪ The database-specific value for the property
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
Thank you.
Contact information:
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 1: Basics and Tooling
Unit 3: Administration Tooling
Administration Tooling
SAP HANA administration tools
Offers E2E application lifecycle An automation and orchestration Provides a holistic view of the entire
management, increasing efficiency solution to simplify, automate, and data center in real time by collecting,
and decreasing risk within your centralize the management of your processing, and analyzing massive
existing maintenance agreement. SAP landscapes. volumes of log data.
▪ Monitors the entire SAP stack ▪ Clone, copy, refresh SAP HANA ▪ Data acquisition and Big Data
(SAP HANA and application layer) systems handling
▪ SAP EarlyWatch Alert reporting ▪ Perform single/mass operations ▪ Dashboards
▪ Root cause analysis for SAP HANA ▪ Dashboards, reports, and landscape ▪ Predictive capabilities
▪ Runs on SAP NetWeaver AS for visualization ▪ Runs on SAP HANA XS Classic
ABAP ▪ Runs on SAP NetWeaver AS for
Java
SAP HANA 1.0 Cockpit SAP DB Control Center (DCC) SAP HANA Studio
Web-based tool for administration and Web-based tool for centralized Eclipse-based environment for
monitoring of individual SAP HANA administration and monitoring of administration of SAP HANA
1.0 SPS 09 to SPS 12 databases. multiple SAP HANA 1.0 SPS 09 or databases and development of native
higher databases. SAP HANA applications.
▪ Introduced in SAP HANA 1.0 SPS ▪ Introduced in SAP HANA 1.0 SPS 09 ▪ Initial administration tool for SAP
09 ▪ Built as an SAP HANA XS Classic HANA databases
▪ Built as an SAP HANA XS Classic application ▪ Built as a Java application
application ▪ Employs SAP Fiori launchpad for ▪ No longer in feature development
▪ Employs SAP Fiori launchpad for role-based and personalized UI
role-based and personalized UI ▪ Must be installed on an existing SAP
▪ Each SAP HANA 1.0 SPS 09 to HANA database
SPS 12 database includes an SAP ▪ Only one installation of DCC is
HANA 1.0 cockpit necessary in your corporate
deployment
▪ Introduced in SAP HANA 2.0 SPS 00 ▪ Initial administration tool for SAP HANA databases
▪ Absorbs functionality of SAP DB Control Center ▪ Built as a Java application
▪ Built as an SAP HANA XS Advanced application ▪ No longer in feature development
▪ SAPUI5 user interface
▪ Installed as a single stack, but does not require a
dedicated instance of SAP HANA to operate
In the future, the SAP HANA 2.0 cockpit will be the main and only
native tool for administration and monitoring of SAP HANA
databases, running both on-premise and in the cloud
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
Thank you.
Contact information:
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 1: Basics and Tooling
Unit 4: The SAP HANA Cockpit
SAP HANA Cockpit
Simplified architecture
SAP HANA
1. Built on SAP HANA extended application
cockpit MTA MTA
services, advanced model (XSA), a micro-
XSA
services platform for the development and Cockpit admin + View/interact with
database database objects +
execution of native, data-intensive applications management analyze SQL queries
2. Cockpit features are implemented as XSA multi-
target applications (MTAs) Persistence (embedded SAP HANA, express edition)
3. Persistence: configuration and historical data
SAP HANA cockpit
store
<sidadm> OS user Named database user
Cockpit Cockpit
Administrator User
svc
cockpit-landscape-svc
SAP HANA XSA
Monitored
Persistence (embedded SAP HANA, express edition) databases
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
SAP HANA Cockpit
System requirements
SAP SAP
System System
SAP HANA SAP HANA
Cockpit Cockpit
DB Schema DB Schema
SAP HANA SAP HANA
Production Non-Production
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
SAP HANA Cockpit
Getting started – Download
▪ SAP HANA platform 2.0 includes the installation media for SAP HANA cockpit
▪ SAP HANA cockpit periodically releases support packages (SPs) including new functionality, fixes, and
security patches. Each SP includes all the features of the previous SP
▪ The cockpit also provides patches for the most recently released SP that include fixes and security patches.
Once a new SP is released, SAP provides no patches for earlier SPs
▪ Download the latest SAP HANA cockpit SP and patch from the “Support Packages & Patches” section of the
SAP Software Download Center:
Installation scripts
▪ For command-line installation, execute hdblcm.sh
▪ For GUI installation, execute hdblcmgui.sh
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week1: Basics and Tooling
Unit 5: Registering Resources to Manage
Registering Resources to Manage
The registration process
To administer and monitor an SAP HANA database (aka a resource), it must first be registered to the
SAP HANA cockpit
▪ The cockpit user has access to the cockpit application SAP HANA Cockpit
▪ The technical user only requires minimum privileges Cockpit User
Used to access web-based interface of cockpit
to collect alert and system health data:
– GRANT CATALOG READ Technical User
▪ SAP recommends to not use SYSTEM as the SAP HANA SAP HANA SAP HANA
technical user or the database user
▪ You can register any SAP HANA resource, but it’s a good idea to register the embedded
SAP HANA, express edition database included with the cockpit, to allow you to:
– Monitor the health of the local cockpit persistence
– Change database properties as necessary (e.g. enable the statistics server)
– Perform database management operations (e.g. make a full data backup)
▪ Registering SAP HANA databases that only have one database user: SYSTEM
– You cannot create users/roles until the resource is registered in the cockpit
– You can temporarily use SYSTEM as both the technical user and database user
– Once registered, create users/roles using cockpit and change the authentication
settings accordingly
– SAP recommends to deactivate the SYSTEM user to prevent uncontrolled access
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 2: Managing the Landscape of Databases
Unit 1: The SAP HANA Cockpit Manager
The SAP HANA Cockpit Manager
Managing the landscape of databases – SAP HANA deployment example
▪ The cockpit manager is used to register resources and create groups of resources that other cockpit
users can access with the SAP HANA cockpit
▪ By default, the cockpit manager web app URL is https://<host>:51023
A resource is an SAP
HANA system,
identified by a host
and instance number Resources can be
organized into groups that
can only be accessed by
Cockpit users access
specific cockpit users
the SAP HANA
cockpit and cockpit
manager applications SAP HANA cockpit
settings for data
collection and proxy
▪ Register wizard
– Add resources to SAP HANA cockpit
– Support for single and multiple containers
– Technical user must already exist in the database
– Optionally provide connection encryption, group and contact details
▪ Edit
– Change all settings entered during registration
– Enable and/or enforce single sign-on (SSO)
▪ Import and export wizard
– Export selected, registered resources to JSON-formatted file
– Import selected resources
▪ Unregister
– Remove resources from SAP HANA cockpit
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 4
The SAP HANA Cockpit Manager
Managing resource groups
open@sap.com
© 2017 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 platform 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 http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 2: Managing the Landscape of Databases
Unit 2: Resource Management and Monitoring
Resource Management and Monitoring
Database administration assessment and tasks
List of groups in my
deployment. Each group
shows the number of high
priority alerts amongst all its
My mission-critical resources
resources
(PRODUCTION – no alerts!)
Use the resource directory to centrally view detailed information about the registered SAP HANA databases
in a particular group and to manage their access credentials
Add/edit/remove
credentials for database
user (admin and
Single monitoring tasks) and
container operating system user
(start/stop system and
view host diagnostic
files)
Use the aggregate health monitor to obtain a consolidated, high-level view of the health of the resources in a
selected group or in the entire landscape
Availability: Are managed
resources reachable on the
network? Are they able to
serve the business needs of
their users?
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 2: Managing the Landscape of Databases
Unit 3: Configuration Management
Configuration Management
SAP HANA system properties
Recall: An SAP HANA system has several configuration (*.ini) files that contain properties for configuring
the system as a whole and individual tenant databases, as well as hosts and services
The SAP HANA cockpit can store and manage snapshots of configurations, allowing DBAs to:
Task Benefit
Examine current configuration of any resource View configurations of resources from a central location
Compare current configuration between two resources Identify configuration variance between two resources
Take and save a snapshot of the current configuration Store “ideal” configuration, particularly before making
of a resource changes (i.e. offers a way to rollback)
Compare snapshots taken at different times for a Evaluate whether configuration changes improved
registered resource performance and if not, have ability to undo changes
config.ini (2)
Section Parameter Layer Source Value Target Value
1 Param1 DEFAULT a a
Param2 DEFAULT b y
Param3 DEFAULT c z
Param4 DEFAULT d d
snapshots
Timestamp Description
2017/08/17 00:00:00 Clean install
2017/09/20 00:00:00 Updated security settings
2017/10/31 00:00:00 Performance improvements
config.ini (3)
Section Parameter Layer Source Value Target Value
1 Param1 DEFAULT a a
Param2 DEFAULT b
Param3 DEFAULT c y
Param4 DEFAULT d z
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 2: Managing the Landscape of Databases
Unit 4: Resource Groups
Resource Groups
Concept and benefits
A typical SAP HANA cockpit deployment Sample SAP HANA cockpit configuration
organizes registered resources in groups Group # of Resources Cockpit User Assigned
Group visibility is restricted to cockpit users in Group Group(s)
who have access to that/those group(s) DEMO 3 COCKPIT_ADMIN All
openSAP 2 DEMO_USER DEMO
– Allows different DBAs to manage only a
subset of resources PRODUCTION 1 OPENSAP_USER openSAP,
PRODUCTION
– “My Resources” system-generated group is
always present and contains all resources
available to the cockpit user
Mass operations (resource directory,
aggregate health monitor, and compare COCKPIT_ADMIN:
configs) apply to just the resources in a My Resources (6), DEMO (3), openSAP (2), PRODUCTION (1)
group DEMO_USER:
My Resources (3), DEMO (3)
OPENSAP_USER:
My Resources (3), openSAP (2), PRODUCTION (1)
Logged in as DEMO_USER,
assigned only to DEMO group
“My Resources”
group will also show
3 resources
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 2: Managing the Landscape of Databases
Unit 5: Managing Tenant Databases
Managing Tenant Databases
SAP HANA multitenant database containers
Navigation to Tenant
For registered tenants, navigation to appropriate
application (alert details, backup, performance
monitor, etc.) or to the tenant’s Overview page
Properties that can only be changed by the system admin (i.e. tenant database admins
Manage blacklisted parameters cannot change them)
Manage restricted features System admin can choose to disable certain SAP HANA database features in tenants
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 3: Managing Individual Databases
Unit 1: Monitoring
Monitoring
Individual database management – Monitoring in the SAP HANA cockpit
Although SAP HANA databases can self-monitor and generate alerts, it is still critical that
database administrators regularly monitor the operation of SAP HANA databases
Change columns
displayed in table
View CPU usage in
Performance Monitor
Individually stop
Drill down to see services
Memory Allocation
Analysis application
Drill down from Overall System Database Status See key information about systems such as status,
tile on Overview page start time, alerts, CPU and memory usage
Start missing services, kill service, remove service Customize columns to show used memory, effective
or (only for tenant databases) add a service allocation limit, allocated shared memory, virtual
memory on host, size of caches, and more!
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4
Monitoring
Performance Monitor – CPU usage Correlate alerts in
CPU usage with graph
Clicking the Memory Usage and Disk Usage tiles drills down
to the Performance Monitor
Graphs are automatically populated with relevant KPIs
Monitoring
Monitoring performance
Monitor table usage
Monitor expensive statements
Open SQL plan cache
Open blocked transactions
Monitor Network
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 3: Managing Individual Databases
Unit 2: Security
Security
Individual database security in SAP HANA
DBA
Authentication Auditing
Authenticate users using Monitor and record selected
passwords and a diverse range Certificate Management actions performed in your
of SSO options Secure internal and external database
communication channels, user
authentication mechanisms
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 3: Managing Individual Databases
Unit 3: Alert Management
Alert Management
Alerts in the SAP HANA cockpit
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 3: Managing Individual Databases
Unit 4: Backup and Recovery
Backup and Recovery
Backup and recovery in SAP HANA
SAP HANA holds the bulk of its data in memory for maximum performance,
but still uses persistent storage to provide a fallback in case of failure
Full data backup A full data backup contains all current data
All data Old data that is no longer valid but might still be physically
present in the data volumes is not part of the data backup
Incremental backup
Delta backups contain data that was changed since an
Changed data since
the last data backup earlier data backup
(full or delta) Two types: incremental and differential
Delta backups contain actual data, in contrast to log backups,
Differential backup
which contain redo log entries (= sequence of changes)
Changed data since
Delta backups can be used together with a snapshot for system
the last full data
recovery
backup
Create complete,
differential, or
incremental backups
Set the recovery target to restore data from: Choose between default
backup catalog location
– Most recent state or an alternative location
– A specific point in time
Choose between different options for delta backup usage, If you have multiple
backups, you can choose
backup availability checks, and initialization of log area which one to use
SAP HANA databases must be offline to be recovered
Recovery is always initiated from the system database
Recovery for databases through SAP HANA cockpit is only
supported for SAP HANA 2 databases
It is highly recommended to back up SAP HANA cockpit prior to upgrades and after
registering a large amount of resources
Ensure important business information is not lost through regular backups
Backing up SAP HANA cockpit backs up the persistence and application server which
SAP HANA cockpit runs on
Recovering SAP HANA cockpit will restore the previous landscape configuration from
the selected backup
SAP HANA cockpit needs to be offline when recovering
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 3: Managing Individual Databases
Unit 5: System Properties
System Properties
System properties in the SAP HANA cockpit
SAP HANA parameters are configuration options that can be used to influence the behavior
of SAP HANA in various ways
These parameters, which are contained in several configuration (*.ini) files, permit customization of the
system as a whole, individual tenant databases, hosts, and services
– Configuration files are separated into sections. Sections bundle properties of the same category
Typical reasons for setting parameters are:
– Individual security settings
– Specific changes in behavior and operation of database services and components
– Influencing system-wide resource consumption and workload execution
Properties can be configured at different levels or layers depending on the
configuration file. The following layers are available:
– Default, host, system, database
– INIFILE ADMIN
Add a new section
– DATABASE ADMIN to
change the system
property of a tenant
database from the system
database
Compare configurations
between systems using the
Edit/delete
Configuration Manager changed values
(Week 2 Unit 3) Add new or restore their
key/values to a default value
selected section
Choose between
host, system, and
database level
Add a single or
multiple new
key/value pairs
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 4: Performance Analysis
Unit 1: Analyzing Memory Usage
Analyzing Memory Usage
Memory Analysis application in SAP HANA cockpit
Open the Manage Services app by clicking the “Overall Database Status” tile on the Overview page
Open the Memory Analysis app by clicking the mini bar-chart in the memory column of the service whose
memory statistics you want to inspect
Memory alerts
Table size and growth shows memory distribution across tables and provides a way to determine potentially
fast-growing tables requiring further investigation
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9
Analyzing Memory Usage
Step 7: Examine OOM events
Out-of-memory events show the out-of-memory incidents that have occurred, including the reason for
occurrence and related SQL statement
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10
Thank you.
Contact information:
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 4: Performance Analysis
Unit 2: Analyzing SQL Statements
Analyzing SQL Statements
SAP HANA SQL analyzer
performance analysis
Use to analyze different aspects of executed
SQL query to evaluate potential bottlenecks
and optimizations
Includes similar functional scope as PlanViz in
SAP HANA studio
Offers deeper insights into SQL-based queries
and SQLScript-based queries
Works in collaboration with other performance
management tools to complement full end-to-
end view of system performance
Tool invoked via extensive SQL statements
app, plan trace app, or Database Explorer
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 4: Performance Analysis
Unit 3: Analyzing Workloads
Analyzing Workloads
SAP HANA workload analyzer – Web-based workload analysis tool
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 4: Performance Analysis
Unit 4: Workload Capture and Replay
Workload Capture and Replay
General overview
The tile set includes one tile for capturing workload and one tile for preprocessing and replaying workload on
a target system
Tiles provide overall status information about capture and replay totals as well as general status
Other tiles include sampling-based and instrumentation-based workload analyzer
Clicking a tile navigates to appropriate performance management tool
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Week 4: Performance Analysis
Unit 5: Analyzing Trace Files
Analyzing Trace Files
SAP HANA trace file viewer
Type Description
Database tracing Collection of error messages or other output created by database processes
Useful for single incident analysis or when tracing user-independent activities
SQL tracing Logs SQL statements filtered by database/application user, table name, application name, or SQL statement
type
A good starting point for understanding executed statements and their potential effect on the overall application
and system performance
User-specific tracing Similar to database tracing, except information collected is limited to actions initiated by a specific database user
(via context name)
Trace levels configured for components in these contexts override those configured in the database trace
End-to-end tracing Triggered by applications outside of the SAP HANA database (“end-to-end-trace” is used as context in the trace
file name)
Useful when investigating why a code path has failed, or if you want detailed tracing for performance analysis
Expensive statements Records information about individual SQL statements whose execution time exceeded a configured threshold
tracing Enable per-statement memory tracking to show the peak memory size used to execute expensive statements
Plan tracing Collects SQL queries and their execution plans, executed in a given time frame
Monitor disk space that is used for diagnosis files and delete files that are no longer needed
Configure trace file rotation to prevent them from growing indefinitely by limiting their size and number
– Requires system privilege INIFILE ADMIN
– Configure for all services: edit maxfile (default 10 files) and maxfilesize (default 10,000,000 bytes)
parameters in trace section of global.ini
– Configure for individual service: edit maxfile and maxfilesize parameters in trace section of config file
of the relevant service (create these if necessary)
– Rotation occurs in a round robin fashion
– Notify via alert checks 50 (number of diagnosis files) and 51 (size of diagnosis files)
SQL trace files can impact database performance significantly, and they also consume storage space on
the disk
open@sap.com
© 2017 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 docume nt 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’ st rategy and possible future developments, products,
and/or platform 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 trade marks 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 companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.