Re: slow DELETE on 12 M row table

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: slow DELETE on 12 M row table
Дата
Msg-id dcc563d10907021721q675309e0w1173d9d6c620e069@mail.gmail.com
обсуждение исходный текст
Ответ на Re: slow DELETE on 12 M row table  (Janet Jacobsen <jsjacobsen@lbl.gov>)
Список pgsql-performance
On Fri, Jun 26, 2009 at 1:34 AM, Janet Jacobsen<jsjacobsen@lbl.gov> wrote:
> Thank you for the answers.  Very helpful.
>
> Between the time that I sent my original post and saw your reply,
> I tried to drop a couple of foreign key constraints.  The alter
> table statements also showed up as "waiting" when I ran ps aux.
>
> I took your suggestion to run pg_locks and pg_stat_activity.
> pg_stat_activity showed that I had three statements that were
> waiting, and that there was one user whose query was given
> as "<insufficient privilege>".  I killed the process associated
> with that user, and my three waiting statements executed
> immediately.

FYI, that means you, the user, don't have sufficient privileges to
view their query.

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

Предыдущее
От: Janet Jacobsen
Дата:
Сообщение: Re: slow DELETE on 12 M row table
Следующее
От: Sergei Politov
Дата:
Сообщение: Most effective insert or replace