BRIN indexes
Block range indexes storing per-range summaries, with minmax, inclusion, minmax-multi and bloom opclasses and autosummarize. Introduced in PostgreSQL 9.5.
Versions
- PostgreSQL 17 · shipped · improved · moderate · 7 commits · +758 / -69 lines
- PostgreSQL 16 · worked-on · improved · major
Threads
- BRIN may be missing HOT-updated rows on old snapshots
- BUG #19938: BRIN index on box silently drops ordinary matching rows when a NaN box shares the same page range
- BUG #19909: BRIN redo: BufferIsPinned assert in brin_xlog_insert_update() if index was dropped or truncated
- Fix BRIN numeric_minmax_multi_ops out of range value range merging
- Re: BUG #19705: One NaN box makes a BRIN box_inclusion_ops index omit unrelated rows
- BUG #19705: One NaN box makes a BRIN box_inclusion_ops index omit unrelated rows
- Correction to comment of brin_range_deserialize
- BRIN autosummarization lacking a snapshot
- BRIN: Prevent the heapblk overflow during index summarization on very large tables resulting in an infinite loop
- Bug in brin_minmax_multi_distance_numeric()
- IndexAmRoutine aminsertcleanup function can be NULL?
- Fix typo in commens on ExecInsertIndexTuples
- LWLock deadlock in brinRevmapDesummarizeRange
- BUG #18855: Using BRIN index with int8_bloom_ops produces incorrect results
- BRIN index creation on geometry column causes crash
- Possible integer overflow in bringetbitmap()
- Fix for pageinspect bug in PG 17
- BUG #18705: Segmentation fault when create brin index on user-defined type.
- Segmentation fault - PostgreSQL 17.0
- brininsert optimization opportunity
- [PATCH] updates to docs about HOT updates for BRIN
- BUG #18353: PG16.2 release note doc bug in "In contrib/bloom, fix overly tight assertion ..."
- PATCH: Using BRIN indexes for sorted output
- BRIN indexes vs. SK_SEARCHARRAY (and preprocessing scan keys)
- pg_class.reltuples of brin indexes
- BUG #17969: Assert failed in bloom_init() when false_positive_rate = 0.25
- BRIN minmax multi - incorrect distance for infinite timestamp/date
- pgsql: Ignore BRIN indexes when checking for HOT udpates
- RelationGetIndexAttrBitmap comment outdated
- HOT readme missing documentation on summarizing index handling
- Missing update of all_hasnulls in BRIN opclasses
- Ignoring BRIN for HOT udpates seems broken
- BUG #17774: Assert triggered on brin_minmax_multi.c
- Bug in processing conditions on multi-column BRIN indexes
- Crash in BRIN minmax-multi indexes
- PATCH: AM-specific statistics, with an example implementation for BRIN (WIP)
- pgsql: BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking
- [PATCH] BUG FIX: redo will abort, due to inconsistent page found in BRIN_REGULAR_PAGE
- doc: BRIN indexes and autosummarize
- document that brin's autosummarize parameter is off by default
- A spot of redundant initialization of brin memtuple
- [PATCH] Don't block HOT update by BRIN index
- error_severity of brin work item
- [sqlsmith] Failed assertion in brin_minmax_multi_distance_float4 on REL_14_STABLE
- BUG #17205: pg_class.reltuples vakue wrong for brin indexes after vacuum (by many orders of magnitude)
- brin multi minmax crash for inet value
- Commit ab596105b55 - BRIN minmax-multi indexes
- maximum columns for brin bloom indexes
- WIP: BRIN multi-range indexes
- Yet another (minor) fix in BRIN
- Fix brin_form_tuple to properly detoast data
- [BUG] Error in BRIN summarization
- Intermittent BRIN failures on hyrax and lousyjack
- BUG #16527: Valgrind detects an invalid read in brin_revmap_data with non-index page
- Please add a link to [BRIN] physical block ranges of a table
- Crash in BRIN summarization
- Hypothetical indexes using BRIN broken since pg10
- Index maintenance function for BRIN doesn't check RecoveryInProgress()
- BRIN FSM vacuuming questions
- bugfifx: a minor mistake in brin_inclusion.c comment
- Failed to request an autovacuum work-item in silence
- PANIC: invalid index offnum: 186 when processing BRIN indexes in VACUUM
- SIGSEGV in BRIN autosummarize
- WIP: BRIN bloom indexes
- Segmentation fault when creating a BRIN, 10beta1
- BUG #14668: BRIN open autosummarize=on , database will crash
- brin autosummarization -- autovacuum "work items"
- Minmax indexes