| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | KK <knickknack(at)moppix(dot)de>, pgsql-novice(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Disk layout for parallel instances |
| Date: | 2026-08-26 19:21:52 |
| Message-ID: | 2ad6fc1b3b0eb4dac18faa454a200b8c53fc54db.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Wed, 2026-08-26 at 08:20 +0200, KK wrote:
> The PostgreSQL data directory is intended to reside on a virtual disk in Ceph backed by SAS SSDs.
>
> Following Laurenz's suggestion, I plan to create two additional virtual disks in Ceph
> (for pg_wal and logs), but place them in the SATA pool. Or should this data also be stored on native SSDs?
WAL needs to be on a fast disk, if you want decent write performance.
All these virtualization layers probably aren't great for performance, but I guess you have
little choice there.
> In general, I was considering using LVM. The question is: XFS or Ext4? Or does it not really matter?
Both are fine. XFS has the advantage of allowing you to use "pg_upgrade --clone".
> Essentially, the system stores both highly sensitive data and technical data—such as information
> for authentication (RADIUS) or a ticketing system. The question that arises for me, then, is whether
> it wouldn't be better to physically separate this data into two VMs—and, in conjunction with that,
> move the VM containing particularly sensitive data into a separate VLAN.
Separation doesn't hurt. If it really gets you useful security benefits depends on
your level of paranoia. After all, all the data probably end up on the same storage box.
There is, however, one good technical reason for using several VMs: that way, no cluster
can hog all the memory in the kernel page cache (though they will probably still compete
for disk bandwidth).
Yours,
Laurenz Albe
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2026-08-26 19:32:24 | Re: Disk layout for parallel instances |
| Previous Message | Justin | 2026-08-26 13:17:51 | Re: Disk layout for parallel instances |