Monitoreo de Bases de Datos



Similar documents
Tushar Joshi Turtle Networks Ltd

EZManage V4.0 Release Notes. Document revision 1.08 ( )

Configuring Apache Derby for Performance and Durability Olav Sandstå

CA Unified Infrastructure Management

Module 15: Monitoring

Oracle Architecture. Overview

Oracle Database 12c: Performance Management and Tuning NEW

Outline. Failure Types

Nimsoft Monitor. oracle Guide. v4.5 series

Database Administration with MySQL

ORACLE INSTANCE ARCHITECTURE

Performance Counters. Microsoft SQL. Technical Data Sheet. Overview:

Configuring Apache Derby for Performance and Durability Olav Sandstå

Module 8: Server Management

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

Oracle Database Capacity Planning. Krishna Manoharan

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

Oracle DBA Course Contents

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

Oracle 11g Administration

Oracle Redo Log Performance Issues and Solutions

Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events

How to Optimize the MySQL Server For Performance

1. This lesson introduces the Performance Tuning course objectives and agenda

Nimsoft Monitor. sqlserver Guide. v4.3 series

CA Nimsoft Monitor Snap

Encrypting MySQL data at Google. Jonas Oreland and Jeremy Cole

Nimsoft Monitor. sqlserver Release Notes. All series

Oracle and Sybase, Concepts and Contrasts

Optimizing Your Database Performance the Easy Way

Percona Server features for OpenStack and Trove Ops

Lessons Learned while Pushing the Limits of SecureFile LOBs. by Jacco H. Landlust. zondag 3 maart 13

DBA Tutorial Kai Voigt Senior MySQL Instructor Sun Microsystems Santa Clara, April 12, 2010

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

MySQL Cluster Deployment Best Practices

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni

Clustered Database Reporting Solution utilizing Tivoli

Oracle 11g Database Administration

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

Oracle Database 11g: Performance Tuning DBA Release 2

Part 3. MySQL DBA I Exam

IBM Tivoli Monitoring for Databases

ArcSDE Configuration and Tuning Guide for Oracle. ArcGIS 8.3

DMS Performance Tuning Guide for SQL Server

Oracle Database Links Part 2 - Distributed Transactions Written and presented by Joel Goodman October 15th 2009

Recovery Principles in MySQL Cluster 5.1

Chapter 14: Recovery System

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

Java DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860

High Availability Solutions for the MariaDB and MySQL Database

Informix Performance Tuning using: SQLTrace, Remote DBA Monitoring and Yellowfin BI by Lester Knutsen and Mike Walker! Webcast on July 2, 2013!

- An Oracle9i RAC Solution

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Performance Tuning DBA Release 2. 5 Jours [35 Heures]

SAP HANA - Main Memory Technology: A Challenge for Development of Business Applications. Jürgen Primsch, SAP AG July 2011

One of the database administrators

Microsoft SQL Server: MS Performance Tuning and Optimization Digital

PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS

Monitoring MySQL. Kristian Köhntopp

Oracle Database Security and Audit

SQL Server Performance Tuning and Optimization

Safe Harbor Statement

Oracle Database Monitoring for the Beginner. Chris Grabowy First Consulting Group

Best Practices for Using MySQL in the Cloud

HP Storage Essentials Storage Resource Management Software end-to-end SAN Performance monitoring and analysis

DBMS Performance Monitoring

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

ORACLE CORE DBA ONLINE TRAINING

Oracle 11g DBA Training Course Content

Oracle server: An Oracle server includes an Oracle Instance and an Oracle database.

Sawmill Log Analyzer Best Practices!! Page 1 of 6. Sawmill Log Analyzer Best Practices

Monitoring PostgreSQL database with Verax NMS

DATABASE MANAGEMENT SYSTEM PERFORMANCE ANALYSIS AND COMPARISON. Margesh Naik B.E, Veer Narmad South Gujarat University, India, 2008 PROJECT

MySQL: Cloud vs Bare Metal, Performance and Reliability

Experiments. Goals. Experimentation Framework. General Goals: Assignments: Face actual system issues Experimentation. 1 week 2/3 experiments Report

PERFORMANCE TUNING IN MICROSOFT SQL SERVER DBMS

Ultimate Guide to Oracle Storage

DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop

8- Management of large data volumes

Proactive database performance management

High Availability and Scalability for Online Applications with MySQL

MySQL Storage Engines

Module 3: Instance Architecture Part 1

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

Recovery algorithms are techniques to ensure transaction atomicity and durability despite failures. Two main approaches in recovery process

Availability Digest. MySQL Clusters Go Active/Active. December 2006

XtraBackup: Hot Backups and More

Lotus Foundations Despreocupese de sus problemas de TI, enfoquese en su Negocio Network en una Caja

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies

Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability

DIPLOMADO EN BASE DE DATOS

Databases Going Virtual? Identifying the Best Database Servers for Virtualization

Benchmarking Hadoop & HBase on Violin

SQL diagnostic manager Management Pack for Microsoft System Center. Overview

S W I S S O R A C L E U S E R G R O U P. N e w s l e t t e r 3 / J u l i with MySQL 5.5. Spotlight on the SQL Tuning

DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

VMware vcenter 4.0 Database Performance for Microsoft SQL Server 2008

Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

Module 14: Scalability and High Availability

Transcription:

Monitoreo de Bases de Datos

Monitoreo de Bases de Datos Las bases de datos son pieza fundamental de una Infraestructura, es de vital importancia su correcto monitoreo de métricas para efectos de lograr su mejor desempeño y disponibilidad. El monitoreo se realiza usando dos puntos de vista: 1. Servidor (monitoreo de integridad del servidor de base de datos) 2. Usuario final (monitoreo de tiempos de respuesta para querys SQL específicos) La meta final es asegurar la disponibilidad y un desempeño óptimo de las bases de datos de manera de no comprometer la productividad del negocio y satisfacción del usuario final. Funcionalidades: Monitoreo en tiempo real 7x24 Monitoreo de disponibilidad, desempeño y cumplimiento de SLA Reportes históricos de desempeño Soporte a bases de datos: o Oracle o MS SQL o DB2 o Informix o MySQL o Sybase

Métricas Monitoreo Cada base de datos tiene sus métricas específicas, a continuación y listado de dichas métricas: Oracle Database uptime. Tablespace growth. Database growth. Tablespace status. Index status. Data file status. Rollback segment status. Fragmented segments. The extents that can't extend. The data dictionary cache hit ratio. The data buffer cache hit ratio. The Redo copy latch hit ratio. The library cache hit ratio. The sort hit ratio. PGA resource consumption (monitor memory consumption of Oracle users). The rollback segment contention. The number of invalid objects. The number of chained rows. The number of users currently logged onto the server. The MTS response time. The number of MTS waits. The enqueue resources. The UGA memory usage. User locks and locked users. Lock waits event time. The user buffer cache hit ratio. System waits and user waits. Datafile i/o. System statistics. Global cache service utilization for RAC. Global cache fusion ratio for RAC. Global cache lock get time for RAC. Global cache lock conversion timeouts for RAC. Global cache average lock get time for RAC. Global cache corrupt blocks count for RAC. Global cache lost blocks count for RAC. Long running queries.

Microsoft SQL Server Database uptime. Database state / status. Number of databases available. The data file size for each database. Log file size for each database. File group size for each database. Table size for each database. The buffer cache hit ratio. The log file cache hit ratio. The number of active users. The number of users currently logged onto the server. Number of deadlocks pr. second. Number of transactions pr. second. Number of database page reads/writes pr. second. Number of flush waits pr. second. Number of latch requests pr. second. Number of full scans (table or index) pr. seconds. The usage (growth/shrinking) of the transaction logs Table/index fragmentation. Memory resources. CPU and I/O resources. Locking and locking resources. Free connections. Backup status. Long running queries (SQL Server 2005 only). Long running jobs.

MySQL GENERAL Available Databases Bytes Received Bytes Sent Max Per Thread Memory Max Shared Memory Configured Max Total Memory CONNECTION HISTORY Connection Attempts Successful Connections Refused Connections Connection Refusal Rate Aborted Connections CONNECTIONS Connections Connection Usage Rate Running Threads Peak Open Connections Peak Usage Rate MYISAM KEY CACHE Cache Hit Rate Cache Usage Rate Read Requests Reads From Disk Write Requests Writes To Disk Disk: Total Write Ratio INNODB CACHE Cache Usage Rate Cache Hit Rate Cache Write Waits Rate Latched Pages TABLE LOCKS Locks Acquired Immediately Lock Waits QUERY CACHE Cache Usage Rate Queries In Cache Queries Not Cached Queries Inserted To Cache Cache Hits Queries Pruned From Cache Pruned as percent of Inserts Cache Hit Rate TEMPORARY TABLES Temp Tables Created Temp Tables Created On Disk Disk: Total Ratio BINARY LOG Transactions Used Cache Transactions Saved In Temp File Transactions Saved In Temp File Percent SLOW LAUNCH THREADS Slow Launch Threads SLOW QUERIES Enabled Min Long Query Time Slow Queries SORT BUFFERS Sort Range Sort Scan Temp Files FULL TABLE SCANS Full Table Scan Rate Selects Requiring Full Table Scans Full Table Scans For Joins STATEMENTS All Statements Select Percent

Lock Contention Rate INNODB ROW LOCKS Lock Waits Average Wait Time INNODB LOGS Log Waits Rate Total Size : Cache Size Percent THREAD CACHE Threads Threads Created For Connections Cache Hit Rate TABLE CACHE Tables Open Tables In Cache Rate Table Cache Misses Insert Percent Update Percent Delete Percent Replace Percent Commits Rollback: Commit ratio REPLICATION Slave Running Slave I/O Running Slave SQL running Seconds behind master Last Error Number Slave Retried Transaction Count Open temp tables Master Log Read Position Relay Master Log File Position Relay Log File Position SIZE Table Size

Sybase Server uptime. Local and/or remote monitoring of Sybase Servers. Amount of free log file space. Data file size for each database. Data and log file cache hit ratio. Reports the number of: active users. databases available. users currently logged onto the servers. granted and waited page and table locks. transactions and deadlocks pr. second. database page reads/writes pr. second. disk IO, disk reads and disk writes. committed transactions.

DB2 i_agents_created_ratio i_piped_sorts_rejected db_pool_hit_ratio db_avg_sort_time db_pct_sort_overflows db_avg_sort_heap db_pct_hjs_overflows db_pool_sync_reads db_pool_sync_writes db_pool_sync_idx_writes db_pool_sync_idx_reads db_pool_avg_async_read_time db_pool_avg_async_write_time db_pool_sync_write_time db_pool_avg_write_time db_avg_direct_read_time db_avg_direct_write_time db_cat_cache_hit_rto app_avg_sort_time app_pct_sort_overflows app_pool_hit_ratio app_avg_direct_read_time app_avg_direct_write_time app_cat_cache_hit_rto app_pkg_cache_hit_rto app_locklist_util bp_pool_hit_ratio bp_pool_avg_async_read_time bp_pool_avg_async_write_time bp_pool_sync_write_time bp_pool_avg_write_time bp_avg_direct_read_time bp_avg_direct_write_time bp_pool_sync_reads bp_pool_sync_writes bp_pool_sync_idx_writes bp_pool_sync_idx_reads ts_usable_pages_pct ts_used_pages_pct ts_free_pages_pct ts_max_used_pages_pct

Informix Logging status of the databases Databases for offline status If database is recovering If database is inconsistent If database mirror is offline or If database mirror is recovering Database free space (percent and MB) Buffer cache hit ratio for reads and writes Table extents and table size (MB) Users waiting for locks Chunk I/O read and write statistics Virtual CPU user and system time Connectivity to the database server Uptime (in days) of the database server Reports the number of: databases active users attempts to exceed the maximum number of locks and threads failed attempts to allocate entries in the transaction table times threads had to wait for a latch or a buffer times sessions had to wait for a lock times threads had to wait for critical section checkpoints times potential deadlocks are detected and prevented times distributed deadlock timeout is exceeded while user is waiting for lock foreground writes, LRU writes and chunk writes users waiting for locks Más información: www.agrega.hn Email: info@agrega.hn Tel +50422690133