Re: [SQL] Postgres Table grows very quickly?
От
Michael Richards
Тема
Re: [SQL] Postgres Table grows very quickly?
Дата
Msg-id
Pine.BSF.4.10.9909132232590.63880-100000@scifair.acadiau.ca
Ответ на
Postgres Table grows very quickly? (Michael Green)
Список
Дерево обсуждения
Postgres Table grows very quickly? Michael Green <michael.green@gbst.com>
Re: [SQL] Postgres Table grows very quickly? Michael Richards <miker@scifair.acadiau.ca>
Re: [SQL] Postgres Table grows very quickly? Oleg Bartunov <oleg@sai.msu.su>
On Tue, 14 Sep 1999, Michael Green wrote: > UPDATE routerinfo SET lastdate = '09-14-1999', lasttime = '09:00' WHERE > linkid = 'Sydney'; > > Routerinfo is 8k after the initial update, from then on it grows 8k for > every update. I never do an insert and it never grows beyond 16 rows. It Check out mvcc. Basically running an update does duplicate the tuple. A vacuum will reclaim the extra space. 8k (an entire page) seems a little excessive for each updated tuple, but I don't really know anything about how data is physically stored. I generally run vacuum; once a night and vacuum analyze; once a week, but that's more or less dependant on tyour database. -Michael
В списке pgsql-sql по дате отправления