Secure the future of MySQL. Sign this open letter

pg_stat_monitor: A feature-rich and enhanced version of pg_stat_statements

Event Swiss PGDay 2023
Presentation Jun 29, 2023
Speaker
Kai Wagner
Kai Wagner

Percona, Sr. Engineering Manager

Abstract

The pg_stat_monitor is the statistics collection tool based on PostgreSQL’s contrib module pg_stat_statements. PostgreSQL’s pg_stat_statements provides only detailed statistics from the last time it was reset, which is often not enough. This makes it harder to observe query performance patterns during specific times. Those patterns are what’s needed when debugging degraded query and server performance. pg_stat_monitor collects and aggregates data on time window basis. Additionally, it differentiates between queries originating from different applications, clients and users. And I haven’t even mentioned the queries execution timing histogram. These features make it especially useful in analyze query behavior generally and during specific time of a day. With plenty of configuration options, turning off actual query parameters, pg_stat_monitor covers observability from all different aspects without compromising on security. pg_stat_monitor is added to Percona Monitoring and Management to collect query metrics. It gives users the ability to see examples instead of fingerprints. Pg_stat_monitor provides more accurate data because of the bucket-based logic. The talk will cover the usage of pg_stat_monitor, its features, and how it can help to enhance your database inspection and monitoring.

Speaker Bios

Kai Wagner

Percona, Sr. Engineering Manager

Kai joined Percona in 2022 as an Engineering Manager responsible for the PostgreSQL development team. Before joining Percona, he worked as a team lead and as a software engineer at SUSE Linux. He is now focusing on the coordination of the PostgreSQL development at Percona as well as acting as an open source evangelist.

See all talks by Kai Wagner »

Explore More Talks

Talk

Introducciรณn a los Operadores de Kubernetesย  for Beginners

๐Ÿ“… Jun 10, 2023
๐Ÿข Percona University Peru 2023
Edith Puclla
Edith Puclla

Technical Evangelist, Percona

Talk

15 tips to boost your Galera Cluster

๐Ÿ“… Feb 1, 2014
๐Ÿข FOSDEM 2014
๐Ÿ“ Brussels, Belgium
Talk

17 Things Developers Need to Know About Databases

๐Ÿ“… May 12, 2020 , 12/May/20 4:00 PM
๐Ÿข Open Source 101 At Home
๐Ÿ“ Online
Peter Zaitsev
Peter Zaitsev

Founder | Open-Source Advocate | Technologist | Boards Member, Advisor & Mentor

โœŽ Edit this page on GitHub