~/talk

B-tree Indexes in Databases Illustrated by IndexedDB and PostgreSQL

TalkinRussianat HolyJS 2023 Spring · 2023-05-15..05-22· [databases, web-platform]
links:none on file
slides:none on file

Explains how B-tree indexes speed up database queries using IndexedDB and PostgreSQL. Covers when to index WHERE, ORDER BY, and foreign key columns; how to handle multiple search criteria and choose column order in composite indexes; and situations where indexes hurt performance plus mitigation strategies.

AI-written summary · about

  1. 0:00Introduction
  2. 3:30Database indexes
  3. 7:03B-trees foundation
  4. 10:14B-tree page splits
  5. 13:10Query plans with EXPLAIN
  6. 17:28Memory vs disk
  7. 19:37Optimize with indexes
  8. 22:50Composite indexes
  9. 28:16B-tree insertions
  10. 31:30Insertion order impact
  11. 34:44Deletion and garbage
  12. 37:37Row updates
  13. 40:12Index tips
  14. 44:17Summary
  15. 45:02Q&A
~/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.