~/talk

Pglog: a flexible log analyser

Talkat PGConf NYC 2021 · 2021-12-02..12-03· [databases]
links:none on file
slides:none on file

Shows how to import CSV-format PostgreSQL logs into a local Postgres instance, using Postgres on laptop and a file_fdw/materialized views option; ships ready SQL reports for autovacuum, slow queries, checkpoints, temp files and errors; creates a partitioned PG log table plus views that let SQL pinpoint surprising hotspots (top-5 bloated tables, 80th-percentile temp-file sizes) and exclude outliers; runs in Docker for offline analysis and explicitly warns against use in production.

AI-written summary · about

  1. 0:00Introduction
  2. 2:37Why create PGLog
  3. 5:51PGLog and PostgreSQL
  4. 9:05Installation
  5. 12:39Configuring PostgreSQL log settings
  6. 16:37PGLog table setup
  7. 19:51Standard reports
  8. 24:53Checkpoint stats
  9. 26:20Temp file report
  10. 29:12Slow queries insights
  11. 31:22Custom SQL analysis
  12. 33:31Getting started
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.