Schedule demo

SAP MaxDB Monitoring (Add-On)


SAP MaxDB - An Overview

The SAP MaxDB database (formerly SAP DB), developed and supported by SAP AG, is a compliant relational enterprise database system  available on Microsoft Windows, Linux and Unix, and other prominent hardware platforms.

Monitoring SAP MaxDB - What we do

Applications Manager's SAP Monitoring aims to help database admins with tuning their SAP MaxDB, ensuring the availability and performance of production databases, and gathering operating system level data to understand performance issues from your infrastructure and applications to your end-user experience.

  • System And Memory Details - Check which operational state the database is in, gather information about the size and efficiency of the caches of the database. Track the number of accesses to caches and cache hit rates
  • Data and Log Area Stats - Regularly check data and log volume and confirm that there is sufficient free space in the data and log areas and know if the maximum number of database sessions has been reached.  
  • Data Cache and OMS Heap Usage - Analyze the Data Cache with Hit-rate metrics and OMS Heap consumption
  • Lock Activity and Session Management - Get information about the maximum number of available database locks (entries) so you can raise the value of maximum locks allowed when the set number approaches the number of available locks. Monitor Schema Statistics like table sizes and growth. Identify the top tables in MaxDB query.
  • Backups and Backup Template Metrics - Regularly check whether your backups are intact and have not failed. Generate the backup history to display backups have been carried out and whether they were successful. Monitor the log backup and the archiving for the backup files. Check regularly that automatic log backup is activated.

Creating a new SAP MaxDB monitor

Prerequisites for setting up SAP MaxDB monitoring:

  • sapdbc.jar should be copied to Appmanager_Home\working\classes folder. By default, this jar will be available under  <MaxDB_InstallationPath>\runtime\jar\sapdbc.jar.

Note: X-Server in SAP MaxDB should be running when the user sets up the SAP MaxDB Monitor

Creating a new Monitor

To create a new SAP MaxDB monitor, follow the steps given below:

  1. Click on New Monitor link.
  2. Select SAP MaxDB under the Database category.
  3. In the add monitor window, enter the Host Name of MaxDB server.
  4. Enter the Port as X-Server port (default port is 7210).
  5. Enter your Database Username and Password.
  6. Enter the Schema /Database Name.
  7. Enter Timeout in minutes i.e the Session Timeout.
  8. Click Add Monitor.

Monitored Parameters

Overview

ParameterDescription
SYSTEM DETAILS
Database StateThe State of the Database. A database can be in one of the following operational states.
  • ONLINE: The database is running and can be used by database system administrator, DBM operators and database users with the corresponding authorizations.
  • ADMIN: The database is only available for administration tasks.
  • OFFLINE: The database is not running.
Instance TypeThe database instance type:
  • OLTP
  • LiveCache (You can only use liveCache technology with SAP applications)
DB Speed 
Running DirectoryThe run directory of the MaxDB database where the database system saves configuration and log files.
Kernel VersionThe database kernal version.
MEMORY OVERVIEW
I/O Buffer CacheThe I/O buffer cache is the alloted working memory area used by the database system for I/O operations (data cache, converter and other caches).
Data CacheThe alloted size of the data cache.
ConverterThe alloted size of the converter cache.
File/Directory Used SizeThe space currently used by the file directories in MB.
Catalog CacheThe size of the catalog cache that is available for the database user to maintain the frequently accessed sections of the catalog.
Shared SQL DataThe size of shared SQL caches. The shared SQL caches hold already executed SQL queries, thus memory is kept to a minimum.
Sequence CacheThe size of sequence cache. The sequence cache stores current values of database sequences.
OMS HeapThe size of the OMS heap portion of main memory.
Log Queue CacheThe size of the log queues. The log queue contains the log entries of the current transactions (redo log entries) and writes them to the log volumes using the log writer.
Block AllocatorThe amount of memory currently used by block allocators in MB.
Unused SizeThe free space in the I/O buffer cache in MB. Ideally, this value should be high. A very low value of this measure indicates the need to reset the CACHE_SIZE.
IO ManagementThe current size of the I/O management.
Index CreationThe current rate at which indexes were being created.
DATA CACHE
Data CacheThe alloted size of the data cache.
OMS DataThe size of the OMS heap.
SQL DataThe size of area occupied by SQL data.
Used Pin AreaThe size of the used pin area. (Data that is to be kept for a longer time from being displaced from the data cache is held in a special area of the data cache, the pin area.)
History/Undo 
Changed Data 

Data Area

ParameterDescription
DATA AREA INFO
Total Data AreaThe total size of the data area in MB.
Used Data AreaThe memory in data area that is currently used for data.
Used Data AreaThe percentage of memory in data area that is currently used for data.
Free Data AreaThe data area that is currently available for data.
Free Data AreaThe percentage of data area that is currently available for data.
Permanent Data SizeThe data area that is currently used for permanent data.
Temporary Data SizeThe data area that is currently used for temporary data.
Permanent Converter SizeThe space in the I/O buffer cache that is permanently used by the converter.
Temporary Converter SizeThe space in the I/O buffer cache that is temporarily used by the converter.
Size of an incremental backupThe size of an incremental backup. An incremental backup contains only data that is new or has changed since the last backup, regardless of the type.
Shadow Data Size 
DATA VOLUME
Volume IdThe unique identifier of the Data Volume.
Total Volume Size (MB)The total size of the data volume, both used and free.
Used Volume Size (MB)The amount of data that has been written to the volume in the data area.
Used Volume Size (%)The percentage amount of data that has been written to the volume in the data area.
Path  The Data Volume Path.

Log Area

ParameterDescription
LOG AREA INFO
Logging StatusThe logging status, i.e if logging is currently happening (The database system writes the redo log entries of transactions in the log segments of the log area.) Possible values are:
  • Yes= Logging is currently happening.
  • No= Logging is not happening.
Auto OverwriteSpecifies whether overwrite mode is activated for the log area. Possible Values are:
  • YES= The Log area is overwritten cyclically, log backup is not possible;
  • NO= The log area is not in overwrite mode.
Log Writer StatusSpecifies if Log Writer is Enabled. The log writer writes the redo log entries from the log queues to the log area. The log writer is a task in the user kernel thread. Possible Values are:
  • YES= The Log Writer is not enabled.
  • NO= The Log Writer is enabled.
Device StateThe state of the device. Possible Values are:
  • Active
  • Passive
Is Log Area FullSpecifies if the log area is full (no space left on the log volumes). Possible Values are:
  • YES - The log area is full.
  • NO - The log area is not full.
Flush Mode 
Total Log AreaThe total area taken up by all the log volumes in a database instance.
Used Log AreaThe size of the log area currently utilized in MB.
Used Log AreaThe percentage size of the log area currently utilized.
LOG VOLUMES
Volume IdThe unique identifier of the Log Volume.
Total Size (MB)The total size of the log volume, both used and free in MB.
Used Volume Size  (MB)The amount of logs that has been written to the volume in the log area in MB.
Used Volume Size  (%)The percentage amount of logs that have been written to the volume in the log area.
Path  The Log Volume path.

Session

ParameterDescription
SESSION
Max No.of SessionsThe maximum number of sessions a user can open on the database.
Used SessionsThe number of currently active database sessions.
Used Sessions PercentageThe percentage of currently active database sessions.

Cache Stats

ParameterDescription
CACHE HIT RATE
Cache NameThe name of the cache.
Hit RateThe time data was retrieved from the database cache in the last measurement period.
CACHE STATISTICS
NameThe name of the cache.
Access CountThe number of times the cache was accessed.
Successful Access CountThe number of times the cache was successfully accessed.
Unsuccessful Access CountThe number of times the cache access was unsuccessful.
Hit Rate (%)  The percentage of time data was retrieved from the database cache in the last measurement period.

OMS Heap

ParameterDescription
OMS HEAP STATISTICS
Allocator NameThe name of the memory allocating process.
Reserved Memory (KB)The total memory allocated by the process.
Used Heap (KB)The current memory usage.
Used Heap (%)The percentage of current memory usage.
Max Heap Usage (KB)   The maximum value allowed for the size of the heap.

Schema and Tables

ParameterDescription
SCHEMA DETAILS
Schema NameThe name of the schema.
Tables CountThe number of system tables in the Schema.
Schema Used Size (MB)The space used for tables and indexes that belong to the schema in MB.
TOP 10 LARGE TABLES
Schema NameThe name of the schema.
Table NameThe name of the table.
Table Used Size (KB)The amount of space used by the table in KB.
Row CountThe number of rows in the table.

Resource Monitor

ParameterDescription
TOP 10 FREQUENTLY CALLED QUERIES
Cmd IDThe command ID.
SQL QueryThe SQL Query called.
Called CountThe number of queries called.
Row ReadsThe number of full-row reads.
Virtual ReadsThe number of reads (page accesses).
Collision on SQL LocksThe number of SQL lock requests that could not be satisfied.
Collision on internal LocksThe number of internal lock requests that could not be satisfied.
I/O accessThe number of I/O accesses to disk (reading and writing).
Rows fetchedThe number of rows fetched.

Locks

ParameterDescription
LOCKS USAGE
Maximum LocksThe number of available locks in the lock list
Used LocksThe number of used locks.
LOCK STATISTICS
DeadLocksThe number of situations where at least two transactions collided with each other due to held and requested locks in such a way that this collision can be resolved only by implicitly ending a transaction.
SQL Lock CollisionsThe number of SQL lock requests that could not be satisfied (immediately).
OMS Lock CollisionsThe number of OMS lock requests that could not be satisfied (immediately).
Lock EscalationsThe number of lock escalations
Row LocksThe number of row locks held.
Table LocksThe number of table locks held.
SQL Request Timeout LocksThe number of SQL lock requests that could not be satisfied because they had exceeded the maximum wait time.
OMS Request Timeout LocksThe number of OMS lock requests that could not be satisfied because they had exceeded the maximum wait time.

Backup

The number of pages read/written during the I/O operation

ParameterDescription
LAST/CURRENT BACKUP DETAILS
Latest ThreadIDThe Id of the latest SAP MaxDB thread created inside the SAP MaxDB kernel process.
Latest Backup Thread NameThe name of the latest SAP MaxDB thread created inside the SAP MaxDB kernel process.
Automatic Log BackupSpecifies if Automatic Log Backup is enabled. If you have activated Automatic Log Backup, the database system backs up the redo log entries automatically
Latest Backup IO CountThe number of I/O operations.
Latest Backup IO Page CountThe number of pages read/written during the I/O operation.
Latest Backup IO TimeThe total time of the I/O operations.
Latest Backup Pending IO CountThe number of pending I/O operations.
Latest Backup PathThe latest data backup path.
RECENT BACKUP TEMPLATE DETAILS
Backup Template NameThe name of the backup template. This has no influence on the name of the backup created later using this backup template.
Backup IDThe template ID.
Backup ActionThe backup action that is scheduled in the template (for example, data backups, log backups, updates of SQL Optimizer statistics, and database structure checks). These are then performed at the specified time.
Backup Start TimeThe start time of the backup.
Backup End TimeThe end time of the backup.
Backup Size (Pages)The size of full and incremental backups together.
Backup ResultResult obtained in last template backup.
Backup ErrorResult obtained in last template backup, if any.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally