Keep an eye on your PostgreSQL clusters



Similar documents
Open PostgreSQL Monitoring

PGCon PostgreSQL Performance Pitfalls

Effective MySQL Monitoring. Baron Schwartz March 2012

Monitoring MySQL. Presented by, MySQL & O Reilly Media, Inc. A quick overview of available tools

Managing MySQL Scale Through Consolidation

SCF/FEF Evaluation of Nagios and Zabbix Monitoring Systems. Ed Simmonds and Jason Harrington 7/20/2009

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

How To Monitor Mysql With Zabbix

Free performance monitoring and capacity planning for IBM Power Systems

Integrated Monitoring for PostgreSQL

Maintaining Non-Stop Services with Multi Layer Monitoring

GSX Monitor & Analyzer. for IBM Collaboration Suite

Monitor the Heck Out Of Your Database

MONITORING RED HAT GLUSTER SERVER DEPLOYMENTS With the Nagios IT infrastructure monitoring tool

SQL diagnostic manager Management Pack for Microsoft System Center. Overview

Audit & Tune Deliverables

Open Source Monitoring

A SURVEY ON AUTOMATED SERVER MONITORING

The Complete Performance Solution for Microsoft SQL Server

CitusDB Architecture for Real-Time Big Data

Monitoring Lotus Domino Servers with Microsoft System Center Operations Manager

Oracle Database 11g: New Features for Administrators DBA Release 2

Greenplum Database (software-only environments): Greenplum Database (4.0 and higher supported, or higher recommended)

<Insert Picture Here> Oracle In-Memory Database Cache Overview

Improve query performance with the new SQL Server 2016 Query Store!!

CURRENT STATE OF ICINGA

Monitoring Infrastructure for Superclusters: Experiences at MareNostrum

OpenAdmin Tool for Informix (OAT) October 2012

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

7/15/2011. Monitoring and Managing VDI. Monitoring a VDI Deployment. Veeam Monitor. Veeam Monitor

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Summer Webinar Series Network Monitoring Probe Virtual Appliance

Tivoli Storage Flashcopy Manager for Windows - Tips to implement retry capability to FCM offload backup. Cloud & Smarter Infrastructure IBM Japan

Building Views and Charts in Requests Introduction to Answers views and charts Creating and editing charts Performing common view tasks

Comparing MySQL and Postgres 9.0 Replication

Monitoring Tools for Network Services and Systems

Maintaining a Microsoft SQL Server 2008 Database

The IntelliMagic White Paper: SMI-S for Data Collection of Storage Performance Metrics. December 2010

The enterprise class monitoring solution for everyone

Introduction. AppDynamics for Databases Version Page 1

Top 3 Issues and Questions (in Network Monitoring!) Developing a Network Monitoring Architecture! infotex. Dan Hadaway CRISC Managing Partner, infotex

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

Directions for VMware Ready Testing for Application Software

Lotus Domino 8 Monitoring and Maintenance

vcenter Operations Management Pack for SAP HANA Installation and Configuration Guide

AGENDA: INTRODUCTION: 1. How is our cloud monitoring setup? 2. Which are the tools used? 3. How do we access monitoring dashboard?

An Architectural Review Of Integrating MicroStrategy With SAP BW

Tools and strategies to monitor the ATLAS online computing farm

vrops Microsoft SQL Server MANAGEMENT PACK OVERVIEW

Analyzing Big Data with Splunk A Cost Effective Storage Architecture and Solution

Capacity planning for IBM Power Systems using LPAR2RRD.

Oracle 11g New Features - OCP Upgrade Exam

Why Nagios and Server Monitoring Are Failing Modern Apps

Oracle Database 12c: Performance Management and Tuning NEW

features at a glance

IBM Tivoli Monitoring for Databases

Managing your Domino Clusters

MALAYSIAN PUBLIC SECTOR OPEN SOURCE SOFTWARE (OSS) PROGRAMME. COMPARISON REPORT ON NETWORK MONITORING SYSTEMS (Nagios and Zabbix)

PTC System Monitor Solution Training

How To Manage Active Directory With Splunk

Monitoring MySQL. Kristian Köhntopp

Architecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist

Monitoring Domino Servers with HP Operations Manager

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte

Herve Roggero 3/3/2015

Open PostgreSQL Monitoring Documentation

Moving From Hadoop to Spark

Network Monitoring. Lance Rea. Davis & Gilbert LLP lrea@dglaw.com

Practical Considerations for Real-Time Business Intelligence. Donovan Schneider Yahoo! September 11, 2006

Robust & Reliable DNS Operations Logging & Monitoring

Introduction to Big data. Why Big data? Case Studies. Introduction to Hadoop. Understanding Features of Hadoop. Hadoop Architecture.

Grids & networks monitoring - practical approach

Database Replication with MySQL and PostgreSQL

SAP HANA SPS 09 - What s New? Administration & Monitoring

Course Syllabus. At Course Completion

Chapter 7: Distributed Systems: Warehouse-Scale Computing. Fall 2011 Jussi Kangasharju

SAP HANA implementation on SLT with a Non SAP source. Poornima Ramachandra

A Shared-nothing cluster system: Postgres-XC

IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft Exchange Server Agent Version Fix Pack 2.

Windows Server 2012 Server Manager

PostgreSQL Performance Characteristics on Joyent and Amazon EC2

Management Tools, Systems and Applications. Network Management

Using Redis as a Cache Backend in Magento

Oracle Enterprise Manager 12c Microsoft SQL Server Plug-in version

Real-time Data Replication

MS SQL Server 2014 New Features and Database Administration

User's Guide - Beta 1 Draft

IT Infrastructure- Monitoring Tools

A Scalable Network Monitoring System as a Public Service on Cloud

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.)

PANDORA FMS NETWORK DEVICES MONITORING

SQL Server Consolidation Using Cisco Unified Computing System and Microsoft Hyper-V

ENTERPRISE-CLASS MONITORING SOLUTION FOR EVERYONE ALL-IN-ONE OPEN-SOURCE DISTRIBUTED MONITORING

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

MySQL Administration and Management Essentials

Transcription:

Keep an eye on your PostgreSQL clusters Open PostgreSQL Monitoring & PostgreSQL Workload Analyzer Julien Rouhaud Dalibo - www.dalibo.org pgconf.ru 2015 - February [ 1 / 39 ]

Monitoring? Service availability Service, host, network... Alerting Service performance Graphing Trending Analysis [ 2 / 39 ]

At what cost? Open source projects [ 3 / 39 ]

What already exists Different kind of tools Command line tools / datasources Generic solutions with probes Dedicated solutions [ 4 / 39 ]

Command line And data sources Nice features But more useful for emergency situations Or need some external tool for best usage [ 5 / 39 ]

Command line Some examples command line pg_view pg_activity pgstats Data source all pg_stat* catalog pg_stat_statements, pg_stat_plans pg_proctab [ 6 / 39 ]

Probe Gather informations for another tool Can usually be used in standalone [ 7 / 39 ]

Probe Example check_postgres pg_monz [ 8 / 39 ]

Dedicated solution Complete for its purpose More pertinent But not numerous [ 9 / 39 ]

OPM and PoWA? OPM aim to be a dedicated solution relies on existing or new probes and components PoWA Dedicated performance solution [ 10 / 39 ]

Ecosystem Generic solution based on probes Name Native graphing Alerting Nagios No Yes Zabbix Yes Yes Munin Yes Yes Cacti Yes No [ 11 / 39 ]

General Overview Pros Robust and mature Adaptable Extendable Cons UI not flexible Data not available for querying Except check_postgres, lack of really complete datasource [ 12 / 39 ]

Nagios Specific Graphing (with third part tool like OPM V2) PostgreSQL compatibility with check_postgres (Bucardo) check_pg_activity (OPM) Hard to configure [ 13 / 39 ]

Zabbix Overview PostgreSQL compatibility with pg_monz (only PG 9.2+) postbix (no news since 2013) [ 14 / 39 ]

Munin Overview Native PostgreSQL compatibility, and with pymunin [ 15 / 39 ]

Cacti Overview PostgreSQL compatibility with Some workaround with check_postgres (MRTG format) [ 16 / 39 ]

What about OPM And for Open PostgreSQL Monitoring? [ 17 / 39 ]

OPM Architecture Nagios Scheduler Alerting Probes PG specific : check_pgactivity And monitoring-plugin Storage PostgreSQL :) 9.3 or more GUI Dedicated GUI [ 18 / 39 ]

OPM Overview [ 19 / 39 ]

check_pgactivity Design Written from scratch, simpler code Provide lots of services Handle a small cache Better perfdata [ 20 / 39 ]

check_pgactivity New features Handle multi-database connections transparently Can compute delta instead of raw values Handle units [ 21 / 39 ]

check_pgactivity New service examples bgwriter statistics better bloat estimation Most important settings check [ 22 / 39 ]

check_pgactivity Enhanced service better bloat estimation replication : pg_stat_replication or hot standby "Instant" hit ratio [ 23 / 39 ]

User interface Specific ACL More modern graphs Custom graph display [ 24 / 39 ]

Ecosystem Specific solution Name Maintained Aim Alerting pg_statsinfo Yes Generalist Possible pg_watch Dead? Generalist No pgobserver Yes Performance No pgcluu Yes Generalist No PoWA Yes Performance No [ 25 / 39 ]

pg_statsinfo Pros & cons Pros Useful metrics Cons Reports on demand Needs specific extension and reboot on each monitored server [ 26 / 39 ]

pgobserver Pros & cons Pros Useful metrics And novel metrics (like stored proc) Dynamic reports Cons Focused on performance [ 27 / 39 ]

pgcluu Pros & cons Pros Useful metrics General overview Easy to use Cons Can be storage greedy Need to generate reports [ 28 / 39 ]

PoWA 2.0 A complete solution Handle a lot of datasource Requires PG 9.4 or more requires queryid exposure, since pg_stat_statements 1.2 [ 29 / 39 ]

What is PoWA A background worker Dedicated snapshot, aggregation and purge functions Dedicated UI [ 30 / 39 ]

PoWA Extensions handled Existing extensions pg_stat_statements pg_proctab (WIP) New one pg_qualstats pg_stat_kcache pg_track_settings (WIP) [ 31 / 39 ]

pg_qualstats Presentation Gather real-time statistics on where clauses per query SeqScan / indexscan Operator Number of execution Filter ratio... [ 32 / 39 ]

pg_qualstats What it allows Find missing indexes Which could be partial Or on several columns if some other queries could benefit from it... [ 33 / 39 ]

pg_qualstats What it allows EXPLAIN normalized queries with real values Most frequents Most/Least filtering... [ 34 / 39 ]

pg_stat_kcache Presentation Gather real-time per query system statistics [ 35 / 39 ]

pg_stat_kcache What it allows Compute a real hit ratio (shared_buffers, system cache and disk) Show CPU consumption global, per database and/or per query and/or per user over time [ 36 / 39 ]

Demo [ 37 / 39 ]

For the future Nagios optional from OPM Add ability to handle PoWA in OPM Better use of metrics Trending / statistic analysis Correlate informations Better index suggestion, global database analysis And much more... [ 38 / 39 ]

Questions? julien.rouhaud@dalibo.com contact@opm.io - powa@dalibo.com github.com/opmdg - github.com/dalibo/powa Thank you! [ 39 / 39 ]