From: | Sidney Aloisio Ferreira Pryor <sidney(at)tjrj(dot)jus(dot)br> |
---|---|
To: | Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | RE: How can i be certain autovacuum is causing reuse if table still grows |
Date: | 2020-07-27 21:38:41 |
Message-ID: | CP2PR80MB07071E099387E61C92489A018C720@CP2PR80MB0707.lamprd80.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Thank you Ron but this table has no date column.
It has one line for each page of each scanned document.
________________________________
De: Ron <ronljohnsonjr(at)gmail(dot)com>
Enviado: segunda-feira, 27 de julho de 2020 18:27
Para: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Assunto: Re: How can i be certain autovacuum is causing reuse if table still grows
Another suggestion is to partition the table by a chronological key, so that only a fraction of the table needs to be vacuumed.
On 7/27/20 3:36 PM, Sidney Aloisio Ferreira Pryor wrote:
Thank you, David.
So can i assume that autovacuum only release dead tuples when it ends its execution?
Autovacuum is not finishing and is running for days.
We did not find a parameter to limit autovacuum executing time.
Do you have any recomendation?
Thank you.
Sidney.
________________________________
De: David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com><mailto:david(dot)g(dot)johnston(at)gmail(dot)com>
Enviado: segunda-feira, 27 de julho de 2020 17:17
Para: Sidney Aloisio Ferreira Pryor <sidney(at)tjrj(dot)jus(dot)br><mailto:sidney(at)tjrj(dot)jus(dot)br>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org<mailto:pgsql-admin(at)lists(dot)postgresql(dot)org> <pgsql-admin(at)lists(dot)postgresql(dot)org><mailto:pgsql-admin(at)lists(dot)postgresql(dot)org>
Assunto: Re: How can i be certain autovacuum is causing reuse if table still grows
On Monday, July 27, 2020, Sidney Aloisio Ferreira Pryor <sidney(at)tjrj(dot)jus(dot)br<mailto:sidney(at)tjrj(dot)jus(dot)br>> wrote:
Hi, we have a 9.6.5 postgres
Autovacuum is set with default parameters and is running on this table for days without naping or stopping.
3285 | -5 days -23:33:10.792166 | postgres | autovacuum: VACUUM ANALYZE public.flip_pagina_edicao (to prevent wraparound)
(1 rows)
Its probably best avoid drawing conclusions here until the anti-wraparound vacuum has completed and you’ve updated to the latest minor version of PostgreSQL.
David J.
--
Angular momentum makes the world go 'round.
From | Date | Subject | |
---|---|---|---|
Next Message | Keith Fiske | 2020-07-27 22:19:11 | Re: How can i be certain autovacuum is causing reuse if table still grows |
Previous Message | Sidney Aloisio Ferreira Pryor | 2020-07-27 21:35:48 | RE: How can i be certain autovacuum is causing reuse if table still grows |