Re: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans - Mailing list pgsql-general

From Sam Mason
Subject Re: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans
Date
Msg-id 20090927181848.GR5407@samason.me.uk
Whole thread Raw
In response to PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans  (Gerhard Wiesinger <lists@wiesinger.com>)
Responses Re: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans  (Gerhard Wiesinger <lists@wiesinger.com>)
Re: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
On Sun, Sep 27, 2009 at 06:05:51PM +0200, Gerhard Wiesinger wrote:
> A google research has shown that Gregory Stark already worked on that issue
> (see references below) but as far as I saw only on bitmap heap scans.

Greg Stark's patches are about giving the IO subsystem enough
information about where the random accesses will be ending up next.
This is important, but almost completely independent from the case
where you know you're doing sequential IO, which is what you seem to be
talking about.

> I think this is one of the most critical performance showstopper of
> PostgreSQL on the I/O side.

PG's been able to handle data as fast as it can come back from the disk
in my tests.  When you start doing calculations then it will obviously
slow down, but what you were talking about wouldn't help here either.

Then again, I don't have a particularly amazing IO subsystem.  What
sort of performance do your disks give you and at what rate is PG doing
sequential scans for you?

--
  Sam  http://samason.me.uk/

pgsql-general by date:

Previous
From: Gerhard Wiesinger
Date:
Subject: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans
Next
From: Martin Gainty
Date:
Subject: CREATE LANGUAGE workaround