Skip to content
Opensource internals
  • Posts

Sort

PostgreSQL Sorts Rows Fast

Jul 25, 2026 45 min read Jay Hubbert

Every ORDER BY is three problems wearing a trench coat. The first is a memory problem: a million rows of text will not fit in work_mem, and when they don’t fit, you are in the …

PostgresPerformanceSortInternals

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·