pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedrunning vacuumlo periodically?
2+ messages / 2 participants
[nested] [flat]
* running vacuumlo periodically?
@ 2021-01-28 13:18 Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2021-01-28 16:39 ` Re: running vacuumlo periodically? Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 2+ messages in thread
From: Zwettler Markus (OIZ) @ 2021-01-28 13:18 UTC (permalink / raw)
To: pgsql-general
Short question. Is it recommended - or even best practice - to run vacuumlo periodically as a routine maintenance task?
We don't do it. I think if this would be recommended it would have been implemented as an autotask like autovacuum. No?
Thanks, Markus
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: running vacuumlo periodically?
2021-01-28 13:18 running vacuumlo periodically? Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
@ 2021-01-28 16:39 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2021-01-28 16:39 UTC (permalink / raw)
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; pgsql-general
On Thu, 2021-01-28 at 13:18 +0000, Zwettler Markus (OIZ) wrote:
> Short question. Is it recommended - or even best practice – to run vacuumlo periodically as a routine maintenance task?
>
> We don't do it. I think if this would be recommended it would have been implemented as an autotask like autovacuum. No?
It is recommended to run it regularly if
- you are using large objects
- you don't have a trigger in place that deletes large objects that you don't
need any more
Only a small minority of people do that, so it wouldn't make sense
to automatically run that on all databases.
Avoid large objects if you can.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-01-28 16:39 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 13:18 running vacuumlo periodically? Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2021-01-28 16:39 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox