From: Luke Lonergan <llonergan@greenplum.com>
To: Markus Schaber <schabi@logix-tt.com>
To: pgsql-performance@postgresql.org
Subject: Re: Large tables (was: RAID 0 not as fast as
Date: Wed, 20 Sep 2006 10:03:58 -0700
Message-ID: <C136C28E.4E9%llonergan@greenplum.com> (raw)
In-Reply-To: <4510F720.5010007@logix-tt.com>
Markus,
On 9/20/06 1:09 AM, "Markus Schaber" <schabi@logix-tt.com> wrote:
> Do you think that adding some posix_fadvise() calls to the backend to
> pre-fetch some blocks into the OS cache asynchroneously could improve
> that situation?
Nope - this requires true multi-threading of the I/O, there need to be
multiple seek operations running simultaneously. The current executor
blocks on each page request, waiting for the I/O to happen before requesting
the next page. The OS can't predict what random page is to be requested
next.
We can implement multiple scanners (already present in MPP), or we could
implement AIO and fire off a number of simultaneous I/O requests for
fulfillment.
- Luke
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: llonergan@greenplum.com, schabi@logix-tt.com
Subject: Re: Large tables (was: RAID 0 not as fast as
In-Reply-To: <C136C28E.4E9%llonergan@greenplum.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