There's not enough information here to give any useful answer. A replicatable test case would be nice, or at least show us the queries that are taking a long time and the table schemas they are working on. regards, tom lane
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных