pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: seq scan cache vs. index cache smackdown
Date: Fri, 18 Feb 2005 23:11:08 -0500 (EST)
Message-ID: <200502190411.j1J4B8T15005@candle.pha.pa.us> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE4768A7@algol.sollentuna.se>

Magnus Hagander wrote:
> I don't think that's correct either. Scatter/Gather I/O is used to SQL
> Server can issue reads for several blocks from disks into it's own
> buffer cache with a single syscall even if these buffers are not
> sequential. It did make significant performance improvements when they
> added it, though.
> 
> (For those not knowing - it's ReadFile/WriteFile where you pass an array
> of "this many bytes to this address" as parameters)

Isn't that like the BSD writev()/readv() that Linux supports also?  Is
that something we should be using on Unix if it is supported by the OS?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (24+ messages)  latest in thread

Message-ID: <200502190411.j1J4B8T15005@candle.pha.pa.us>
Permalink:  ../200502190411.j1J4B8T15005@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200502190411.j1J4B8T15005@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, mha@sollentuna.net, merlin.moncure@rcsonline.com, josh@agliodbs.com
  Subject: Re: seq scan cache vs. index cache smackdown
  In-Reply-To: <200502190411.j1J4B8T15005@candle.pha.pa.us>

* 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