| От | Tom Lane |
|---|---|
| Тема | Re: how to shrink pg_attribute table in some database |
| Дата | |
| Msg-id | 28175.1522079181@sss.pgh.pa.us обсуждение |
| Ответ на | Re: how to shrink pg_attribute table in some database (Artem Tomyuk <admin@leboutique.com>) |
| Ответы |
Re: how to shrink pg_attribute table in some database
|
| Список | pgsql-admin |
Artem Tomyuk <admin@leboutique.com> writes:
> There was broken query that every time was creating temp table and than was
> trying to insert into this table some data in another query but within
> single connection, what happened next that second query was unable to be
> executed because of syntax error (yes, human factor), this query was
> repeated every minute by cron 24/7.
One temp table per minute doesn't explain this amount of bloat, unless
autovacuum had failed to process pg_attribute for a really really long
time. It would be good to figure out why that happened.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера