Re: [HACKERS] Re: vacuum timings
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Re: vacuum timings |
Дата | |
Msg-id | 200001211954.OAA15772@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Re: vacuum timings (Dmitry Samersoff <dms@wplus.net>) |
Ответы |
Re: [HACKERS] Re: vacuum timings
|
Список | pgsql-hackers |
[Charset koi8-r unsupported, filtering to ASCII...] > Tom Lane wrote: > > > > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > > Conclusions: > > > o indexes never get smaller > > > > Which we knew... > > > > > o drop/recreate index is slower than vacuum of indexes > > > > Quite a few people have reported finding the opposite in practice. > > I'm one of them. On 1,5 GB table with three indices it about twice > slowly. > Probably becouse vacuuming indices brakes system cache policy. > (FreeBSD 3.3) OK, we are researching what things can be done to improve this. We are toying with: lock table for less duration, or read lockcreating another copy of heap/indexes, and rename() over old filesimproving heapvacuum speedimproving index vacuum speedmoving analyze out of vacuum -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: