Re: [HACKERS] Re: [PORTS] vacuum takes too long

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: [PORTS] vacuum takes too long
Дата
Msg-id 199901071749.MAA07078@candle.pha.pa.us
обсуждение исходный текст
Ответ на RE: [HACKERS] Re: [PORTS] vacuum takes too long  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
Ответы Re: [HACKERS] Re: [PORTS] vacuum takes too long  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
> With MVCC an occasional 'vacuum analyze' should only be noticed from the
> performance improvements.  As far as I can tell most of the work done by
> an analyze is in reading the table data.  If you make sure to write the
> new information at the end of the transaction you only lock the indexes
> for the amount of time it takes to write them.
>
> I see a 'vacuum analyze' being less of a problem than 'vacuum'.
> Any of you experts can contradict my assumptions.

The problem is that vacuum analyze does both vacuum and analyze.
Analyze takes so long, we figured we might as well vacuum too.  Maybe we
need to change that.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [HACKERS] Re: [PORTS] vacuum takes too long
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Outer Joins (and need CASE help)