Re: Warm-up cache may have its virtue - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Warm-up cache may have its virtue
Date
Msg-id 20060116182507.GD67693@pervasive.com
Whole thread Raw
In response to Re: Warm-up cache may have its virtue  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
List pgsql-hackers
On Sat, Jan 14, 2006 at 04:13:56PM -0500, Qingqing Zhou wrote:
> 
> "Qingqing Zhou" <zhouqq@cs.toronto.edu> wrote
> >
> > I wonder if we should really implement file-system-cache-warmup strategy
> > which we have discussed before. There are two natural good places to do
> > this:
> >
> > (1) sequentail scan
> > (2) bitmap index scan
> >
> 
> For the sake of memory, there is a third place a warm-up cache or pre-read 
> is beneficial (OS won't help us):
> (3) xlog recovery

Wouldn't it be better to improve pre-reading data instead, ie, making
sure things like seqscan and bitmap scan always keep the IO system busy?
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: source documentation tool doxygen
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Improving N-Distinct estimation by ANALYZE