| От | Joseph Shraibman |
|---|---|
| Тема | Re: Insert only tables and vacuum performance |
| Дата | |
| Msg-id | c6s2rk$1qgd$1@news.hub.org обсуждение |
| Ответ на | Insert only tables and vacuum performance (Joseph Shraibman <jks@selectacast.net>) |
| Ответы |
Re: Insert only tables and vacuum performance
|
| Список | pgsql-performance |
Joseph Shraibman wrote: > I have a table that is never updated, only INSERTED into. Is there a way > I can prevent vacuum wasting time on this table besides vacuuming each > table in the db by itself and omitting this table? > > How feasable would it be to have a marker somewhere in pg that is > "updated since last vacuum" that would be cleared when vacuum runs, and > if set vacuum will ignore that table? Or even better an offset into the datatable for the earliest deleted row, so if you have a table where you update the row shortly after insert and then never touch it vacuum can skip most of the table (inserts are done at the end of the table, right?)
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера