Re: Vacuuming technique doubt

Поиск
Список
Период
Сортировка
От David Rees
Тема Re: Vacuuming technique doubt
Дата
Msg-id 72dbd3150906010545p42bfb46bhc35a121357d97b0a@mail.gmail.com
обсуждение исходный текст
Ответ на Vacuuming technique doubt  (S Arvind <arvindwill@gmail.com>)
Список pgsql-performance
On Sun, May 31, 2009 at 10:26 PM, S Arvind <arvindwill@gmail.com> wrote:
> Having a doubt, we want to vacuum and reindex some 50 most used tables daily
> on specific time. Is it best to have a function in postgres and call it in
> cron or is there any other good way to do the two process for specified
> tables at specified time?

Just write a SQL script with the appropriate commands and run it using
psql from cron.  Set up your .pgpass and/or pg_hba.conf as
appropriate.

-Dave

В списке pgsql-performance по дате отправления:

Предыдущее
От: Shaul Dar
Дата:
Сообщение: Postgresql cache (memory) performance + how to warm up the cache
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Postgresql cache (memory) performance + how to warm up the cache