Home » RDBMS Server » Server Administration » Backup Mode (Oracle 10g)
Backup Mode [message #473497] Sun, 29 August 2010 11:17 Go to next message
subbu_tce
Messages: 98
Registered: July 2007
Location: pune
Member
Hi,
My Tablespace is in backup mode.Now am issuing alter system checkpoint.will the dbwr writes the dirty blocks in datafiles.
If so,how it will update the scn becuase i havn't issued end backup still.Plz clarify me on this.
Re: Backup Mode [message #473501 is a reply to message #473497] Sun, 29 August 2010 11:53 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Yes.
The same thing than other tablespaces except that the header is not refreshed (and so the checkpoint scn).

Regards
Michel
Re: Backup Mode [message #473529 is a reply to message #473497] Mon, 30 August 2010 01:24 Go to previous messageGo to next message
Yasir Hashmi
Messages: 304
Registered: April 2006
Senior Member
Hi,
The file would not be checkpointed.It was already checkpointed by a tablespace checkpoint when you put it in begin backup mode so header is freezed. The file would be available for normal operations but no checkpoint info would be recorded in its header until you put it in end backup mode.
Re: Backup Mode [message #473530 is a reply to message #473529] Mon, 30 August 2010 01:30 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Quote:
The file would not be checkpointed.

Yes and no. This is ambiguous.
The tablespace data blocks are flushed out the SGA to the tablespace files (which is the meaning of checkpoint), so for this point it is checkpointed.
But the file header is not updated and so the checkpoint scn is not marked (and so for the file point of view, it is not checkpointed.

This is why I said, the ONLY difference with other tablespaces is that the file header is not updated.

Eegards
Michel
Re: Backup Mode [message #473532 is a reply to message #473530] Mon, 30 August 2010 01:36 Go to previous messageGo to next message
Yasir Hashmi
Messages: 304
Registered: April 2006
Senior Member
By
The file would not be checkpointed
, I only meant SCN would not be updated in file header.
But you are right.
Thankyou for correcting me all the time. Smile
Re: Backup Mode [message #473539 is a reply to message #473532] Mon, 30 August 2010 02:21 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

To precise it using Oracle background processes implementation, DBWR does its checkpoint work, CKPT does not (on tablespace in backup mode).

Regards
Michel
Re: Backup Mode [message #473544 is a reply to message #473539] Mon, 30 August 2010 02:44 Go to previous messageGo to next message
Yasir Hashmi
Messages: 304
Registered: April 2006
Senior Member
IS it so?
You mean when we issue alter tablespace begin backup command,its DBWR and not CKPT that freezes the header?
Re: Backup Mode [message #473545 is a reply to message #473544] Mon, 30 August 2010 03:16 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
I mean during checkpoint after begin backup, DBWR still does the checkpoint (write the buffers for the tablespace) but CKPT does not (does not update the file header).

Regards
Michel

[Updated on: Mon, 30 August 2010 03:17]

Report message to a moderator

Re: Backup Mode [message #473556 is a reply to message #473545] Mon, 30 August 2010 04:50 Go to previous message
Yasir Hashmi
Messages: 304
Registered: April 2006
Senior Member
Thats true!!
Previous Topic: PMON "failed to acquire latch" during shutdown
Next Topic: login failed
Goto Forum:
  


Current Time: Sun Dec 01 13:08:17 CST 2024