medium10 pts · first answer countsindexingpostgresql
Indexing only pending rows
A 200 million row jobs table has only a few thousand rows with status = 'pending', and workers always query those. Which index is the best fit?
A 200 million row jobs table has only a few thousand rows with status = 'pending', and workers always query those. Which index is the best fit?