~/talk

From Elephant (PostgreSQL) to Fly (Bugs): Monitoring, Analyzing and Optimizing SQL Queries

TalkinRussianat CodeFest 11 · 2021-05-29..05-30· [databases, observability]
links:none on file
slides:none on file

Practical case study of diagnosing and speeding up a PostgreSQL-based system using a monitoring stack built from Telegraf, InfluxDB and Grafana to collect per-minute (or per-second) SQL statistics without modifying PostgreSQL and working in an isolated network under heavy load. Describes two approaches to gathering and visualizing query statistics (including detailed logging that captures parameter values), alternative approaches that failed, inspiration from other solutions, and lessons from a three-month bug-fixing effort that improved performance.

AI-written summary · about

  1. 0:00Monitoring SQL
  2. 6:31Bugs to elephants
  3. 12:45Performance metrics
  4. 20:29Long transactions
  5. 23:45Connection pool issues
  6. 26:11Index optimization
  7. 27:56Query optimization steps
  8. 33:19Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.