postgres block size alignment with filesystem block size - Mailing list pgsql-admin

From Mike Broers
Subject postgres block size alignment with filesystem block size
Date
Msg-id CAB9893gSq_A4njV6XfAeZ_f7ZN4ES3_Qz=Bidq16k90RoRfPsA@mail.gmail.com
Whole thread Raw
Responses Re: postgres block size alignment with filesystem block size  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hello, I am setting up a new postgres production server in a managed hosting environment.  I dont have much insight into the underlying disk architecture but the filesystem I have been presented with has a 4k block size.  Postgres defaults to 8k block size; would it be beneficial to repave the filesystem at an 8k block size or problematic to leave it at 4k?   I have seen posts suggesting alignment of the postgres block size and the file system block size and the raid block size, but wonder if a multiple is sufficient or if it should match exactly.

Thank you
Mike



pgsql-admin by date:

Previous
From: Gabriele Bartolini
Date:
Subject: Re: Postgres 9.1 Synchronous Replication and stuck queries during sync repl setup
Next
From: Manoj Govindassamy
Date:
Subject: Re: Postgres 9.1 Synchronous Replication and stuck queries during sync repl setup