Re: UNDO and in-place update

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: UNDO and in-place update
Дата
Msg-id CAM-w4HPrjNPA_VfLAde0NkUiaauycOyqBC=J0raBkoo8d87F0Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: UNDO and in-place update  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 24 November 2016 at 23:03, Robert Haas <robertmhaas@gmail.com> wrote:
>> For snapshot isolation Oracle has yet a *third* copy of the data in a
>> space called the "rollback segment(s)".
>
> My understanding is that this isn't correct.  I think the rollback
> segments are what they call the thing that stores UNDO.  See e.g.
> http://ss64.com/ora/syntax-redo.html

It looks like you're right. Rollback segments and Undo segments are
two different pieces of code but one is just the old way and the other
the new way of managing the same data. You can't have both active in
the same database at the same time. I'm a bit confused because I
distinctly remembered an UNDO log back in the 8i days as well but
apparently that's just me imagining things. UNDO segments were
introduced in 9i.

This explained a bunch
http://satya-dba.blogspot.ie/2009/09/undo-tablespace-undo-management.html


-- 
greg



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: confusing checkpoint_flush_after / bgwriter_flush_after
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [sqlsmith] Failed assertion in parallel worker in ExecInitSubPlan