Re: storage calculations
От | Andrew Sullivan |
---|---|
Тема | Re: storage calculations |
Дата | |
Msg-id | 20030731165820.GD15615@libertyrms.info обсуждение исходный текст |
Ответ на | Re: storage calculations (pgboy@guthrie.charm.net) |
Ответы |
Re: storage calculations
|
Список | pgsql-admin |
On Thu, Jul 31, 2003 at 08:51:09AM -0400, pgboy@guthrie.charm.net wrote: > > well, i can admit that i am confused. my assumption is that when a row > is deleted in pg, that row is merely marked as 'gone' until a vacuum-full > is done. my further assumption is that if i continue to add rows, those > rows are not necessarily appended to the end of the physical data file, > but can be written over 'deleted' rows. Your assumption is wrong. VACUUM without FULL will allow you to write over the free space now available in your data files, subject to the limitations of tracking as determined by your FSM settings. VACUUM FULL actually shortens the data file. Except for cases having to do with large tuples that won't fit in the previous page, VACUUM FULL means that you can't fit any more data in that file, once the VACUUM FULL is done. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <andrew@libertyrms.info> M2P 2A8 +1 416 646 3304 x110
В списке pgsql-admin по дате отправления: