DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 11

Thread: Hot Backup Questions

Threaded View

  1. #10
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796
    Originally posted by adewri
    Also my understanding is that when we give the alter tablespace end backup command all the redo generated during the backup is applied to the datafile to advance the datafile SCN to database SCN.
    Hi all,
    just asked tom and got this reply


    Also my understanding is that when we give the alter tablespace end backup
    command all the redo generated during the backup is applied to the datafile to
    advance the datafile SCN to database SCN.

    is absolutely wrong -- have you ever had an end backup ask you for an archive?
    Nope, never will - we constantly write to the datafiles during the hot backup.
    The SCN recorded in the header tells us how far back in the redo stream one
    needs to go to recover this file.


    Read the answer above again -- things like:

    ...
    Lets say they are and the OS blocking read factor is
    512bytes (the OS reads 512 bytes from disk at a time). The backup program goes
    to read an 8k Oracle block. The OS gives it 4k. Meanwhile -- DBWR has asked to

    rewrite this block. the OS schedules the DBWR write to occur right now. The
    entire 8k block is rewritten. The backup program starts running again
    (multi-tasking OS here) and reads the last 4k of the block.
    .....

    should definitely make it clear that the datafiles are WRITTEN do whilst they
    are being backed up (else we would not have this redo issue at all -- the
    logging of the full block image)
    had some doubt my self, i think its clear now
    Last edited by adewri; 02-21-2003 at 12:02 PM.
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width