Professional Documents
Culture Documents
HANA Configuration MiniChecks SSS
HANA Configuration MiniChecks SSS
/*
[NAME]
- HANA_Configuration_MiniChecks_SSS
[DESCRIPTION]
[SOURCE]
- Has worked on revision 58, simplification might required for earlier revisions
- Certain statisticsserver related checks have to be performed differently for SSS
and ESS
- Long runtimes might be linked to TABLES_MOVED_LOCALLY check
[VALID FOR]
- Revisions: all
- Statistics server type: SSS
[INVOLVED TABLES]
- various
[INPUT PARAMETERS]
- HOST
Host name
- ONLY_POTENTIALLY_CRITICAL_ISSUES
'X' --> Output only contains issues that can potentially indicate a
problem
' ' --> no output restriction
- MAX_VALUE_LENGTH
- ORDER_BY
[OUTPUT PARAMETERS]
- CHID: Check identifier (defined and used by this Mini Check command)
- DESCRIPTION: Check description
- HOST: Host name (empty if not host specific)
- VALUE: Check value found on the system
- EXPECTED_VALUE: Expected check values
- C: 'X' if value found on the system is outside of the expected
values (indication for potentially critical problem)
- SAP_NOTE: SAP Note
[EXAMPLE OUTPUT]
-----------------------------------------------------------------------------------
-------------------------------------------------------------------
|CHID |DESCRIPTION |HOST |VALUE
|EXPECTED_VALUE |C|DETAILS |
-----------------------------------------------------------------------------------
-------------------------------------------------------------------
|**** |GENERAL | |
| | | |
| | | |
| | | |
| 10|Analysis date | |2014/05/30
12:27:35 | | | |
| 11|Database name | |HP1
| | | |
| 12|Revision level | |1.00.74.00.390550
(NewDB100_REL) | | | |
| 110|Everything started | |yes
|yes | | |
| 111|Startup time variation (s) | |1108
|<= 600 |X| |
| 120|License usage (%) | |72
|<= 95 | | |
| 121|License expiration (days) | |never
|>= 100 | |SAP Note 1644792|
| 130|Database log mode | |normal
|normal | | |
| 140|Time since statistics server run (s) | |26
|<= 3600 | | |
| | | |
| | | |
|**** |OPERATING SYSTEM | |
| | | |
| | | |
| | | |
| 210|Minimum CPU rate (MHz) |saphana20|2395
|>= 1100 | |SAP Note 1890444|
| | |saphana21|2395
|>= 1100 | |SAP Note 1890444|
| 211|Different CPU rates | |no
|no | |SAP Note 1890444|
| 220|Current CPU utilization (%) |saphana20|66
|<= 80 | | |
| | |saphana21|1
|<= 80 | | |
| 221|Time since CPU utilization > 95 % (h) |saphana20|49.64
|>= 12.00 | | |
| 230|Current memory utilization (%) |saphana20|50
|<= 90 | | |
| | |saphana21|1
|<= 90 | | |
| 231|Time since memory utilization > 95 % (h) | |never
|>= 12.00 | | |
| 240|Current swap utilization (GB) |saphana20|0
|0 | | |
| | |saphana21|0
|0 | | |
| 241|Time since swap utilization > 1 GB (h) | |never
|>= 480 | | |
| 250|Max. used disk size (%) | |30
|<= 90 | | |
| | |saphana20|30
|<= 90 | | |
| | |saphana21|30
|<= 90 | | |
| 260|Open files limit (OS) |saphana20|1048576
|>= 100000 | |SAP Note 1771873|
| | |saphana21|1048576
|>= 100000 | |SAP Note 1771873|
| | | |
| | | |
|**** |I/O | |
| | | |
| | | |
| | | |
| 310|I/O read throughput data min. (MB/s, last day) |saphana20|41
|>= 30 | | |
| 311|I/O read throughput data avg. (MB/s, last day) |saphana20|345
|>= 150 | | |
| 315|I/O write throughput data min. (MB/s, last day)|saphana20|50
|>= 30 | | |
| 316|I/O write throughput data avg. (MB/s, last day)|saphana20|170
|>= 150 | | |
| 320|I/O read throughput log min. (MB/s, last day) |saphana20|3152
|>= 50 | | |
| 321|I/O read throughput log avg. (MB/s, last day) |saphana20|4030
|>= 100 | | |
| 325|I/O write throughput log min. (MB/s, last day) |saphana20|16
|>= 10 | | |
| 326|I/O write throughput log avg. (MB/s, last day) |saphana20|16
|>= 20 |X| |
| 330|Max. trigger read ratio (data) |saphana20|0.67
|<= 0.50 |X|SAP Note 1930979|
| 331|Max. trigger write ratio (data, log) |saphana20|0.01
|<= 0.50 | |SAP Note 1930979|
| 340|Log switch wait count ratio (%) |saphana20|0
|<= 1 | | |
| 341|Log switch race count ratio (%) |saphana20|0
|<= 1 | | |
| 350|Crit. savepoint phases > 10 s (last day) |saphana20|0
|0 | | |
| 351|Crit. savepoint phase avg. (s, last day) |saphana20|2.41
|<= 2.00 |X| |
| 352|Crit. savepoint phase max. (s, last day) |saphana20|6.54
|<= 10.00 | | |
| 355|Time since last savepoint (s) |saphana20|159
|<= 900 | | |
| 360|Number of failed I/O reads |saphana20|0
|0 | | |
| 361|Number of failed I/O writes |saphana20|0
|0 | | |
| | | |
| | | |
|**** |MEMORY | |
| | | |
| | | |
| | | |
| 410|Allocation limit used (%) |saphana20|37
|<= 80 | | |
| | |saphana21|0
|<= 80 | | |
| 420|Heap areas larger than 50 GB
|saphana20|Pool/PersistenceManager...DefaultLPA/Page (58 GB)|none |X|SAP
Note 1840954|
| |
|saphana20|Pool/RowEngine/QueryExecution (66 GB) |none |X|SAP
Note 1840954|
| | |saphana20|Pool/Statistics
(55 GB) |none |X|SAP Note 1840954|
| 430|Number of column store unloads (last day) | |0
|0 | | |
| 431|Time since last column store unload (days) |saphana20|45.72
|>= 5.00 | | |
| | | |
| | | |
|**** |TABLES | |
| | | |
| | | |
| | | |
| 510|Tables with > 100 partitions | |0
|0 | | |
| 520|Tables / partitions exceeding 1 billion rows | |none
|none | | |
| 530|Shared memory row store size (GB) |saphana20|119
|<= 500 | |SAP Note 1963779|
| 535|Row store (> 10 GB) fragmentation (%) |saphana20|19
|<= 30 | |SAP Note 1813245|
| 540|Delta merges > 200 s (last day) |saphana20|42
|0 |X| |
| 541|Failing delta merges (last day) |saphana20|0
|0 | | |
| 542|Tables with delta storage > 5 GB | |KONV (6.98 GB)
|none |X| |
| 543|Tables with > 1 Mio. and > 90 % of delta rows | |ZRB04 (1552842
rows, 100 %) |none |X| |
| | | |
| | | |
|**** |TRACES, DUMPS and LOGS | |
| | | |
| | | |
| | | |
| 612|Performance trace enabled | |no
|no | |SAP Note 1787489|
| 614|SQL trace enabled | |no
|no | | |
| 616|Indexserver python trace enabled | |no
|no | |SAP Note 1935113|
| 617|Executor python trace enabled | |no
|no | |SAP Note 2020877|
| 618|Minimum expensive SQL trace threshold (ms) | |1000
|>= 1000 | | |
| 620|Existence of modified trace settings | |yes
|no |X| |
| 630|Number of tracefiles (total) |saphana20|586
|<= 100 |X| |
| | |saphana21|368
|<= 100 |X| |
| 631|Number of tracefiles (last day) |saphana20|15
|<= 30 | | |
| | |saphana21|5
|<= 30 | | |
| 632|Size of tracefiles (GB, total) |saphana20|5.53
|<= 6.00 | | |
| | |saphana21|6.60
|<= 6.00 |X| |
| 633|Size of tracefiles (GB, last day) |saphana20|0.21
|<= 1.00 | | |
| | |saphana21|0.00
|<= 1.00 | | |
| 635|Number of OOM tracefiles (last day) |saphana20|0
|0 | | |
| | |saphana21|0
|0 | | |
| 640|Number of crash dumps (last day) |saphana20|0
|0 | | |
| | |saphana21|0
|0 | | |
| 645|Number of RTE dumps (last day) |saphana20|0
|0 | | |
| | |saphana21|0
|0 | | |
| | | |
| | | |
|**** |ALERTS AND EVENTS | |
| | | |
| | | |
| | | |
| 710|Open alerts | |1 High, 10 Medium,
12 Low |not like %High%|X| |
| 711|Failure retrieving alerts | |no
|no | | |
| 715|Number of alert checks not executed as expected| |0
|0 | | |
| 720|Events without acknowledgement | |0
|0 | | |
| | | |
| | | |
|**** |TRANSACTIONS AND THREADS | |
| | | |
| | | |
| | | |
| 810|MVCC versions in row store |saphana20|19756
|<= 1000000 | | |
| 811|Age of transaction blocking MVCC (s) | |26
|<= 10800 | | |
| 820|Oldest active transaction (s) |saphana20|179473
|<= 36000 |X| |
| 830|Active commit ID range |saphana20|13235
|<= 3000000 | | |
| 840|Active update transaction ID range |saphana20|883670
|<= 3000000 | | |
| 841|Oldest active update transaction (s) |saphana20|1648
|<= 10800 | | |
| | | |
| | | |
|**** |BACKUP | |
| | | |
| | | |
| | | |
| 910|Age of last data backup (days) | |0.63
|<= 1.20 | | |
| 911|Age of last data backup error (days) | |4.63
|>= 1.20 | | |
| 915|Max. duration of data backup (h, last week) | |5.33
|<= 6.00 | | |
| 916|Avg. duration of data backup (h, last week) | |3.62
|<= 4.00 | | |
| 920|Age of last log backup (days) | |0.00
|<= 1.00 | | |
| 921|Age of last log backup error (days) | |59.90
|>= 1.00 | | |
| 930|Automatic log backup | |yes
|yes | | |
| | | |
| | | |
|**** |LOCKS | |
| | | |
| | | |
| | | |
| 1010|Age of oldest active lock wait (s) | |0
|<= 60 | | |
| 1011|Lock wait durations > 600 s (last day) | |0
|0 | | |
| 1020|Threads currently waiting for locks | |20
|<= 40 | | |
| | | |
| | | |
|**** |SQL | |
| | | |
| | | |
| | | |
| 1110|SQL statement allocating > 1 session (last day)| |
6ea8ae87f49702463799a8a2a51d840c (1.10 sessions) |none |X|
|
| 1115|Longest running current SQL statement (s) | |24
|<= 600 | | |
| 1120|Exp. stmt. trace: SQL running > 1 h (last day) | |0
|0 | | |
| 1130|SQL cache evictions / h |saphana20|5829
|<= 1000 |X| |
| | | |
| | | |
|**** |APPLICATION | |
| | | |
| | | |
| | | |
| 1210|DDLOG sequence cache size | |1
|>= 2 |X|SAP Note 1977214|
| | | |
| | | |
|**** |SECURITY | |
| | | |
| | | |
| | | |
| 1310|Secure store (SSFS) status |saphana20|available
|available | | |
| | |saphana21|available
|available | | |
| 1320|Number of users with activated auditing | |0
|0 | | |
-----------------------------------------------------------------------------------
-------------------------------------------------------------------
*/
CASE
WHEN NAME = 'BLANK_LINE' THEN ''
WHEN NAME = 'INFO_LINE' THEN '****'
WHEN ONLY_POTENTIALLY_CRITICAL_RESULTS = 'X' OR ROW_NUM = 1 OR ORDER_BY =
'HOST' THEN LPAD(CHECK_NUM, 5)
ELSE ''
END CHID,
CASE WHEN ONLY_POTENTIALLY_CRITICAL_RESULTS = 'X' OR ROW_NUM = 1 OR ORDER_BY =
'HOST' THEN DESCRIPTION ELSE '' END DESCRIPTION,
IFNULL(HOST, '') HOST,
MAP(VALUE, '999999', 'never', NULL, 'n/a',
CASE WHEN MAX_VALUE_LENGTH = -1 OR LENGTH(VALUE) <= MAX_VALUE_LENGTH THEN VALUE