Re: Performance issue - Mailing list pgsql-performance

From Rod Taylor
Subject Re: Performance issue
Date
Msg-id 1064428549.20881.20.camel@jester
Whole thread Raw
In response to Performance issue  (peter <pmcgregor@advso.com>)
List pgsql-performance
> 20,000 items            Takes on average 0.078seconds/room
> 385,000 items          Takes on average .11seconds/room
> 690,000 items          takes on average .270seconds/room
> 1,028,000 items       Takes on average .475seconds/room
>
> As can be seen the time taken to process each room increases. A commit
> occurs when a room has been copied.

It probably isn't the insert that is getting slower, but a select.
Foreign keys to growing tables will exhibit this behaviour.

Since the time is doubling with the number of items, you might want to
check for a SELECT working with a sequential scan rather than an index
scan.

Attachment

pgsql-performance by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Performance issue
Next
From: Robert Treat
Date:
Subject: upping checkpoints on production server