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

Thread: Refresh the Dev database

  1. #1
    Join Date
    Nov 2000
    Posts
    416

    Refresh the Dev database

    What is the practical way or the best practice to refresh the Test and Development databases from a very large production database? How do you do it in your real environment?
    An ounce of prevention is worth a pound of cure

  2. #2
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    clone.
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  3. #3
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by SANJAY_G
    clone.
    Yes. But this is possible if the OS platform is same.
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g,12c
    email: ocp_9i@yahoo.com

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    Hmm Julian, do you have test/dev database which are not in same OS as production...? Very BAD practice, I would see you EXP/IMP which takes days to refresh your databases if your database is large as the poster asked!

  5. #5
    Join Date
    Nov 2000
    Posts
    416
    I also think clone is the way to go. Let me know if I am in the right track:

    1- save controlfile toi tract in Prod DB

    2- Move Control file script to DEV DB

    3- Move all Datafiles, redo log files to DEV box ( I bilive with just plain FTP in binary mode but some questions:

    a- Do you compress datafile?
    b- Are you sure FTP doesn't take too long ( VLDB ) and what about network traffic ?
    c- Since it is Prod you can't shutdown and move datafiles, only chioice will be last night backup?


    4- Create the database with resetlog

    Q: Do you first Del Dev box old database and create brabnd new one? Since DB is very big and not enough room then it is not really refresh DB ?


    Any issue can happen? Is this the way to go?

    Deev:
    An ounce of prevention is worth a pound of cure

  6. #6
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Originally posted by farrokhp

    a- Do you compress datafile?
    If you have slow network compressing datafiles would help.
    b- Are you sure FTP doesn't take too long ( VLDB ) and what about network traffic ?

    Again depends on your network bandwidth. FTPing few files would give you idea how long it is going to take.
    c- Since it is Prod you can't shutdown and move datafiles, only chioice will be last night backup?
    Either cold backup or hot backup will be OK.



    Q: Do you first Del Dev box old database and create brabnd new one? Since DB is very big and not enough room then it is not really refresh DB ?

    Yes, cleanup everything and clone

    Any issue can happen? Is this the way to go?

    I don't foresee any issue.

    HTH
    Last edited by SANJAY_G; 04-03-2004 at 11:45 PM.
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  7. #7
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Originally posted by farrokhp
    I also think clone is the way to go. Let me know if I am in the right track:

    1- save controlfile toi tract in Prod DB

    2- Move Control file script to DEV DB

    3- Move all Datafiles, redo log files to DEV box ( I bilive with just plain FTP in binary mode but some questions:

    a- Do you compress datafile?
    b- Are you sure FTP doesn't take too long ( VLDB ) and what about network traffic ?
    c- Since it is Prod you can't shutdown and move datafiles, only chioice will be last night backup?


    4- Create the database with resetlog

    Q: Do you first Del Dev box old database and create brabnd new one? Since DB is very big and not enough room then it is not really refresh DB ?


    Any issue can happen? Is this the way to go?

    Deev:
    This is bascically cloning.
    Jeff Hunter

  8. #8
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by pando
    Hmm Julian, do you have test/dev database which are not in same OS as production...? Very BAD practice, I would see you EXP/IMP which takes days to refresh your databases if your database is large as the poster asked!
    No, I don't have. From DEV to PROD all are on the same OS: Solaris mostly (about 100 databases). Some HP UX and few on BG OS.

    But some people have DEV and PROD on different platforms.

    I read that 10g supports cloning from one OS to another. Haven't tested that yet.
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g,12c
    email: ocp_9i@yahoo.com

  9. #9
    Join Date
    Nov 2000
    Posts
    416
    sorry guys but I think I didn't get it yet. As Jeff confirmed this is basically cloning and we are looking for _refreshing_ the Dev Database every other day. And if the DB is very large like 800GB or 1TB then you need another 1TB space in Dev box to have a new copy of Prod before you delete the old one!!?

    And also we have Credit Card numbers in Prod and we want them to be encrypt in DEv then again <<<< what's the real time solution for REFRESH ing Dev d and Stage database from Prod Database? >>>
    An ounce of prevention is worth a pound of cure

  10. #10
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Let us all know when you hear what you want to hear.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

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