-
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
-
Sanjay G.
Oracle Certified Professional 8i, 9i.
"The degree of normality in a database is inversely proportional to that of its DBA"
-
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
-
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!
-
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
-
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"
-
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
-
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
-
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
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|