From: Neil Conway <neilc@samurai.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Sullivan <andrew@libertyrms.info>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: reindex/vacuum locking/performance?
Date: Sun, 05 Oct 2003 19:50:35 -0400
Message-ID: <1065397835.471.17.camel@tokyo> (raw)
In-Reply-To: <15813.1065397428@sss.pgh.pa.us>
References: <60d6de9fah.fsf@dev6.int.libertyrms.info>
<LFEIJBEOKGPDHCEMDGNFAEOCCFAA.matt@ymogen.net>
<20031004152241.GL580@libertyrms.info>
<1065396767.466.12.camel@tokyo>
<15813.1065397428@sss.pgh.pa.us>
On Sun, 2003-10-05 at 19:43, Tom Lane wrote:
> This would be relatively easy to fix as far as our own buffering is
> concerned, but the thing that's needed to make it really useful is
> to prevent caching of seqscan-read pages in the kernel disk buffers.
True.
> I don't know any portable way to do that :-(
For the non-portable way of doing this, are you referring to O_DIRECT?
Even if it isn't available everywhere, it might be worth considering
this at least for the platforms on which it is supported.
-Neil
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: neilc@samurai.com, tgl@sss.pgh.pa.us, andrew@libertyrms.info
Subject: Re: reindex/vacuum locking/performance?
In-Reply-To: <1065397835.471.17.camel@tokyo>
* 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