Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum)
В списке pgsql-general по дате отправления:
| От | Lists |
|---|---|
| Тема | Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum) |
| Дата | |
| Msg-id | 50A07863.1020007@benjamindsmith.com обсуждение исходный текст |
| Ответ на | Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum) (Steve Crawford <scrawford@pinpointresearch.com>) |
| Список | pgsql-general |
On 11/09/2012 05:26 PM, Steve Crawford wrote: > Bloat in pg_attribute would correlate with A) (or any constant > creation/destruction of tables). You can vacuum and/or reindex the > system tables if you are connected as the superuser but you are better > off preventing bloat by appropriate adjustment of your configuration > settings. However note that if you do frequent bulk > creation/destruction of tables you could end up bloating the attribute > table between vacuum runs and may need to periodically manually shrink > it. > Steve, Our system divides customers into distinct databases, however customers are often clustered. (Think: different locations of 7/11) and so we have to aggregate data from different databases. We do this with dblink to get the data and temp tables to collate it, which appears to be a cause of the bloat we're seeing. -Ben
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера