Re: Speed problems - Mailing list pgsql-general

From John Fabiani
Subject Re: Speed problems
Date
Msg-id 200509141906.20115.jfabiani@yolo.com
Whole thread Raw
In response to Re: Speed problems  (Scott Marlowe <smarlowe@g2switchworks.com>)
Responses Re: Speed problems
List pgsql-general
On Wednesday 14 September 2005 08:23, Scott Marlowe wrote:

> OK.  But how many are you updating between regular vacuums?  That's the
> real issue.  If your regular vacuums aren't often enough, postgresql
> starts lengthening the tables instead of reusing the space in them that
> was freed by the last updates / deletes.
>
> Keep in mind, that in postgresql, all updates are really insert / delete
> pairs, as far as storage is concerned.  So, updates create dead tuples
> just like deletes would.
>
> > Is my use of indexes correct?
>
> Seems good to me.

Ok but this does seem to be a not a lot of records.  Even if the user updated
500 times a day (500 * 200) will only add 100000 records.  I would not expect
that performance would suffer adding 100000 per day for at least a week.
Even if the number was double (in case I mis-read the user prior emails)
200000 or 1000000 at the end of the week would not account for the slow down?
Or am I miss reading?
John

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Partial dates
Next
From: Tom Lane
Date:
Subject: Re: Howto create a plperlu function as user (not superuser)??