BRIN Index: How It Works and Possible Uses
summary
Introduces PostgreSQL BRIN (Block Range INdex) indexes added in version 9.5 and explains how they work and their specific behaviors. Describes when BRIN is useful—large-volume tables with strong correlation between row values and physical location—and derives practical use cases from those implementation details.
AI-written summary · about
chapters (16)
- 0:00BRIN indexes intro
- 1:53What is an index
- 3:59PostgreSQL index types
- 5:04BRIN concept and benefits
- 7:12How BRIN works
- 9:41BRIN performance example
- 11:35Range size impact
- 13:04BRIN supported types
- 14:32Correlation and efficiency
- 16:20BRIN uses and limits
- 17:21Time series with BRIN
- 19:52BRIN maintenance
- 21:18BRIN vs B-tree reads
- 23:23BRIN write performance
- 24:25When to use BRIN
- 27:57Q&A
