RE: How can i be certain autovacuum is causing reuse if table still grows

Поиск
Список
Период
Сортировка
От Sidney Aloisio Ferreira Pryor
Тема RE: How can i be certain autovacuum is causing reuse if table still grows
Дата
Msg-id CP2PR80MB07072BAFCF4B2824E8D567788C730@CP2PR80MB0707.lamprd80.prod.outlook.com
обсуждение исходный текст
Ответ на Re: How can i be certain autovacuum is causing reuse if table still grows  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: How can i be certain autovacuum is causing reuse if table still grows  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-admin
Thank you Ron.
Yes there is a column id in which value is provided by a sequence.

But it was not clear to me exactly how to partition?
The idea is to cover a limited range of "id" so there will be less lines to vacuum on each operation?

Because yet we will need eventually to vacuum all others.
All lines even old ones might be updated by our application.


De: Ron <ronljohnsonjr@gmail.com>
Enviado: terça-feira, 28 de julho de 2020 00:39
Para: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Assunto: Re: How can i be certain autovacuum is causing reuse if table still grows
 
On 7/27/20 5:19 PM, Keith Fiske wrote:
[snip]
> Also, I would not recommend partitioning simply to improve vacuuming.
> Especially if extensive tuning hasn't been tried first. Most times you can
> get per-table tuning working well enough to get autovacuum running
> properly. Especially on 9.6 and even more-so on PG11, where autovacuum has
> itself been improved.

SIMPLY to improve vacuum performance?  No.  But there are reasons that
partitioning was "invented", and minimizing the work needed to be done on
the whole of a Very Large and Rapidly Growing table is one of them.

--
Angular momentum makes the world go 'round.


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

Предыдущее
От: Ron
Дата:
Сообщение: Re: How can i be certain autovacuum is causing reuse if table still grows
Следующее
От: Ron
Дата:
Сообщение: Re: How can i be certain autovacuum is causing reuse if table still grows