From: Dani Oderbolz <oderbolz@ecologic.de>
To: Wilson A. Galafassi Jr. <juniorlist@yahoo.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: ext3 block size
Date: Fri, 08 Aug 2003 17:39:46 +0200
Message-ID: <3F33C442.2000809@ecologic.de> (raw)
In-Reply-To: <032901c35c59$bf6b2260$70c0b4c8@notebook>
References: <032901c35c59$bf6b2260$70c0b4c8@notebook>
Wilson A. Galafassi Jr. wrote:
> hello.
> my database size is 5GB. what is the block size recommend?
> thanks
> wilson
Hmm, IMHO this depends more on your IO System
rather than on the DB size.
It doesnt make sense to have a blocksize which your IO System
(HD, Controller...) cannot fetch in one read.
And it also depends on the type of Processing you are doing.
If you will have mostly big tablescans, a big blocksize is good,
whereas if you will be doing lots of Index acess, a lower one
can make more sense.
(And also if you store lots of data in one row).
In general I guess 8K (the default) is ok,
but 16K can make sense.
Regards,
Dani
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: oderbolz@ecologic.de, juniorlist@yahoo.com.br
Subject: Re: ext3 block size
In-Reply-To: <3F33C442.2000809@ecologic.de>
References: <032901c35c59$bf6b2260$70c0b4c8@notebook> <3F33C442.2000809@ecologic.de>
* 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