Prudent practices for PostgreSQL disk configuration?

From: Ray Cote <rgacote(at)appropriatesolutions(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Prudent practices for PostgreSQL disk configuration?
Date: 2017-06-22 19:13:19
Message-ID: CAG5tnzp6x-cBeE1MxF-gCeY2Aj7djCgwnR2sPLonww7v+FQSyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello:

I’m about to upgrade my disk configuration and looking for prudent disk
configuration practices for running PostgreSQL 9.3 on RHEL6 in a VMWare
environment in a shared hosting facility — physical disk not SSD. This is a
write-heavy transactional application. 8 Cpu cores (if it matters)

Things I (think I) know to do:
- Separate database storage, WAL, and standard logs into different
partitions.
- 8K disk blocks.
- Use ext4 vs. XFS(?)
- data=writeback,noatime,nodiratime

Any other disk-specific settings you would recommend as a starting point
for initial testing?
Appreciate any thoughts.

—Ray

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-06-22 20:07:21 Re: 10beta1 role
Previous Message Ray Stell 2017-06-22 19:06:32 10beta1 role