| От | Andrew Sullivan |
|---|---|
| Тема | Re: deleting records from a table |
| Дата | |
| Msg-id | 20070112205159.GA2806@phlogiston.dyndns.org обсуждение исходный текст |
| Ответ на | deleting records from a table (Mario Behring <mariobehring@yahoo.com>) |
| Список | pgsql-sql |
On Fri, Jan 12, 2007 at 09:45:28AM -0800, Mario Behring wrote: > Simple question: once I execute the delete statement, does it free > disk space immediatelly? Does Postgres uses something like a > datafile with a pre-defined size like Oracle does?? What others said; but note that a vacuumed table that has a number of now-empty slots can actually be a performance advantage, because new rows don't need to increase the size of the table's on-disk file (so you incur slightly less I/O). There's a "sweet spot" for this that you can discover by testing. A -- Andrew Sullivan | ajs@crankycanuck.ca "The year's penultimate month" is not in truth a good way of saying November. --H.W. Fowler
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера