| От | Tom Lane |
|---|---|
| Тема | Re: pg temp tables |
| Дата | |
| Msg-id | 28340.1173167190@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg temp tables ("Anton Melser" <melser.anton@gmail.com>) |
| Ответы |
Re: pg temp tables
|
| Список | pgsql-general |
"Anton Melser" <melser.anton@gmail.com> writes:
> Thanks for your reply. I am managing a db that has some export scripts
> that don't do a drop/create, but rather a delete from at the start of
> the proc (6 or 7 tables used for this, and only this). Now given that
> there is no vacuuming at all going on - this is clearly suboptimal but
> in the general case is this better/worse than using temporary tables?
Delete all rows, you mean? Have you considered TRUNCATE?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера