Re: WAL to RAW devices ?

Поиск
Список
Период
Сортировка
От Alex Vinogradovs
Тема Re: WAL to RAW devices ?
Дата
Msg-id 1188605893.6082.51.camel@localhost
обсуждение исходный текст
Ответ на Re: WAL to RAW devices ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
But would it be a problem to have only 1 active segment at all times ?
My inspiration pretty much comes from Oracle, where redo logs are
pre-configured and can be switched by a command issued to the instance.


> Just because you'd like that to be true doesn't make it true.  We have
> to manage a variable number of active segments; track whether a given
> segment is waiting for future use, active, waiting to be archived, etc;
> manage status signaling to the archiver process; and so on.  Now I'll
> freely admit that using a filesystem is only one of the ways that those
> problems could be attacked, but that's how they've been attacked in
> Postgres.  If you want to not have that functionality present then
> you'd need to rewrite all that code and provide some other
> infrastructure for it to use.
>
>             regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WAL to RAW devices ?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: WAL to RAW devices ?