Re: [NOVICE] Asynchronous I/O in Postgres

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: mladen(dot)gogala(at)vmsinfo(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [NOVICE] Asynchronous I/O in Postgres
Date: 2010-10-27 00:46:25
Message-ID: AANLkTinoFoBdesaPi3C4-VoONcB7gFcRE0UPoLDsbEn9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-novice

[moving to -docs]

On Wed, Oct 20, 2010 at 10:30 PM, Bruce Momjian <bruce(at)momjian(dot)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.htm>
>> 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

Attachment Content-Type Size
effective_io_concurrency-doc.patch application/octet-stream 986 bytes

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message ljb 2010-10-27 01:11:42 Re: [GENERAL] Gripe: bytea_output default => data corruption
Previous Message Katharina kuhn 2010-10-26 22:02:49 CREATE CUSTOM TEXT SEARCH PARSER

Browse pgsql-novice by date

  From Date Subject
Next Message Robert Haas 2010-10-27 01:46:44 Re: [NOVICE] Asynchronous I/O in Postgres
Previous Message scorpdaddy 2010-10-26 11:30:48 Re: [NOVICE] Need help with a query