Re: Run Vacuum Through JDBC

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Run Vacuum Through JDBC
Дата
Msg-id AANLkTilIv9L9KolOItSkYeEvA2rVPi2COy9WvaWrqsWb@mail.gmail.com
обсуждение исходный текст
Ответ на Run Vacuum Through JDBC  (Yan Cheng CHEOK <yccheok@yahoo.com>)
Список pgsql-general
On Mon, May 10, 2010 at 11:38 PM, Yan Cheng CHEOK <yccheok@yahoo.com> wrote:
> I was wondering, how can I check whether Vacuum operation had been executed without problem?
>
> I use the following Java code to execute Vacuum operation
>
> final Statement st2 = connection.createStatement();
> st2.executeUpdate("VACUUM FULL ANALYZE VERBOSE");
> st2.close();

On a side note, unless you have extenuating circumstances, vacuum is
preferred over vacuum full.  If you must run vacuum full, pay
attention to possible index bloating.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Moving postgresql data to another computer
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: Pulling data from a constraint def