Tech / Database

The latest from boringSQL | Supercharge your SQL & PostgreSQL powers, newest first. Visit the channel →

  1. 01
    ANALYZE on a mostly-NULL column
  2. 02
    Your biggest tenant runs someone else's plan
  3. 03
    B-tree pages, sorted and sparse
  4. 04
    Getting rid of a 4 TB table in PostgreSQL
  5. 05
    How TABLESAMPLE picks rows
  6. 06
    Postgres relation files, filed under base/
  7. 07
    What REPACK (CONCURRENTLY) costs while it runs
  8. 08
    Row locks at the page level
  9. 09
    The unbearable lightness of one more index
  10. 10
    Read your own writes, off the primary
  11. 11
    The curious case of Google's AlloyDB
  12. 12
    The DISTINCT in your COUNT
  13. 13
    PostgreSQL's MVCC is bad. So is everyone else's.
  14. 14
    The tests passed. The plan didn't.
  15. 15
    VACUUM at the Page Level
  16. 16
    Same rows, different SUM
  17. 17
    The NULL in your NOT IN
  18. 18
    pg_stat_statements: everything it can't
  19. 19
    pg_stat_statements: everything it tells you
  20. 20
    TOAST: Where PostgreSQL hides big values
  21. 21
    Welcome to ORDER BY jungle
  22. 22
    Strong views on PostgreSQL VIEWs
  23. 23
    HOT Updates in Postgres
  24. 24
    PostgreSQL MVCC, Byte by Byte
  25. 25
    Don't let AI touch your production database
  26. 26
    Good CTE, bad CTE
  27. 27
    pg_regresql: truly portable PostgreSQL statistics
  28. 28
    Production query plans without production data
  29. 29
    PostgreSQL Statistics: Why queries run slow
  30. 30
    Inside PostgreSQL's 8KB Page
  31. 31
    Reading Buffer statistics in EXPLAIN output
  32. 32
    Introduction to Buffers in PostgreSQL
  33. 33
    The hidden cost of PostgreSQL arrays
  34. 34
    Instant database clones with PostgreSQL 18
  35. 35
    VACUUM Is a Lie (About Your Indexes)
  36. 36
    RegreSQL: Regression Testing for PostgreSQL Queries
  37. 37
    Beyond Start and End: PostgreSQL Range Types
  38. 38
    PostgreSQL maintenance without superuser
  39. 39
    Beyond the Basics of Logical Replication
  40. 40
    First steps with Logical Replication in PostgreSQL
  41. 41
    PostgreSQL Service Connections
  42. 42
    Time to Better Know The Time in PostgreSQL
  43. 43
    VIEW inlining in PostgreSQL
  44. 44
    DELETEs are difficult
  45. 45
    Text identifiers in PostgreSQL database design
  46. 46
    We need to talk about ENUMs
  47. 47
    Beyond Simple Upserts with MERGE in PostgreSQL
  48. 48
    Gentle Introduction to Window Functions in PostgreSQL
  49. 49
    The time keepers: pg_cron and pg_timetable
  50. 50
    Deep Dive into PostgREST - Time Off Manager (Part 3)