Re: Decent VACUUM (was: Buglist)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: paul_tuckfield(at)yahoo(dot)com (Grant Succeeded)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Decent VACUUM (was: Buglist)
Date: 2003-08-28 04:39:56
Message-ID: 22619.1062045596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

paul_tuckfield(at)yahoo(dot)com (Grant Succeeded) writes:
> The best for me by far, is to get the OS to *not* cache stuff. As
> long as the database uses the information it inherently has available,
> it can make far more effective use of the same amount of memory the OS
> would have used to cache the whole filesystem.

This is a very long-running debate in this community, and I think at
this point the majority opinion contradicts yours. The OS buffer cache
has a number of fundamental advantages over what the database can do,
the most obvious being that it actually knows how much free memory is
available for buffer cache at any instant. Also, the existing DBs that
take the we'll-do-the-buffer-management approach are designed around
thirty-year-old OS technology. I'm not inclined to accept this position
without some substantial evidence in its favor.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew L. Gould 2003-08-28 04:41:57 Re: Question Join/Subselect
Previous Message Tom Lane 2003-08-28 04:17:21 Re: The ..... worm

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-08-28 04:44:00 Re: Beta2 Tag'd and Bundled ...
Previous Message Tom Lane 2003-08-28 04:23:18 Re: Possible bug in update?