Re: AW: Re: [GENERAL] Vacuum and Transactions - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AW: Re: [GENERAL] Vacuum and Transactions
Date
Msg-id 200107131426.f6DEQwJ07736@candle.pha.pa.us
Whole thread Raw
In response to AW: Re: [GENERAL] Vacuum and Transactions  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
> 
> > I also think we have to leave VACUUM alone and come up with a new name
> > for our light VACUUM.  That way, people who do VACUUM at night when no
> > one is on the system can keep doing that, and just add something to run
> > light vacuum periodically during the day.
> 
> If I understood what VACUUM light does, I do not think that people
> will need to actually do the conventional VACUUM as often anymore.
> I understood, that VACUUM light makes outdated tuple heap space available
> for reuse, and removes the corresponding index entries.
> It does not make space available to other tables or the OS,
> but most other DB's do not do that eighter.
> The conventional VACUUM would then be something you do as part of a DB 
> reorganization (maybe once every month or so).

Yes, but in other DB's if you UPDATE all rows in the table, you don't
double the disk space.  They also reuse DELETEd space automatically.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "P. Dwayne Miller"
Date:
Subject: Re: select count...
Next
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Re: SOMAXCONN