Postgresql – why index only scan is too costly?
I have this for query for a table of a size of 2 700 000 rows in Heroku Postgres 12.16: SELECT 1 AS one FROM "users" WHERE ( external_id = 18 AND (email = '[email protected]' OR uuid = '779c7963-67b2-43ea-b19b-028759a146dc')) LIMIT…