BRIN
BRIN stores just a min and max per block range, so it is tiny. It works when the column follows the physical row order, as readings.ts does.
task
Make a one-day time range scan of readings use a BRIN index.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
BRIN stores just a min and max per block range, so it is tiny. It works when the column follows the physical row order, as readings.ts does.
Make a one-day time range scan of readings use a BRIN index.