~/talk

Debugging Databases for Developers

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [databases]
slides:none on file

A practical checklist for troubleshooting PostgreSQL for developers: inspect PostgreSQL logs (set log_line_prefix and log_min_duration_statement), verify connectivity with psql (check listen_addresses, pg_hba.conf, role LOGIN and reload config), confirm server process/state (systemctl or pg_ctl), check disk space and WAL/archive_command before deleting WAL files, enable pg_stat_statements to find expensive queries, and if a table is lost restore the backup to another host and extract rows with pg_dump/pg_restore instead of overwriting the cluster.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Where to find info
  3. 10:36Connection problems
  4. 21:27PostgreSQL won't start
  5. 24:01Disk space shortage
  6. 32:11Slow queries
  7. 41:29Missing object
  8. 43:17Safe practice
~/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.