Professional Documents
Culture Documents
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
There are many different options available to collect an RTE dump and all other dumps and traces which are related to HANA
Database. Make sure you log on to the affected hana node as the <SID>adm user and root user for OS related logs.
SAP Support asks you to generate runtime dump(s) during a high CPU/Memory consumption, etc. Please find below all the
consolidated notes which are related to collecting the dumps, traces, logs, etc.
These below notes are very helpful and important for doing root cause analysis, performance tuning and troubleshooting
purpose.
https://launchpad.support.sap.com/#/notes/2400007
https://launchpad.support.sap.com/#/notes/2573880
4. 2784291 - How to generate runtime dumps for a specific HANA service from command line
https://launchpad.support.sap.com/#/notes/2784291
hdbcons -p 37312
runtimedump dump
https://launchpad.support.sap.com/#/notes/1813020
Login with sidadm user and jump to python directory using command cdpy
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
cdpy
https://launchpad.support.sap.com/#/notes/2166414
Login as root user on your server and run the following command:
This command will write the current kernel stack backtraces into the file /var/log/messages. Ideally the command should be
executed several times with a short distance of time (30-60 seconds).
https://launchpad.support.sap.com/#/notes/2313619
https://launchpad.support.sap.com/#/notes/1804811
https://launchpad.support.sap.com/#/notes/1875973
10. 2399990 - How-To: Analyzing ABAP Short Dumps in SAP HANA Environments
https://launchpad.support.sap.com/#/notes/2399990
11. 1999670 - How-To: Performing Operating System Load Analysis using "sar"
https://launchpad.support.sap.com/#/notes/1999670
12. 2376233 - How To collect SAR / SYSSTAT information to debug high load or hang situations
https://launchpad.support.sap.com/#/notes/2376233
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
https://www.slashroot.in/examples-using-sar-command-system-monitoring-linux
https://launchpad.support.sap.com/#/notes/2764266
14. 2119087 - How-To: Configuring SAP HANA Traces
https://launchpad.support.sap.com/#/notes/2119087
15. 1999020 - How-To: SAP HANA Troubleshooting when Database is no longer accessible
https://launchpad.support.sap.com/#/notes/1999020
https://launchpad.support.sap.com/#/notes/1943937
https://launchpad.support.sap.com/#/notes/2000000
https://launchpad.support.sap.com/#/notes/1999993
2498739 - How-To: Analyzing Runtime Dumps with SAP HANA Dump Analyzer
https://launchpad.support.sap.com/#/notes/2498739
19. 2399979 - How-To: Configuring automatic SAP HANA Data Collection with SAP HANASitter
https://launchpad.support.sap.com/#/notes/2399979
https://launchpad.support.sap.com/#/notes/2699939
1) Log into HANA with a user with privileges enough to run procedure SYS.MANAGEMENT_CONSOLE_PROC;
3) Fill in parameter 1 with 'runtimedump dump' and parameter 2 with '<hostname>:<indexserver port>' (whithout quotes)
and execute the statement;
The screenshots below depicts an example of how to record that dump in Studio:
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
SAP HANA Studio SP8 adds the possibillity of recording one or multiple samples of runtimedump based on a certain time
frequency.
For instance we can record a set of 5 runtimedumps, 1 every minute for every host or for a particular host only. Here are
the steps:
3) Set the option 'Create and collect one or multiple sets of runtime environment (RTE) dump file(s)';
4) Set the hosts, amount of samples (sets) and frenquency on which the runtime dumps will be recorded;
5) Finish.
https://launchpad.support.sap.com/#/notes/2520774
https://blogs.sap.com/2014/01/14/how-to-use-hdbadmin-to-analyze-performance-traces-in-sap-hana/
https://launchpad.support.sap.com/#/notes/2710650
https://launchpad.support.sap.com/#/notes/618104
https://launchpad.support.sap.com/#/notes/1642802
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
Supportconfig
/var/log/nts_mhaque_201012_0730.tbz
SAP HANA DATABASE INVESTIGATION CUM ANALYSIS DOCUMENT
Prepared by:
Mohammed Azher Ul Haque, MCA, M. Tech - Technical lead – SAP Certified Basis HANA-Hyderabad, India. Mobile: 9346344403
27. 2491748 - How-To: Analyzing Runtime Dumps with SAP HANADumpViewer
https://launchpad.support.sap.com/#/notes/2491748
28. 2498739 - How-To: Analyzing Runtime Dumps with SAP HANA Dump Analyzer
https://launchpad.support.sap.com/#/notes/2498739