medium10 pts · first answer countsindexingquery-tuning
Many rows removed by filter
A plan shows the line below. What is the best next step?
Index Scan using orders_tenant_idx on orders (actual rows=120 loops=1) Index Cond: (tenant_id = 7) Filter: (status = 'failed') Rows Removed by Filter: 49880
Discussion 0
Join free to post in the discussion.
Related questions
- When a B-tree index helpsDatabase Administrator
- Finding slow MySQL queriesDatabase Administrator
- Index on a yes/no columnDatabase Administrator
- How InnoDB stores table rowsDatabase Administrator
- What an InnoDB secondary index points toDatabase Administrator
- LIKE with a leading %Database Administrator
- What a hash index supportsDatabase Administrator
- Cost of extra indexes on insertsDatabase Administrator