3 ms·
I haven't found an explanation of when to use BRIN indexes that works with my brain. anyone have a good link?
by rjeli 9y ago
I haven't found an explanation of when to use BRIN indexes that works with my brain. anyone have a good link?
- Alex3917 9y agoFrom Wikipedia, it sounds like the time to use it is when: - You have enough a huge amount of data (hundreds of millions or more rows) - You want to index a column whose values are never changed, and are monotonically increasing (e.g. a created_at datetime field).
- _wmd 9y agoI wrote http://pythonsweetness.tumblr.com/post/119568339102/block-range-brin-indexes-in-postgresql-95 http://pythonsweetness.tumblr.com/post/119568339102/block-ra... because I had the same problem, maybe see if it works for you
- rjeli 9y agoAwesome, thank you