I have several statements that access very large Postgresql tables, i.e. with:
SELECT a.id FROM a WHERE a.id IN ( SELECT b.id FROM b );
SELECT a.id FROM a WHERE a.id NOT IN ( SELECT b.id FROM b );
Some of them even get access to even more tables. What is the best approach to increasing productivity, should you switch, for example, to connections?
Many thanks!
source
share