Req. for some help with temp tables

From: "Tharmarajah, Sam" <sambavan(dot)tharmarajah(at)usask(dot)ca>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Req. for some help with temp tables
Date: 2017-01-23 16:19:38
Message-ID: c138f0693f524e7db788d836036172f8@Mail02.usask.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi

We have a vendor delivered application running on postgres 9.1. It is creating temp tables per session. Currently the application group is reporting the that they are seeing a very slow response on the application in production and in the logs we see tons and tons of autovaccum of oraphan temp table cleanups. So we have the following questions.

1. How can we mitigate this performance degradation from the database side. The most interesting part is the application vendor doesn't seem to response in a timely manner. Also this application is connecting through glassfish.

2. What can we tune in the database to get this performance improve?

3. Every time the auto vacuum runs it pegs 1 CPU to 100%.

Please bear with these novice questions as I am very new to postgres...

Thanx,
Sam

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2017-01-24 09:12:06 Strange times in WAL files in archive directory (9.3)
Previous Message John Scalia 2017-01-20 16:18:07 Re: behavior of \dt and schemas