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
Arnau <arnaulist@andromeiberica.com> writes:
> 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?
That's the way to do it.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера