Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin
Дата
Msg-id 421600FE.8090407@familyhealth.com.au
обсуждение исходный текст
Ответ на RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin  ("Rodrigo Moreno" <rodrigo.miguel@terra.com.br>)
Список 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 по дате отправления:

Предыдущее
От: "Rodrigo Moreno"
Дата:
Сообщение: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin