Re: how to slow down parts of Pg

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: how to slow down parts of Pg
Дата
Msg-id d65819bc-75a6-171e-a434-0ab692af66f9@aklaver.com
обсуждение исходный текст
Ответ на Re: how to slow down parts of Pg  (Virendra Kumar <viru_7683@yahoo.com>)
Список pgsql-general
On 4/21/20 7:43 PM, Virendra Kumar wrote:
> Hi Adrian,
> 
> Here is test case, basically when autovacuum runs it did release the 
> space to disk since it had may be continuous blocks which can be 
> released to disk but the space used by index is still being held until I 
> ran the reindex on the table (I assume reindex for index would work as 
> well). Subsequent insert statement did not utilize the blocks in index 
> segment as we can see below so index bloats are still not addressed or 
> may be I am doing something wrong:
> 


Well I learned something. I replicated your commands on my 12 instance 
and got the exact same results. I should have read this:

https://www.postgresql.org/docs/12/routine-reindex.html

before.


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Kevin Brannen
Дата:
Сообщение: RE: how to slow down parts of Pg
Следующее
От: brajmohan saxena
Дата:
Сообщение: PG based ETL tools