pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Luke Lonergan <llonergan@greenplum.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Large tables (was: RAID 0 not as fast as
Date: Thu, 21 Sep 2006 09:31:12 +0200
Message-ID: <45123FC0.9060100@logix-tt.com> (raw)
In-Reply-To: <C1372993.2361%llonergan@greenplum.com>
References: <C1372993.2361%llonergan@greenplum.com>

Hi, Luke,

Luke Lonergan wrote:

>> I thought that posix_fadvise() with POSIX_FADV_WILLNEED was exactly
>> meant for this purpose?
> 
> This is a good idea - I wasn't aware that this was possible.

This possibility was the reason for me to propose it. :-)

> We'll do some testing and see if it works as advertised on Linux and
> Solaris.

Fine, I'm looking forward to the results.

According to my small test, it works at least on linux 2.6.17.4.

Btw, posix_fadvise() could even give a small improvement for
multi-threaded backends, given that the I/O subsystem is smart enough to
cope intelligently to cope with large bunches of outstanding requests.

HTH,
Markus



view thread (24+ messages)  latest in thread

Message-ID: <45123FC0.9060100@logix-tt.com>
Permalink:  ../45123FC0.9060100@logix-tt.com/
Also on:    postgresql.org/message-id/45123FC0.9060100@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: schabi@logix-tt.com, llonergan@greenplum.com
  Subject: Re: Large tables (was: RAID 0 not as fast as
  In-Reply-To: <45123FC0.9060100@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox