| От | John R Pierce |
|---|---|
| Тема | Re: vacuum vs pg_repack for clearing bloat? |
| Дата | |
| Msg-id | 52D736DF.7080301@hogranch.com обсуждение исходный текст |
| Ответ на | vacuum vs pg_repack for clearing bloat? (Lists <lists@benjamindsmith.com>) |
| Список | pgsql-general |
On 1/15/2014 4:09 PM, Lists wrote: > Our app makes extensive use of temp tables, and this causes a > significant amount of bloat that can often only be cleared with a > manual vacuum process. whats the persistence of these temporary tables? by design, they are meant for relatively short lifespan uses, and as Tom said are only accessible by the connection that created them, and when you're done with them you should drop them. now, if you mean 'temporary table' in another sense, like regular tables you're using for storing temporary data, how are you cleaning this 'temporary data' out of them? truncate should free the disk space they use where delete won't. -- john r pierce 37N 122W somewhere on the middle of the left coast
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера