~/talk

B-Tree Indexes in Databases Illustrated with Spring Boot, PostgreSQL and JPA

TalkinRussianat JPoint 2023 · 2023-04-12..04-19· [databases, java]
links:none on file
slides:none on file

Explains how standard B-tree indexes in PostgreSQL speed up queries and when to use them in Spring Boot / JPA applications. Covers indexing for WHERE, ORDER BY, and foreign keys, how to handle multiple search criteria and column order in composite indexes, and cases where indexes can slow performance and how to mitigate that impact.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why indexes
  3. 7:54B-tree structure and pages
  4. 14:58Searching and balancing in B-tree
  5. 20:43Access speed and random reads
  6. 23:14Range search and optimization
  7. 27:07Unique and random ID problems
  8. 31:28Deletion and garbage in indexes
  9. 34:15Updating data and indexes
  10. 36:25Composite indexes and optimization
  11. 39:16When to create indexes
  12. 40: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.