Re: [GENERAL] Detailed progress reporting for "vacuuming indexes" stage
От | Simon Riggs |
---|---|
Тема | Re: [GENERAL] Detailed progress reporting for "vacuuming indexes" stage |
Дата | |
Msg-id | CANP8+j+DKzAZs17OPNs6Q+1Q9VPhhdC6uNpAcvC7iSaLd--O_A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] Detailed progress reporting for "vacuuming indexes" stage (Michael Paquier <michael.paquier@gmail.com>) |
Список | pgsql-general |
On 24 January 2017 at 06:57, Michael Paquier <michael.paquier@gmail.com> wrote: > On Mon, Jan 23, 2017 at 8:32 PM, Alexander Shchapov > <alexanderad@gmail.com> wrote: >> There are 7 stages for standard VACUUM process which is reportable via >> this view. For time consuming stages like "scanning heap" or >> "vacuuming heap" you are able to get stage progress idea by doing: >> >> (heap_blks_scanned | heap_blks_vacuumed) / heap_blks_total * 100% >> >> However stage "vacuuming indexes" does not give any idea of how long >> this stage might take. We have some rather big (500M+ records) with >> 5-7 indexes. Sometimes it takes us 20 hours+ to get table vacuumed and >> all progress reporting we have for stage 3 is that it is stage 3. > > Yes, things could be improved here. Yes, it seems that VACUUM progress reporting feature is only about 40% complete. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-general по дате отправления: