Re: Simple DELETE on modest-size table runs 100% CPU forever

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: Simple DELETE on modest-size table runs 100% CPU forever
Дата
Msg-id CAHOFxGp6LW+Eh=kUXKYu6YtL7n6jRB7rs29F7pPhA2VKucxfMw@mail.gmail.com
обсуждение исходный текст
Ответ на Simple DELETE on modest-size table runs 100% CPU forever  (Craig James <cjames@emolecules.com>)
Список pgsql-performance
If I leave out the "analyze", here's what I get (note that the categories_staging_N table's name changes every time; it's
created on demand as "create table categories_staging_n(id integer)").

How/when are they created? In the same statement? After create, are you analyzing these tables? If not, the optimizer is blind and may be choosing a bad plan by chance.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Simple DELETE on modest-size table runs 100% CPU forever
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Simple DELETE on modest-size table runs 100% CPU forever