From: | Decibel! <decibel(at)decibel(dot)org> |
---|---|
To: | Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: strange pauses |
Date: | 2008-01-21 19:29:52 |
Message-ID: | 58CD6D25-52EB-4BA1-8ECD-44A0DD3C784A@decibel.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Jan 21, 2008, at 1:58 AM, Adrian Moisey wrote:
>> Perhaps, if you want to avoid I/O caused by temp tables (but it's
>> not at
>> checkpoint time, so perhaps this has nothing to do with your
>> problem),
>> you could try raising temp_buffers.
>
> How can I find out if temp_buffers is being exceeded ?
You could monitor the pgsql_tmp directory under the appropriate
database directory ($PGDATA/base/oid_number_of_the_database). You
could also see how many pages temporary objects in that connection
are using; you'd have to find the temp schema that your session is
using (\dn pg_temp* from psql), and then
SELECT sum(relpages) FROM pg_class c JOIN pg_namespace n ON
(c.relnamespace=n.oid) AND n.nspname='pg_temp_blah';
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828
From | Date | Subject | |
---|---|---|---|
Next Message | Hannes Dorbath | 2008-01-21 21:55:16 | 8.3 synchronous_commit |
Previous Message | Pavel Stehule | 2008-01-21 18:04:33 | Re: Slow performance with left outer join |