PGConf NYC 2021 - Pglog: a flexible log analyser by Laetitia Avrot

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=ajDY0u3J-qc



Category:
Vlog
Duration: 34:27
17 views
0


Pglog: a flexible log analyser by Laetitia Avrot

As a consultant, I always end up in production systems running for some time and I have to quickly grasp how the cluster is running. Most of the time I don't have direct access to production, so my best shot is to get the logfiles and analyse them.

I tried other logs analyser tools, I even tried grep, sed, tr... but I always ended up being frustrating because it was not flexible enough: each production server is specific and needs specific investigations.

That's when I begun using Postgres on my laptop to analyse logs. First, simply with a file foreign data wrapper, then using copy and creating materialized views to make it quicker.

I developed several "standard" reports about autovacuum, slow queries, checkpoint, temp files, errors... And then, when you have enough information to know where you need to dig, you can perform SQL on top of your logs to have a better analysis.

This session is a presentation of that tool which is Open Source (under the PostgreSQL licence).




Other Videos By Confreaks


2022-10-12PGConf NYC 2021 - How we made PG Fitter, Happier, More Productive by Andrew Atkinson
2022-10-12PGConf NYC 2021 - War Stories: Fighting the PostreSQL Support Trenches by Hans Jurgen
2022-10-12PGConf NYC 2021 - Flexible Indexing with Postgres by Bruce Momjian
2022-10-12PGConf NYC 2021 - How PostgreSQL aggregates work and how to create and use custom... by David Kohn
2022-10-12PGConf NYC 2021 - A Deep Dive into PostgreSQL Indexing by Ibrar Ahmed
2022-10-12PGConf NYC 2021 - PostgreSQL sharding, state of the art by Julien Tachoires
2022-10-12PGConf NYC 2021 - Teaching elephants to fish by Ryan Booz
2022-10-12PGConf NYC 2021 - Migration validation made easy with Ora2Pg by Gilles Darold
2022-10-12PGConf NYC 2021 - Chasing unicorns : 0 dataloss and 99.999% availability by Laetitia Avrot
2022-10-12PGConf NYC 2021 - Evolution Of PostgreSQL Replication and High Availability... by Stacy Scoggins
2022-10-12PGConf NYC 2021 - Pglog: a flexible log analyser by Laetitia Avrot
2022-10-12PGConf NYC 2021 - When it all GOes right by Pavlo Golub
2022-10-12PGConf NYC 2021 - Data Security using Roles, Privileges and Row Level Security by Abbas Butt
2022-10-12PGConf NYC 2021 - Postgres and Json - How to get the best of them? by Charly Batista
2022-10-04EmberConf 2021 - Fun Fast Tools for Serious Work by Ed Faulkner
2022-10-04EmberConf 2021 - Fast-Track Ember with Fastboot + Embroider by Suchita Doshi and Thomas Wang
2022-10-04EmberConf 2021 - Modernizing a Massive Monolith by Aubrey Knudson
2022-10-04EmberConf 2021 - Ending the Plague of Memory Leaks by Steve Szczecina
2022-10-04EmberConf 2021 - Please wait… Oh, It Didn't Work! by Tobias Bieniek
2022-10-04EmberConf 2021 - Typed Ember extends Confidence by Krystan Huffmenne
2022-10-04EmberConf 2021 - Building a Realtime App with Firebase and Ember M3 by Chris Garrett



Tags:
PostgreSQL
PGConf
Postgres