Re: Postgres on L2ARC - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Postgres on L2ARC
Date
Msg-id 729B87B1-DE36-4876-9488-8F4C19DD3EF8@elevated-dev.com
Whole thread Raw
In response to Postgres on L2ARC  (Joseph Hammerman <joe.hammerman@datadoghq.com>)
List pgsql-admin
> On Jan 23, 2023, at 6:18 PM, Joseph Hammerman <joe.hammerman@datadoghq.com> wrote:
>
> Has anyone built a Postgers architecture using L2ARC, and potentially TABLESPACES to mount the ZFS pools (dedicated
oneper table). I am imagining the ZFS pools would be backed by EBS volumes. 

Yes. It worked fine, but much smaller and less busy than what you're probably planning for. Originally, Ubuntu 16 &
olderZFS, PG data was on mirrorz SSD, with other SSD partitions for L2ARC & ZIL. Later, at a major update, I did some
benchmarking,and got rid of the SSD dedicated to ZFS. Then the SSD became entirely ZIL & L2ARC, and PG shared L2ARC
withother data. 

So, to be clear, in this case the reason for having PG use L2ARC with spinning rust behind it was that the PG did not
needdedicated SSD for performance... 


pgsql-admin by date:

Previous
From: Joseph Hammerman
Date:
Subject: Postgres on L2ARC
Next
From: Loles
Date:
Subject: No problem, only curiosity