Re: another autovacuum scheduling thread
| От | David Rowley |
|---|---|
| Тема | Re: another autovacuum scheduling thread |
| Дата | |
| Msg-id | CAApHDvp1=FOs6GneTzLSCHnCmC7z1_80=U3M=CKd82-pwS3YHg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: another autovacuum scheduling thread (Sami Imseih <samimseih@gmail.com>) |
| Ответы |
Re: another autovacuum scheduling thread
|
| Список | pgsql-hackers |
On Fri, 24 Oct 2025 at 09:48, Sami Imseih <samimseih@gmail.com> wrote: > Yes, in my last reply, I did indicate that the sort will likely not be > the operation that will tip the performance over, but the > catalog scan itself that I have seen not scale well as the number of > relations grow ( in cases of thousands or hundreds of thousands of tables). > If we are to prioritize vacuuming by M(XID), then it will be hard to avoid the > catalog scan anymore in a future improvement. I grant you that I could see that could be a problem for a sufficiently large number of tables and small enough autovacuum_naptime, but I don't see how anything being proposed here moves the goalposts on the requirements to scan pg_class. We at least need to get the relopts from somewhere, plus reltuples, relpages, relallfrozen. We can't magic those values out of thin air. So, since nothing is changing in regards to the scan of pg_class or which columns we need to look at in that table, I don't know why we'd consider it a topic to discuss on this thread. If this thread becomes a dumping ground for unrelated problems, then nothing will be done to fix the problem at hand. David
В списке pgsql-hackers по дате отправления: