Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin
Date
Msg-id 421600FE.8090407@familyhealth.com.au
Whole thread Raw
In response to RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin  ("Rodrigo Moreno" <rodrigo.miguel@terra.com.br>)
List pgsql-performance
> this is only max 15 concurrent conections. And is not a heavy performance
> database, so i think this is not necessary vacumm more than once a day.
>
> In another customer, has only 5 users and the database have 300mb, small
> database, and has the same behaviour (haven't modified postgresql).
> My first instalation was not changed anything in postgresql.conf, but in
> this new server (FreeBSD) i have changed some parameters.
>
> as showed in my crontab list, i think this is enough:
> 00 13 * * 1-5 /bin/sh /home/postgres/backup.sh >/dev/null 2>&1
> 00 19 * * 1-5 /bin/sh /home/postgres/backup.sh >/dev/null 2>&1
> 00 23 * * 1-5 /usr/local/pgsql/bin/psql supre -c "vacuum analyze;"

We just told you - it's nowhere near enough.  Vacuum once an hour.  Size
of the database is not that relevant, its size of changes that is.

Chris

pgsql-performance by date:

Previous
From: "Rodrigo Moreno"
Date:
Subject: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin