Re: vacuum full for all databases

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: vacuum full for all databases
Дата
Msg-id Pine.GSO.4.58.0409021437570.13321@ra.sai.msu.su
обсуждение исходный текст
Ответ на Re: vacuum full for all databases  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
On Thu, 2 Sep 2004, Richard Huxton wrote:

> Ilia Chipitsine wrote:
> > Dear Sirs
> >
> > I'm about to write plpgsql function which will "vacuum full" all existing
> > databases. Below is an example how to get list of databases.
> >
> > What should I write instead of "raise notice" ?
>
> >   raise notice ''datname = %'',list.datname;
>
> Something like:
>    EXECUTE ''VACUUM FULL '' || list.datname;
>
>

vacuumdb --all



    Regards,
        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

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

Предыдущее
От: Ulrich Wisser
Дата:
Сообщение: Foreign key locks
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: Understanding pg_autovacuum CPU Usage