От: Tom Lane
Тема: Re: Vacuum looping?
Дата: ,
Msg-id: 8112.1185633427@sss.pgh.pa.us
(см: обсуждение, исходный текст)
Ответ на: Vacuum looping?  ("Steven Flatt")
Список: pgsql-performance

Скрыть дерево обсуждения

Vacuum looping?  ("Steven Flatt", )
 Re: Vacuum looping?  (Tom Lane, )
 Re: Vacuum looping?  ("Jim C. Nasby", )
  Re: Vacuum looping?  ("Steven Flatt", )
   Re: Vacuum looping?  (Decibel!, )

"Steven Flatt" <> writes:
> The vacuum then just sat there.  What I can't understand is why it went back
> for a second pass of the pkey index?  There was nothing writing to the table
> once the vacuum began.  Is this behaviour expected?

Yes (hint: the numbers tell me what your maintenance_work_mem setting is).
You should have left it alone, probably, though there seems to be
something funny about your foo_1 index --- why was that so much slower
than the others for the first pass?

            regards, tom lane

В списке pgsql-performance по дате сообщения:

От: "Bruno Rodrigues Siqueira"
Сообщение: RES: select on 1milion register = 6s
От: andrew@pillette.com
Сообщение: Re: Slow query with backwards index scan