Re: Postgresql Database and PG_WAL locations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Aug 29, 2024, at 1:02 PM, Ron Johnson <ronljohnsonjr@xxxxxxxxx> wrote:

On Thu, Aug 29, 2024 at 2:22 PM Matthew Tice <mjtice@xxxxxxxxx> wrote:
On Aug 29, 2024, at 12:18 PM, Henry Ashu <henry.ashu@xxxxxxx> wrote:

I have a database that's about 2TB in size, and I want to place the database files in a separate mount point(PGDATA) and the log files in a different mount point(PG_WAL). What's your take on this?.



Essentially, yes, you will want your WAL and data stored on different devices (or the very least, different partitions).

Is that recommendation still valid?  After all, that was written when 15 years old Sun Studio 12 was still pertinent.  Times have changed since then.  Disks are much, much bigger.

Good point.  I didn’t even notice that disclaimer at the top "Seek knowledge elsewhere, as the material in here predates Postgres 9 it seems.”

But regarding the wal/data separation, I still think it’s relevant (isolating the IO between data files and wal).  But I guess like anything else it depends on your workload (and, in this case, your storage subsystem capabilities).


--
Death to America, and butter sauce.
Iraq lobster!


[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux