Re: NOLOGGING option, or ?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: NOLOGGING option, or ?
Дата
Msg-id 1117602004.6678.70.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: NOLOGGING option, or ?  (Alvaro Herrera <alvherre@surnet.cl>)
Ответы Re: NOLOGGING option, or ?  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
On Wed, 2005-06-01 at 00:40 -0400, Alvaro Herrera wrote:
> This doesn't work for COPY, but maybe for CREATE TABLE AS we could log
> the fact that the command was executed, so the replayer could execute
> the same command again.
> 
> Of course, this handwaving doesn't explain how the system in recovery
> mode would be able to execute a full query to reconstruct the table

There's also the typical problem with this kind of approach: how do you
handle non-deterministic queries? (e.g. "CREATE TABLE ... AS SELECT
random(), gettimeofday(), some_func(t1.x) FROM t1 LIMIT 5")

-Neil




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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Interval->day proposal
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Interval->day proposal