There's not enough information here to give any useful answer.
A replicatable test case would be nice, or at least show us the queriesthat are taking a long time and the table schemas they are working on.
regards, tom lane