| От | Justin Pryzby |
|---|---|
| Тема | Re: autovacuum doesnt run on the pg_toast_id table |
| Дата | |
| Msg-id | 20190117174651.GC18438@telsasoft.com обсуждение исходный текст |
| Ответ на | autovacuum doesnt run on the pg_toast_id table (Mariel Cherkassky <mariel.cherkassky@gmail.com>) |
| Список | pgsql-performance |
On Thu, Jan 17, 2019 at 07:28:52PM +0200, Mariel Cherkassky wrote: ... > Now, I realized from the autovacuum > logging, that when autovacuum runs on the original table (A) it doesn't > necessary run on the toasted table and this is very weird. ... > Any idea why the autovacuum doesnt vacuum both tables ? It *does* vacuum both, just not *necessarily*, as you saw. The toast is a separate table, so it's tracked separately. Note that: |If a table parameter value is set and the |equivalent <literal>toast.</literal> parameter is not, the TOAST table |will use the table's parameter value. You could look in pg_stat_all_tables, to see how frequently the toast is being autovacuumed relative to its table. Justin
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера