Re: pg_xlog on separate drive

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_xlog on separate drive
Дата
Msg-id 14248.1164905109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_xlog on separate drive  ("Travis Whitton" <tinymountain@gmail.com>)
Список pgsql-sql
"Travis Whitton" <tinymountain@gmail.com> writes:
> Hey guys, sorry if this is slightly OT for this list, but I figure it's a
> simple question. If I'm storing pg_xlog on a second non-redundant drive
> using the symlink method and the journal drive were to crash, how difficult
> is recovery? Will Postgresql simply be able to reinitialize the journal on a
> new drive and carry on, or is there more to it than that? I realize any
> pending transactions would be lost, but that's not a huge concern for me
> because everything I'm importing comes from raw data.

Losing xlog is pretty bad: there's a serious risk of data corruption, in
that transactions made since your last checkpoint may be only partially
applied.  I wouldn't recommend a setup in which xlog is less redundant
than your main storage array.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Jeff Herrin
Дата:
Сообщение: Re: consistent random order
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: Autovaccum