Re: VACUUM vs VACUUM FULL (was: SELECT * FROM huge_table LIMIT 10; Why does it take more than 10 min to complete, with cold caches)

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: VACUUM vs VACUUM FULL (was: SELECT * FROM huge_table LIMIT 10; Why does it take more than 10 min to complete, with cold caches)
Дата
Msg-id 01D1B408-EADC-41C7-A695-7C84F649F702@thebuild.com
обсуждение исходный текст
Ответ на Re: VACUUM vs VACUUM FULL (was: SELECT * FROM huge_table LIMIT 10; Why does it take more than 10 min to complete, with cold caches)  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: VACUUM vs VACUUM FULL (was: SELECT * FROM huge_table LIMIT 10; Why does it take more than 10 min to complete, with cold caches)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

> On Feb 1, 2023, at 10:45, David G. Johnston <david.g.johnston@gmail.com> wrote:
> The system just isn't that intelligent for "sequential scan", instead it does literally what the label says, goes
throughthe table one page at a time and returns any live rows it finds.  

Although this does raise a question: Couldn't it skip pages that are marked appropriately in the visibility map?


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: VACUUM vs VACUUM FULL (was: SELECT * FROM huge_table LIMIT 10; Why does it take more than 10 min to complete, with cold caches)
Следующее
От: Kirk Wolak
Дата:
Сообщение: Re: Sequence vs UUID