Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory
Дата
Msg-id 20761.1399902121@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory  (Souquieres Adam <adam.souquieres@axege.com>)
Ответы Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory
Список pgsql-general
Souquieres Adam <adam.souquieres@axege.com> writes:
> ANALYSE VERBOSE; should use only one transaction or one transaction per
> table it analyse ?

ANALYZE is just a simple statement: it doesn't start or stop any
transactions.  So all the locks will be acquired in the calling
transaction.

You might be better off using VACUUM ANALYZE, which although it
does more work will divide the work into a transaction per table.

            regards, tom lane


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

Предыдущее
От: Souquieres Adam
Дата:
Сообщение: Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory
Следующее
От: Souquieres Adam
Дата:
Сообщение: Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory