pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shankar K <shan0075@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: DB block size Vs filesystem buffer size
Date: Wed, 23 Apr 2003 11:21:58 -0700 (PDT)
Message-ID: <20030423182158.51503.qmail@web21107.mail.yahoo.com> (raw)

Hi there,

below quote is from steve adams suggesting to have db
block size and filesystem buffer size of same size to
avoid io issues in oracle. 

Will this have any effect on postgresql. we use linux
7.3 with ext3 where fs buffersize is 4k however
postgres default blocksize is 8k. any performance gain
in having both sizes same in postgresql.

thanks,
Shankar
 
<quote from ixora.com.au>
"If the database block size is larger than the file
system buffer size, then all single block reads and
writes are split into a series of distinct physical
I/O operations - one for each file system buffer
addressed - and these I/O operations are performed one
at a time. For writes, a full rotational latency is
sustained between each pair of file system buffer
writes. For reads, all except the initial file system
buffer read can normally be satisfied cheaply from the
disk track buffers. However, the distinct contiguous
file system buffer reads trigger the file system read
ahead mechanism, even for random reads, causing
inappropriate read ahead."
</quote>

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com




Message-ID: <20030423182158.51503.qmail@web21107.mail.yahoo.com>
Permalink:  ../20030423182158.51503.qmail@web21107.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030423182158.51503.qmail@web21107.mail.yahoo.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-admin@postgresql.org
  Cc: shan0075@yahoo.com
  Subject: Re: DB block size Vs filesystem buffer size
  In-Reply-To: <20030423182158.51503.qmail@web21107.mail.yahoo.com>
  References: <20030423182158.51503.qmail@web21107.mail.yahoo.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