Re: Redo for the Undo

From: Lothar Flatz <l.flatz_at_bluewin.ch>
Date: Fri, 15 Dec 2023 09:03:41 +0100
Message-ID: <ffda7fc3-e940-48ee-a99e-4fb8838c653f_at_bluewin.ch>


Hi Mladen,

thanks. Got that. Having a hard time to figure why this would be needed. I guess after a database crash when you restore a backup the before images prior to the restore point might be missing. Therefore roll forward will reinstall them in order to be able to cope this flash back. Other than that I see no reason for it since roll forward will generate the related undo anew.

Or, probably more generally speaking, restore should reconstruct the database state in its whole, not leaving out parts (like undo).

Thanks

Lothar

Am 13.12.2023 um 15:34 schrieb Mladen Gogala:
> On 12/13/23 07:53, Lothar Flatz wrote:
>> Hi,
>>
>> can a conventional delete produce redo for undo? And why? What I
>> don't get: if the redo is applied, undo would be generated anyway,
>> would it not?
>>
>> But maybe my idea of roll forward is a bit simplistic. Not really my
>> area of expertise.
>>
>> Thanks
>>
>> Lothar
>>
>> --
>> http://www.freelists.org/webpage/oracle-l
>>
>>
> Hi Lothar,
>
> Delete changes blocks, UNDO blocks among other things.  REDO mechanism
> protects the UNDO tablespace as well and generally writes any block
> change to the UNDO tablespace.
>
> Regards
>
> --
> Mladen Gogala
> Database Consultant
> Tel: (347) 321-1217
> https://dbwhisperer.wordpress.com

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 15 2023 - 09:03:41 CET

Original text of this message