The first thing that I tried was a full VACUUM ANALYZE and then re-ran the same query.  It didn&#x27;t help.  Therefore modifying autovacuum won&#x27;t help.<p>Adjusting internal costs is promising, but I&#x27;d like to avoid going there exactly because of the possible negative side effects that you mention.