Re: Block_Size on NTFS

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: postgresqlgeneral(dot)domain(dot)thewild_codata(at)spamgourmet(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Block_Size on NTFS
Date: 2009-06-09 11:58:46
Message-ID: 200906091158.n59BwkG06270@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

postgresqlgeneral(dot)domain(dot)thewild_codata(at)spamgourmet(dot)com wrote:
> Hi all !
>
> Reading through the list of settings returned by "SHOW ALL", I noticed
> the "block_size" variable, which defaults to 8192.
>
> Running on Windows Server, my data directory is on an NTFS partition.
> Running CHKDSK on this partition tells me that there are "4096 bytes in
> each allocation unit."
>
> Are these allocation units the same as the "block_size", or does this
> only have to do with disk geometry ?
> If they are the same, is it important that they match ?

It is not necessary they match. It just means that Postgres extends
files in 8k chunks while your file system extends them in 4k chunks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2009-06-09 12:20:44 Re: Sum of multiplied deltas
Previous Message Oleg Bartunov 2009-06-09 11:51:39 Re: Text search without dictionary ?