Re: ext3 block size - Mailing list pgsql-admin

From Dani Oderbolz
Subject Re: ext3 block size
Date
Msg-id 3F33C442.2000809@ecologic.de
Whole thread Raw
In response to ext3 block size  ("Wilson A. Galafassi Jr." <juniorlist@yahoo.com.br>)
Responses Re: ext3 block size
List pgsql-admin
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






pgsql-admin by date:

Previous
From: "Matt Clark"
Date:
Subject: Re: Cost estimates consistently too high - does it matter?
Next
From: "scott.marlowe"
Date:
Subject: Re: ext3 block size