From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Rodrigo Moreno <rodrigo.miguel@terra.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin
Date: Fri, 18 Feb 2005 14:51:42 +0000
Message-ID: <421600FE.8090407@familyhealth.com.au> (raw)
In-Reply-To: <KMEJIOKLKEBIECAIJKPKMENOCAAA.rodrigo.miguel@terra.com.br>
References: <KMEJIOKLKEBIECAIJKPKMENOCAAA.rodrigo.miguel@terra.com.br>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: chriskl@familyhealth.com.au, rodrigo.miguel@terra.com.br
Subject: Re: Degradation of postgres 7.4.5 on FreeBSD/CygWin
In-Reply-To: <421600FE.8090407@familyhealth.com.au>
References: <KMEJIOKLKEBIECAIJKPKMENOCAAA.rodrigo.miguel@terra.com.br> <421600FE.8090407@familyhealth.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox