"Shoaib Mir" <shoaibmir@xxxxxxxxx> writes: > Here are my few recommendations that might help you: > [ snip good advice ] Another thing to look at is whether you are doing inserts/updates as individual transactions, and if so see if you can "batch" them to reduce the per-transaction overhead. regards, tom lane