PostgreSQL - Performance Tuning
You wrote this query:
But EXPLAIN shows a sequential scan instead of an index scan. What could be the reason?
SELECT * FROM orders WHERE customer_id = 123;But EXPLAIN shows a sequential scan instead of an index scan. What could be the reason?
