Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

For an online backup, do you need to put tablespaces hot backup mode when using RMAN?

0
Posted

For an online backup, do you need to put tablespaces hot backup mode when using RMAN?

0

To understand why RMAN does not require extra logging or backup mode, you must first understand why those features are required for non-RMAN online backups. A non-RMAN online backup consists of a non-Oracle tool, such as cp or dd, backing up a datafile at the same time that DBWR is updating the file. We can’t prevent the tool from reading a particular block at the exact same time that DBWR is updating that block. When that happens, the non-Oracle tool might read a block in a half-updated state, so that the block which is copied to the backup media might only have been updated in its first half, while the second half contains older data. This is called a “fractured block”. If this backup needs to be restored later, and that block needs to be recovered, recovery will fail because that block is not usable. The ‘alter tablespace begin backup’ command is our solution for the fractured block problem. When a tablespace is in backup mode, and a change is made to a data block, instead of loggin

0

To put a tablespace in ‘hot backup mode’ you execute an ‘alter tablespace begin backup;’ command. You do NOT need to execute this command when you use Recovery Manager to perform hot backups.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123