Re: can't handle large number of INSERT/UPDATEs - Mailing list pgsql-performance

From Rod Taylor
Subject Re: can't handle large number of INSERT/UPDATEs
Date
Msg-id 1098739153.8557.333.camel@home
Whole thread Raw
In response to can't handle large number of INSERT/UPDATEs  ("Anjan Dave" <adave@vantage.com>)
List pgsql-performance
On Mon, 2004-10-25 at 16:53, Anjan Dave wrote:
> Hi,
>
>
>
> I am dealing with an app here that uses pg to handle a few thousand
> concurrent web users. It seems that under heavy load, the INSERT and
> UPDATE statements to one or two specific tables keep queuing up, to
> the count of 150+ (one table has about 432K rows, other has about
> 2.6Million rows), resulting in ‘wait’s for other queries, and then

This isn't an index issue, it's a locking issue. Sounds like you have a
bunch of inserts and updates hitting the same rows over and over again.

Eliminate that contention point, and you will have solved your problem.

Free free to describe the processes involved, and we can help you do
that.



pgsql-performance by date:

Previous
From: "Anjan Dave"
Date:
Subject: can't handle large number of INSERT/UPDATEs
Next
From: Dustin Sallings
Date:
Subject: Re: can't handle large number of INSERT/UPDATEs