From: | Cosimo Streppone <cosimo(at)streppone(dot)it> |
---|---|
To: | Mindaugas Riauba <mind(at)bi(dot)lt> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: PostgreSQL strugling during high load |
Date: | 2005-05-13 15:23:13 |
Message-ID: | 4284C661.4050406@streppone.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Mindaugas Riauba wrote:
>>The "vacuum cost" parameters can be adjusted to make vacuums fired
>>by pg_autovacuum less of a burden. I haven't got any specific numbers
>>to suggest, but perhaps someone else does.
>
> It looks like that not only vacuum causes our problems. vacuum_cost
> seems to lower vacuum impact but we are still noticing slow queries "storm".
> We are logging queries that takes >2000ms to process.
> And there is quiet periods and then suddenly 30+ slow queries appears in
> log within the same second. What else could cause such behaviour?
I've seen that happen when you're placing (explicitly or
*implicitly*) locks on the records you're trying to update/delete.
If you're willing to investigate, `pg_locks' system view holds
information about db locks.
--
Cosimo
From | Date | Subject | |
---|---|---|---|
Next Message | Mindaugas Riauba | 2005-05-13 15:41:43 | Re: PostgreSQL strugling during high load |
Previous Message | Mindaugas Riauba | 2005-05-13 14:45:45 | Re: PostgreSQL strugling during high load |