Re: Perfomance decreasing

From: wsheldah(at)lexmark(dot)com
To: Erwin Lansing <erwin(at)lansing(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Perfomance decreasing
Date: 2001-08-20 18:41:05
Message-ID: 200108201841.OAA15787@interlock2.lexmark.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does it help if you drop and recreate the indexes, in addition to the vacuuming
you're doing now? I think this was suggested not long ago on this list.

Erwin Lansing <erwin%lansing(dot)dk(at)interlock(dot)lexmark(dot)com> on 08/14/2001 04:38:59 AM

To: pgsql-general%postgresql(dot)org(at)interlock(dot)lexmark(dot)com
cc: (bcc: Wesley Sheldahl/Lex/Lexmark)
Subject: Re: [GENERAL] Perfomance decreasing

On Tue, Aug 14, 2001 at 02:06:40PM +0600, Alexander Loginov wrote:
> Hello.
>
> I have a question about perfomance.
> I'm running PostgreSQL 7.1.2 at FreeBSD 4.3.
>
> For the first 1-2 days of running perfomance is excellent. But
> after that, speed began to decrease. And after a week of
> operation, perfomance falls 8-10 times, than at first day of
> using.
>
> I'm doing vacuum periodically (once a hour), but perfomance
> still falls down.
>
> After that I dump database as text file, make dropdb & createdb
> and after that, restore database from dump -> Perfomance is
> excellent again (for 1-2 days).
>
> Why this situation occures? May be I must use "VACUUM ANALYSE"
> instead of VACUUM?
>

I have actually the same problem, also FreeBSD 4.3, pgsql 7.1.2. I do
use VACUUM ANALYSE quite often. The problem in the end gets that bad
that perl-jobs cannot perform any SELECTs, or at least they stop
returning results before dbi times out. So far I have tracked the
problem down to the size of the database in the filesystem, where
problems start occurring when it exceeds 1,4 Gb. A
dump/drop/create/restore reduces files size to approx. 350 Mb.

Any pointers would be helpful as a weekly dump/restore is not quite
optimal :)

/erwin

--
Erwin Lansing -- http://droso.org
"You've got mail"

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis Perchine 2001-08-20 18:56:35 Re: Re: Perfomance decreasing
Previous Message Einar Karttunen 2001-08-20 18:24:56 Re: Re: Perfomance decreasing