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

Thread: Help ... Production Database copy

  1. #1
    Join Date
    Nov 2000
    Posts
    416

    Question

    We have a pretty big production database on Oracle 8i sun solaris (100+ GB).
    For some test I need to have a complete copy of this database in another unix box.
    What is the best way to do that.

    Thanks in advance for your help

  2. #2
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    Copying all the files(data/control/redo/init.ora) that constitute your 100GB database to the server you wanted and modify dbname/controlfile/archive destination parameters in init.ora and set environment variables..and start the database...in mount mode and see the locations of your files from V$control/data/logfiles and rename the file locations with new file locations. that should take care off...

    Otherwise exp/imp use schema by schema that you can easily handle with pipes to save dump files...

    I feel first one is best approach..I just gave you the idea...follow the steps carefully and check for the syntax.

    [Edited by sreddy on 12-22-2000 at 01:03 AM]

  3. #3
    Join Date
    Nov 2000
    Posts
    416
    What is your suggestion if we have a standby database. Can we toggle the standby database to an online database ( take it off from backup mode temporary) and do our test then put it back to standby ??
    If it is possible tell me exactly how we can do it.

    Thanks


  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Most companies have standby databases because they need the ability to bring a database up very quickly should the production DB go down. What happens if your production DB goes down during your "test"? IMHO, bad idea.
    Jeff Hunter

  5. #5
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    You can do it, As marist89 suggest not a great idea as you are taking the risk, discarding the purpose of standby you implemented. Keep it in mind that your standby will always be in recovery mode.Of course this changes with 9i and you have got to wait for that.
    Use named pipes to compress the export and ftp it over and import on to test database on new box. I don't have exact estimation of size export takes. I am exporting one big database using named pipes. If I get an idea of the compressed size of that database I can tell you.


  6. #6
    Join Date
    Nov 2000
    Posts
    416
    But if I never mind to accept the risk to toggle the standby DB from recovery to onlie.
    Can you tell me how exactly I can do that ? With oracle commant ? Do I need to restart the box? What happens to logs during no-standby exist? Can I impact them on standby again later ? How ?

  7. #7
    Join Date
    Apr 2000
    Posts
    126

    Wink

    Look at the Standby Database Concepts and Administration Guide for the version of Oracle you are using.

  8. #8
    Join Date
    Nov 2000
    Location
    Potomac, Maryland
    Posts
    85
    farrokhp,
    Once you activite your standby database you cannot set it to standby mode again. You will have to build a new standby Database.

  9. #9
    Join Date
    Apr 2000
    Posts
    126

    Wink

    You can run a standby database in read-only mode and easily switch back to managed recovery mode.

  10. #10
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    What rmgirma says is TRUE. The only way it works is back and forth. Say A is live db and B is your standby. When A is down you will bring up B and after fixing the problem on A, you can make A standby... If there is a problem with B again... its same procedure. Kinda this goes in cycle...

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