DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Dropping RMAN schema

  1. #1
    Join Date
    Aug 2007
    Posts
    62

    Dropping RMAN schema

    Hi,

    In order to test recovery using RMAN, i've created another user called RMANTEMP to do a recovery of my database (target database) on a separate host (catalog server). After a successful recovery, i intend to remove the RMANTEMP user.

    Do i need to execute 'drop catalog' on my catalog server? Will this affect RMAN's catalog?

    Do i also need to execute 'drop catalog' on my target database?

    Thanks in advance!!!

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    You dont need to execute the drop catalog on the target database.

    If you have created a catalog on another catalog log database then you cna drop it while you are logged in as RMANTEMP

    While logged in as RMANTEMP onto the catalog database from RMAN prompt you can say DROP CATALOG.


    regards
    Hrishy

  3. #3
    Join Date
    Aug 2007
    Posts
    62
    Thanks hrishy!!

    Is it neccessary to drop the user RMANTEMP in both the target and catalog server then?

    I was worried that there is any side effects since my target database is registered to 2 catalog servers.

  4. #4
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    I dont see any issues of dropping the RMANTEMP user from both the catalog and target database.

    Did i forgot to tell you to take a export backup of RMANTEMP user in both catalog and target database just case before you drop :-)

    regards
    Hrishy

  5. #5
    Join Date
    Aug 2007
    Posts
    62
    Thanks alot Hrishy!

    According to what i've picked up from the online documentation, i've come to believe that as compared to unregistering my target database, dropping RMANTEMP will perhaps save some space in my database. Both will actually have the same end results in that i can no longer do backup or recovery using RMANTEMP. Is this correct?

    Regards,
    gxangel

  6. #6
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Yes your understanding is correct once you drop the rmantemp user and its catalog you wont be able to backup the target database using that id.

    However you have another user called RMAN and you can use that for your backup and recovery needs

    regards
    Hrishy

  7. #7
    Join Date
    Aug 2007
    Posts
    62
    Thanks again!!!

    In this case, does dropping user RMANTEMP drop its catalog too?
    Or do we need to specifically drop its catalog before dropping RMANTEMP user?

    Regards,
    gxangel

  8. #8
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Logged in as user RMANTEMP first drop the catalog and then logged in as a user with dba privileges drop the user rmantemp

    regards
    Hrishy

  9. #9
    Join Date
    Aug 2007
    Posts
    62
    Hi Hrishy,

    Thanks!!!

  10. #10
    Join Date
    Aug 2007
    Posts
    62
    Hi,

    Will the target server contain any information on the user RMANTEMP and it's catalog if i executed DROP CATALOG followed by DROP USER RMANTEMP at the catalog server only?

    Do i need to do any cleanup here since DROP CATALOG is not executed at the target server?

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