Re: [ADMIN] Excessive growth of pg_attribute and other system tables
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [ADMIN] Excessive growth of pg_attribute and other system tables |
| Дата | |
| Msg-id | 14686.1112299573@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [ADMIN] Excessive growth of pg_attribute and other system tables (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [ADMIN] Excessive growth of pg_attribute and other system tables
|
| Список | pgsql-hackers |
I wrote:
> The light just went on ... system catalog updates don't generate
> statistics reports. Hence, autovacuum doesn't know any work is needed.
The above claim is too strong --- they do normally generate stats
updates. However, in a simple test I observed that
pg_stat_all_tables.n_tup_del did not seem to increment for the deletes
that occur when a temp table is dropped during backend exit. (Most
likely we aren't flushing out the final stats messages...)
Steve, is your app in the habit of creating lots of temp tables that are
not dropped explicitly? That would explain why you are getting bit more
than other people.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера