pg_xlog location

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

 



Hi all,

I'd like to place the database transaction log (pg_xlog) to a separeted disk. I haven't found any place in the configuration to specify the location of this log. Googling a bit I have found the following:

1. Shut it down the database.
2. Move data/pg_xlog to another drive.
3. Symlink data/pg_xlog to this other drive.
4. Restart the database.

and I'm wondering, is this the way to do it? or there is a better way?


Thanks


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux