
An index scan is not always faster than a sequential scan. If your query fetches 80% of a PostgreSQL table, traversing the B-Tree and then fetching the heap pages causes random I/O. The query planner knows a sequential scan is cheaper. Know your engine. #PostgreSQL #Database
English

























