Yes! That was it, after running
VACUUM TABLE history_translation
, the query is now executed using index-only scan.
I was under the impression that
ANALYZE TABLE history_translation
is enough, but it is not.
Thank you very much.
Sent from the
PostgreSQL - general mailing list archive at Nabble.com.