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
Ответ на
Список
Дерево обсуждения
Degradation of postgres 7.4.5 on FreeBSD/CygWin "Rodrigo Moreno" <rodrigo.miguel@terra.com.br>
Re: Degradation of postgres 7.4.5 on FreeBSD/CygWin Tom Lane <tgl@sss.pgh.pa.us>
Re: Degradation of postgres 7.4.5 on FreeBSD/CygWin "Steinar H. Gunderson" <sgunderson@bigfoot.com>
RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin "Rodrigo Moreno" <rodrigo.miguel@terra.com.br>
Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin Tom Lane <tgl@sss.pgh.pa.us>
RES: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin "Rodrigo Moreno" <rodrigo.miguel@terra.com.br>
Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin Christopher Kings-Lynne <chriskl@familyhealth.com.au>
RES: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin "Rodrigo Moreno" <rodrigo.miguel@terra.com.br>
Re: Degradation of postgres 7.4.5 on FreeBSD/CygWin "Steinar H. Gunderson" <sgunderson@bigfoot.com>
> 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
Дата:
От: Christopher Kings-Lynne
Дата:
FAQ