If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Refreshing data in dev/test environment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-04-10, 15:55
arobinson98 arobinson98 is offline
Registered User
 
Join Date: Jan 2004
Posts: 25
Refreshing data in dev/test environment

Greetings,
We are looking to do a daily refresh of data in a test environment with data from the production environment. Our dba is looking into doing a refresh based on exports and imports or blasting the test env and recreating using backups of prod and I am looking into possible solutions from inside the database. We are upgrading to 10g but I am more familiar with 8i and a little 9i. I was goign to use dbms_job to run a script which either merges data from prod to test using a dblink or truncating the test table then inserting data from the prod table. This script would have to have a statement for each table to be refreshed and seemed like it'd be a nightmare to maintain and still have problems when the objects change due to development. I was wondering if other people had different methods of keeping a test environment data refreshed hopefully on a daily basis that would be more reliable or easier to maintain. Thanks for any suggestions!
Reply With Quote
  #2 (permalink)  
Old 11-04-10, 16:09
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,415
from my perspective, an acceptable solution depends upon DB size.
What might work for a "small" DB may not scale to a much larger DB.

Rather than a daily refresh, what about a weekly refresh?
Why is any "frequent" refresh an actual requirement; as opposed a nice to have feature?
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #3 (permalink)  
Old 11-04-10, 16:27
arobinson98 arobinson98 is offline
Registered User
 
Join Date: Jan 2004
Posts: 25
It's a fairly small db about 70 gb total and the frequency isn't as important as an automated solution that can be scheduled to run regularly and reliably without manual intervention.
Reply With Quote
  #4 (permalink)  
Old 11-04-10, 16:35
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,415
You could always automate your DB recovery script to restore most recent Prod backup on Dev.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
Reply

Tags
backup, refresh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On