Monitoring Databases


Databases are used by everyone, from small to large enterprises. With a general trend of centralizing and by that minimizing the actual number of databases, each database serves a multitude of higher applications. Different databases from different vendors are also being interconnected to provide new services. All of this creates a mesh that increases the need for good monitoring and fast core problem identification.

Proactive Monitoring of Databases

Proactive monitoring helps identifying potential problems and performance degradations before they turn into real and costly downtime. Proper analysis with scheduled proactive reporting enables trend and forecasting in day to day operations and planning the overall database architecture. op5 Monitor currently supports a number of key features enabling detailed control of your databases.

Note that the features described in this application note are all op5 standard controls and checks. Adding scripts to these can greatly enhance the controls even more.

Checking Methods

op5 Monitor works in a two ways:
• Direct checks of individual key databases performance indicators
• Combining series of direct checks in to a logical flow and tracking overall performance

The check can be executed directly from the op5 Monitor system or from a software client. The software client set up is particularly interesting as it gives a direct end user perspective of the database performance, quality and uptime.

Example on checks:
  • Connect ok?
  • Database online?
  • System Load?
  • SQL Query
  • etc.etc.
op5 Monitor connects to the database and issues SQL queries like any other client would. This gives the administrator the same view, performance and SLA perspective of the database as the users have.

Databases and relationships

All databases from all vendors are dependent on external services such as connectivity and actual server performance. op5 Monitor enables you to combined logical and non logical groups for clear and direct views of the overall database and the services needed for quality assurance. It’s called service groups. They greatly reduce problem resolution time and also create proper analysis with online or scheduled automatic reports.

op5 Monitor Database specific features


Monitoring features supported for all databases

  • Status of the associated process / service
  • CPU Load
  • Disk usage
  • Memory usage
  • Paging file (swap) usage


Microsoft SQL

  • Connect to database
  • Check if database is online
  • Execute an SQL query and match the output


Oracle

  • Login
  • Cache
  • Max extents
  • Datafiles usage
  • Archiving turned on
  • Tablespace in backup mode or not
  • Tnsping the selected SID
  • Check that database is running
  • Compute the cache hit ratio in %.
  • Check tablespace usage
  • Check datafile usage
  • Check the total number of datafiles
  • Check available extents
  • Check that log archiving is enabled
  • Check if in backupmode
  • Execute a user defined query and process the result

MySQL

  • Connect to database
  • Database status information
  • Connect to database


Sybase

  • Connect to database
  • Check if database is online
  • Execute an SQL query and match the output
  • MaxDB, Formerly known as SAP DB
  • Database status
  • Free space in DATA
  • Free space in Log
  • Autolog on
  • Data Backup Run/Result
  • Log Backup Result
  • Execute an SQL query and match the output

DB2

  • Connect to database
  • Execute an SQL query and match the output

PostgreSQL

  • login
  • percentage of connections available
  • summarize the types of queries running and warn if any queries have been running too long
  • queries in "waiting" state
  • look for exclusive locks that can block
  • postgresql's time and version
  • transaction IDs (warn before wrap)

For further information please contact us on +46-8-23 02 25 or info@op5.com, www.op5.com


Bookmark and Share