Re: BLCKSZ

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: BLCKSZ
Date: 2005-12-06 10:59:35
Message-ID: 20051206105935.GA21823@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Dec 06, 2005 at 01:40:47PM +0300, Olleg wrote:
> I can't undestand why "bigger is better". For instance in search by
> index. Index point to page and I need load page to get one row. Thus I
> load 8kb from disk for every raw. And keep it then in cache. You
> recommend 64kb. With your recomendation I'll get 8 times more IO
> throughput, 8 time more head seek on disk, 8 time more memory cache (OS
> cache and postgresql) become busy.

Hopefully, you won't have eight times the seeking; a single block ought to be
in one chunk on disk. You're of course at your filesystem's mercy, though.

/* Steinar */
--
Homepage: http://www.sesse.net/

In response to

Responses

  • Re: BLCKSZ at 2005-12-06 11:39:41 from David Lang

Browse pgsql-performance by date

  From Date Subject
Next Message Joost Kraaijeveld 2005-12-06 11:21:24 Re: Can this query go faster???
Previous Message Alban Hertroys 2005-12-06 10:45:48 Re: need help