How-To Interpreting SAP HANA Mini Check Results
How-To Interpreting SAP HANA Mini Check Results
Symptom
You are interested to understand the output of SQL: "HANA_Configuration_MiniChecks" (SAP Note 1969700
).
Environment
SAP HANA
Cause
You want to check for potentially critical technical issues in the SAP HANA database. Usually these issues
are raised and processed via SAP HANA alerts. This SAP Note describes a different approach via SQL:
"HANA_MiniChecks" provided in SAP Note 1969700 that is available for the following reasons:
Attention: Text-based "copy and paste" can result in unforeseen issues, so you should either download the
file directly to the database server or make sure that you use a file-based copy approach that doesn't modify
the file content.
Like the complete SQL statement collection of SAP Note 1969700 the mini checks command is mainly
intended for use by SAP support. Deviations from the results of the SAP HANA alerts are possible and
sometimes intended.
In case of multitenant databases (MDC, SAP Note 2101244) the mini checks should be executed individually
in the system DB and in all tenants, because the majority of the mini checks is database specific and has no
system-wide scope.
It is possible to implement SAP Solution Manager metrics based on mini checks using custom metrics. See
Custom Metrics for HANA Monitoring for details.
Here you find the SAP HANAChecker Python script including a documentation that can be used to run the
mini checks and send automatic e-mails in case of potentially critical issues.
For feedback and suggestions you can contact Christian Hansen after reading the disclaimer obtained by
Resolution
The command SQL: "HANA_Configuration_MiniChecks" (SAP Note 1969700) performs several mini checks
and returns C = 'X' if a potentially critical situation is found. You can then perform a more detailed analysis to
check if there is a real issue or if the 'X' can be ignored. This SAP Note provides details that can help you to
analyze and judge potentially critical situations.
In order to understand the mini checks and the possible analysis steps in detail, you can consider a SAP
HANA Technical Performance Optimization (TPO) service (SAP Note 2177604) including empowering. In this
onsite service the mini checks are performed for a customer system (which is typically already in production)
and a comprehensive analysis is performed together with SAP HANA experts of the customer in order to
illustrate typical problem resolution steps.
Be aware that multiple versions of SQL: "HANA_Configuration_MiniChecks" may exist. See naming
convention details in SAP Note 1969700 and make sure that you use the most appropriate command version
in order to use the most comprehensive list of checks. Be aware that versions tagged with "Internal"
exclusively contain internal checks and aren't available for customers.
You can restrict the output of the mini checks to the potentially critical results (C = 'X') by setting
ONLY_POTENTIALLY_CRITICAL_RESULTS = 'X' in the "Modification section" of the mini checks command.
These mini checks can only be evaluated on SAP HANA databases. Oracle mini checks can be found in SAP
Note 1615380.
Checks with a pure security focus are available in a dedicated SQL statement: SQL:
"HANA_Security_MiniChecks" (SAP Note 1969700).
Checks for critical trace file records are available in a dedicated SQL statement: SQL:
"HANA_TraceFiles_MiniChecks" (SAP Note 1969700).
ESS is an abbreviation for the embedded statistics server, SSS is the shortcut for the standalone statistics
server. SR represents system replication environments.
When checks are related to "last day", the last 86400 seconds before the analysis time are considered, not
the last calendar day. If no time restriction like "last day" or "last hour" is specified for a cumulating key figure,
the complete interval since the last startup is considered.
Analysis SQL
Check Potential SAP
Area Validity Description statement (SAP Details
ID impact Note
Note 1969700)
In general you
should make sure
Performance that you are on a
degradations rather recent
SQL: , revision level,
"HANA_Config terminations 2021789 optimally a
M0012 GENERAL global Revision level
uration_Patc , wrong 2617548 maintenance
hLevel" results, revision or data
unplanned center service
downtime point. SAP Note
2375691 describes
a critical crash and
Analysis SQL
Check Potential SAP
Area Validity Description statement (SAP Details
ID impact Note
Note 1969700)
SQL:
Disable the k
TRACES, "HANA_Traces
Rev. >= Kernel profiler Performance profiler traces
M0610 DUMPS AND _ActivatedAn 1804811
1.00.70 active degradations unless really
LOGS dModified
needed.
Traces"
TRACES, Performance trace SQL: Performance Disable the
M0612 global 1787489
DUMPS AND enabled "HANA_Traces degradations performance
© 2019 SAP SE or an SAP affiliate company. All rights reserved 42 of 109
2019-08-27 1999993
LOGS _ActivatedAn unless really
dModified needed.
Traces"
Disable the
function profil
SQL: unless really
TRACES, "HANA_Traces needed. Be a
Function profiler Performance
M0613 DUMPS and global _ActivatedAn 1787489 that this chec
enabled degradations
LOGS dModified covers the fun
Traces" profiler in the
context of the
performance
SQL:
TRACES, "HANA_Traces Disable the S
SQL trace Performance
M0614 DUMPS AND global _ActivatedAn 2031647 trace unless r
enabled degradations
LOGS dModified needed.
Traces"
SQL: Disable the
TRACES, Indexserver "HANA_Traces indexserver
Performance
M0616 DUMPS AND global python trace _ActivatedAn 1935113 python trace
degradations
LOGS enabled dModified unless really
Traces" needed.
SQL:
Disable the
TRACES, "HANA_Traces
Executor python Performance executor pyth
M0617 DUMPS AND global _ActivatedAn 2020877
trace enabled degradations trace unless r
LOGS dModified
needed.
Traces"
SQL:
Disable the S
TRACES, SQL client "HANA_Traces
Performance client network
M0618 DUMPS AND global network trace _ActivatedAn
degradations trace unless r
LOGS enabled dModified
needed.
Traces"
Don't use an
SQL:
Minimum expensive
TRACES, "HANA_Traces
expensive SQL Performance statement tra
M0620 DUMPS AND global _ActivatedAn 2180165
trace threshold degradations threshold belo
LOGS dModified
(ms) 1000 ms unle
Traces"
really needed
Increase the
expensive
SQL: statement tra
TRACES, Traced expensive
"HANA_SQL_Ex Performance threshold in o
M0623 DUMPS AND global SQL statements 2180165
pensiveState degradations to reduce the
LOGS (last day)
ments" amount of
captured SQL
statements.
SQL: Check why th
TRACES, Expensive
"HANA_SQL_Ex Analysis are no older
M0624 DUMPS AND global statements trace 2180165
pensiveState limitations records availa
LOGS retention (days)
ments" in the expens
© 2019 SAP SE or an SAP affiliate company. All rights reserved 102 of 109
2019-08-27 1999993
s" take effect, yo
may be in a
situation that
parameter va
displays a sta
the is actually
active. This c
result in
misinterpret
ations and
unexpected
behavior of th
SAP HANA
database.
Consider this
scenario and
restart SAP H
when possibl
make sure th
new setting ta
effect.
Make sure th
section and
parameter na
are spelled
correctly, that
parameter va
matches to th
intended data
and that the
parameter va
within the
accepted ran
the paramete
SQL: raised althoug
"HANA_Config details are
ADMINISTRATI Rev. >= Parameters with
M2334 uration_Para Various 2186744 properly
ON 2.00.040 unsupported value
meters_Value considered, it
s" be caused by
missing entry
view
CONFIGURA
N_PARAMET
PROPERTIE
this case you
open a SAP
incident on
component H
DB in order to
request the
parameter to
added into th
© 2019 SAP SE or an SAP affiliate company. All rights reserved 103 of 109
2019-08-27 1999993
view.
Check which
deprecated
SQL: features you
Deprecated Risk of
ADMINISTRATI "HANA_Featur use and cons
M2340 global features used (last unforeseen 2425002
ON es_FeatureUs to use a differ
30 days) issues
age" current appro
for the same
purpose.
Check if table
SQL: Risk of
replicas are
"HANA_Replic terminations
TABLE Rev. >= Inactive table disabled
M2410 ation_TableR , 2340450
REPLICATION 1.00.120 replicas unintentiona
eplication_R performance
lly and activa
eplicas" regressions
them.
Check for the
reasons of
Last table SQL: automatic tab
Rev. >=
TABLE replication "HANA_TraceF Performance replication
M2415 1.00.122.17, 2400007
REPLICATION deactivation iles_Overvie overhead deactivation
>= 2.00.2
dump (days) w" and resolve
underlying iss
if required.
SQL: Overhead in
Drop sequenc
Orphan SLT "HANA_SLT_Or sequence
M2510 SLT global 2600095 no longer req
sequences phanSequence administrati
in context of S
s" on
With SAP HA
>= 2.0 the
previously cre
calculated ES
columns start
SQL:
Increased with '$esh:ca'
ENTERPRISE Rev. >= Orphan calculated "HANA_Tables
M2610 memory 2685716 no longer req
SEARCH 2.00.000 ESH columns _ColumnStore
consumption and can be
_Columns"
dropped usin
report
ESH_HDB_R
T_CALC_ATT
BUTES.
Products
© 2019 SAP SE or an SAP affiliate company. All rights reserved 104 of 109
2019-08-27 1999993
SAP
Title
Note/KBA
2797078 How to configure the size of the HANA Backup files backup.log and backint.log
2222249 How-To: Resolving SAP HANA Service Inconsistencies between Daemon and Topology
© 2019 SAP SE or an SAP affiliate company. All rights reserved 105 of 109
2019-08-27 1999993
2222200 FAQ: SAP HANA Network
2200772 FAQ: SAP HANA Statement Routing and Client Distribution Mode
2143679 How-To: Removing Primary Keys of SAP HANA Statistics Server Histories
Analyzing problems with delivery of e-mails for Alerts raised by the SAP HANA Embedded
2133799
Statisticsserver checks
© 2019 SAP SE or an SAP affiliate company. All rights reserved 106 of 109
2019-08-27 1999993
2084747 How-To: Disabling Memory-intensive Data Collections of standalone SAP HANA Statistics Server
2050579 How to handle HANA Alert 68: 'total memory usage of row store'
1977314 How to handle HANA Alert 29: 'Size of delta storage of column-store tables'
1977221 How to handle HANA Alert 57: 'Secure store file system (SSFS) availability'
1977218 How to handle HANA Alert 52 'Check for new crash dump files'
1977101 How to handle HANA Alert 12: 'Memory usage of name server'
1921694 Docid overflow in current delta and main due to 2 billion limitation
1909742 How to handle HANA Alert 19: ‘Record Count of Delta Storage of Column-Store Tables'
© 2019 SAP SE or an SAP affiliate company. All rights reserved 107 of 109
2019-08-27 1999993
2812427 Timeout or connection failure in SAP process after Linux kernel update
2711824 High Number of Prepared Statements Causing High Usage of Memory Allocator Pool/Statistics
2711650 SAP HANA on Intel server systems with more than 8 CPU´s / sockets
2685716 Cleanup report for deletion of calculated attributes that are no longer required on SAP HANA
2661878 HANA System Replication log replay setting recommendations for large systems
2633077 Rowstore LOB Garbage is not Collected and the Number of Disk LOBs Keeps Increasing
2445363 How to delete the temporary table after HANA BPC enabled
2425002 SAP HANA 2.0: Deprecations reported by the HANA statistics server
2240716 SAP HANA DB: Recommended OS settings for SLES 11 / SLES for SAP Applications 11 SP4
2214569 Poor DTP performance caused by reaching max count of no logging tables
2205917 SAP HANA DB: Recommended OS settings for SLES 12 / SLES for SAP Applications 12
2097613 Database is running with inconsistent Secure Storage File System (SSFS)
1868829 Startup Issues Because Number of Active I/O Requests to Queue Exceeds aio-max-nr Limit
© 2019 SAP SE or an SAP affiliate company. All rights reserved 108 of 109
2019-08-27 1999993
github HANAChecker
© 2019 SAP SE or an SAP affiliate company. All rights reserved 109 of 109