Am 23.04.20 um 12:30 schrieb Stefan Knecht:
> There's no question that this is more expensive than just reading the
> 95 rows from the index directly and returning them
not sure, you can play with
enable_seqscan = off
and compare the costs. What is the setting for random_page_cost ?
Regards, Andreas
--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com