pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Kupershmidt <schmiddy@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: mladen.gogala@vmsinfo.com
Cc: pgsql-docs@postgresql.org
Subject: Re: [NOVICE] Asynchronous I/O in Postgres
Date: Tue, 26 Oct 2010 20:46:25 -0400
Message-ID: <AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.com> (raw)
In-Reply-To: <201010210230.o9L2UMX11996@momjian.us>
References: <AANLkTinygXJv_CFY__PT+hQYWMADC6bDrMQih-kk2wbd@mail.gmail.com>
	<201010210230.o9L2UMX11996@momjian.us>

[moving to -docs]

On Wed, Oct 20, 2010 at 10:30 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Josh Kupershmidt wrote:
>> But it looks to me like effective_io_concurrency only affects bitmap
>> heap scans. The setting from effective_io_concurrency gets put into
>> "target_prefetch_pages" in ./src/backend/utils/misc/guc.c . But the
>> only place which uses that variable is
>> ./src/backend/executor/nodeBitmapHeapscan.c.
>>
>> The EnterpriseDB docs
>> <http://www.enterprisedb.com/docs/en/8.3R2/perf/Postgres_Plus_Advanced_Server_Performance_Guide-17.ht...;
>> mention:
>> "effective_io_concurrency is only used for Bitmap Heap Scans. For
>> normal sequential scans the operating system should handle read-ahead
>> internally (On Linux, see the blockdev command, in particular --setra
>> and --setfra)."
>
> So, this this also true for community Postgres?  Can someone suggest
> updated docs?

It looks like effective_io_concurrency only has an impact on bitmap
heap scans. I think a brief mention of this fact in the docs for
effective_io_concurrency should suffice, patch attached.

Josh

Attachments:

effective_io_concurrency-doc.patch (application/octet-stream, 987B) download diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index f178835..898cdac 100644 *** a/doc/src/sgml/config.sgml --- b/doc/src/sgml/config.sgml *************** SET ENABLE_SEQSCAN TO OFF; *** 1354,1360 **** simultaneously. Raising this value will increase the number of I/O operations that any individual <productname>PostgreSQL</> session attempts to initiate in parallel. The allowed range is 1 to 1000, ! or zero to disable issuance of asynchronous I/O requests. </para> <para> --- 1354,1361 ---- simultaneously. Raising this value will increase the number of I/O operations that any individual <productname>PostgreSQL</> session attempts to initiate in parallel. The allowed range is 1 to 1000, ! or zero to disable issuance of asynchronous I/O requests. Currently, ! this setting only affects bitmap heap scans. </para> <para>

view thread (7+ messages)  latest in thread

Message-ID: <AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.com>
Permalink:  ../AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: schmiddy@gmail.com, bruce@momjian.us, mladen.gogala@vmsinfo.com
  Subject: Re: [NOVICE] Asynchronous I/O in Postgres
  In-Reply-To: <AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.com>
  References: <AANLkTinygXJv_CFY__PT+hQYWMADC6bDrMQih-kk2wbd@mail.gmail.com> <201010210230.o9L2UMX11996@momjian.us> <AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.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