Updating TEST / REPORTING Databases from PROD

Hello,
We have a PROD db that's running 11.2.0.2 on AIX 7.1. We need to update two other instances (REPORTING and TEST) with fresh data... We want REPORTING to update nightly and TEST can update monthly, or less frequent.
I've looked into cloning or using imp/exp for the data schema, or possible RMAN DUPLICATE
Can anyone shed any light on what they use to update their non-production instances?
Thanks

We used to copy cold backup files to test every night for a Db larger than yours to run 2600 automated JUnit tests for a large financial client and never had any problem.
It was all automated using shell scripts to create new nightly folders, copy the files, checkout all DB and Java code from source control, do a complete Java build, run the automated tests and email the results to developers for them to review first thing in the morning.
For reporting using RMAN. The once a month copy a cold backup of reporting to TEST. Sure RMAN can do the TESt one too but I like to make sure my DBAs actually remember HOW to do a cold backup. Tends to make them remember how handy a text version of the control file and init file can be. New DBAs in particular get a pained expression on their face when they realize they can't use the control files they just copied because the folder structure is different and they don't have a text version.
Doing that monthly cold backup restore is a great training exercise that can be done with little risk.

Similar Messages

  • Best way to update DR database from PROD server automatic ?

    Hello Gurus,
    I want to decide best solution.
    Goal: Best way to update DR Database from PROD Server Database automatic.
    System: 32 bit Linux system with Oracle Database 10g Release 10.2.0.4.0 - Production (database version) Oracle version is standard.
    Please let me know how i can update my DR server with PROD data and this task should be automatic.
    Please ask me more information if required to solve this issue.
    Thanks- Priyank
    Edited by: Oracle DBA P on Nov 19, 2010 3:06 AM

    you mean to say data guard needs to implement ? i think that's one option but what you said is different ?
    tell me procedure how i can implement your idea ? steps i have to perform.
    Thanks
    Edited by: Oracle DBA P on Nov 19, 2010 3:38 AM

  • ProjectUID selected from the reporting database from Project Server OnPublished event is taking some delay

    Hi all,
    I'm invoking a stored procedure from the reporting database from the project server onPublished event.  I'm having some issues in getting the details of that particular project from the published event handler.  This i noticed that there is some
    delay is taking place in moving the data(project uid )  from the published to the reporting database .
    My stored procedure select statement is as follows:
    SELECT ProjectUID, ProjectName FROM MSP_EpmProject_UserView
     WHERE ProjectUID=value
    This stored procedure is invoked from the onPublished event of the project server event handler where that particular projectuid is passed in that stored procedure.I have noticed that some delay is taking palce to move  the data into the reporting database. 
    My stored procedure got invoked from the onPublished event of the project server event handler before the delay is complete.  So the row selected from the stored procedure is alwys zero (0).  Is there any other method to wait for repoting database
    to get refreshed. Please help me .

    Hi sabithad,
    The issue you are facing is because of the conflict of permissions, event handlers always works through administrative user credentials whereas the project is open in edit mode by the logged-in user. And you are tyring to update custom field at the back
    end with Administrative credentials, while project queue is in process by logged-in users credentials. Its not gonna work this way :) 
    The best option is to use Javascript on your PDP using CEWP, you can either build your complete logic in JavaScript and place that code on your PDP. OR you can use the combination of JavaScript and PSI and create a webpart to be placed on PDP.
    below blog link willgive you directions to go ahead with, but for sure the solution to your query is
    JavaScript :)
    http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/
    hope this helps.
    Khurram Jamshed - MBA, PMP, MCTS, MCITP (
    Blog, Twitter, Linkedin )
    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.

  • Duplicate database from prod environment to test environment.

    hi,
    Am trying to Duplicate the database from Production RAC Envrionment to Test RAC Environment.
    Am following the metakink Document: How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]
    When am restoring the backup from prod in Test environment am getting the following error.
    ORA-19870: error reading backup piece /rman2/stage/backup_of_PROD_21047_07_04_2011_1
    ORA-19504: failed to create file "+DG1"
    ORA-17502: ksfdcre:4 Failed to create file +DG1
    ORA-15055: unable to connect to ASM instance
    ORA-00020: maximum number of processes () exceeded
    ORA-15055: unable to connect to ASM instance
    ORA-00020: maximum number of processes () exceeded
    Please help me out in this.
    with regards
    A.Aravind

    Pl post details of OS and database versions on the source and target.
    RMAN Duplicate Failing With ORA-19870 ORA-19504 ORA-15012 ORA-17502 ORA-15080 (Doc ID 417074.1)
    Srini

  • Update 2 different databases from Timesten cache

    Is it possible to udpate 2 different databases from a single Timesten configured cache?.
    Edited by: user6867140 on Feb 12, 2009 1:06 PM

    Two different oracle instances.
    Let me give an example
    Table A is present in Oracle database 1
    Table B is present in Oracle database 2
    Table A is cached in TimesTen
    Any change in Table A in timesten need to be updated in Table A of Oracle database 1 and Table B of Oracle database 2
    Table A and Table B has the same data structure.

  • Report database from production.

    Hello All,
    Can you please advise.
    We have production database. Size of the database is about 200G.
    What is the best way to create Report database (on new server) with real-time or almost real_time synchronization.
    Report database with production with minimal impact on production server.
    Thank you.

    Basically you have two options to implement this,
    Data Guard or Stream/Replication.
    Being a report server, I think Streams/Replication is better option.
    Oracle® Streams Concepts and Administration

  • Issues with clone of database from PROD to non-prod

    Hi All,
    I am trying to clone the production database to a non-prod database.This used to work fine with out any issues before.Only change made on the backup side is we change the compress option to nocompress.Below are the steps followed for the clone process.
    Create a new init parameter file.
    Started the database in nomoutn state
    Connected to prod database through rman
    connected to auxiliary database(non-prod)
    connected to catalog
    Set the new file destinations in ASM for the non-prod database.
    Set the recovery time until the last SCN on the full backup.
    Here is the error encountered during the process of restore.
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1
    ORA-19502: write error on file "+STG_DATA/stage/datafile/undotbs3.dbf", blockno 2641537 (blocksize=8192)
    ORA-27061: waiting for async I/Os failed
    Outer dbms_backup_restore.restoreCancel() failed
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ualt0vq5_1_1
    ORA-19502: write error on file "+STG_DATA/stage/datafile/undotbs4.dbf", blockno 1044817 (blocksize=8192)
    ORA-27061: waiting for async I/Os failed
    Outer dbms_backup_restore.restoreCancel() failed
    Any one faced the same kind of issues before?

    Hi,
    ORA-19870: error reading backup piece /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1here is problem with execute permissions on the backup location, give full permission to open those backup sets and read...
    post
    ls -ltr /exp/prod_backup/emrepdb_0_PROD_20101114_ublt0vq6_1_1give full permissions like *777*
    #chmod 777 -R /exp/prod_backup/*
    Thanks

  • Insert/update image in Database from C:\ drive, In BLOB Field using PL/SQL

    is Any Body have a experience of Image file Saving, updating and getting from Table, i want to save it in Database not in any Folder or Link, its Urgent! i want to insert image in Table having BLOB field from C:\test.jpg

    Try the following link, some useful material :-
    http://www-rohan.sdsu.edu/doc/oracle/server803/A50580_2/img_uses.htm

  • How to update data in database from different region of the same page

    Hi,
    I have pepared two regions of tabular form based on the same table,each region is selecting different columns of the same table.
    I want to update the values from different regions in the database using single submit button.
    Regards
    Shashi

    I presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
    Here is how
    a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
    b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
    c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards

  • How to update data into database from mx datagrid?

    Hello,
         I am developing a native application. I have connected my application using HttpServices i.e. remote objects to spring mvc 2.5 application. I have done inserting and deleting data from database. Now I want to update the records from datagrid itself. I am new to AIR please suggesst me something useful.
         Thanks in advance..

    Likely you're querying only one selected value from the request using HttpServletRequest#getParameter() instead of an array of selected values using HttpServletRequest#getParameterValues().

  • Update sql 2012 database from access 2003

    Hi, all,
    I have a new sql server 2012 and has already created a database same as the one from access 2003. 
    Can someone give me a details or links how to update sql server 2012 through SSIS package? I know I could use import wizard but it is a customized version of SSIS. And I want to build my own project using SSIS package.
    source: access 2003 on old sql server 2005
    destination: sql server 2012.
    Thanks.

    you can try this
    http://www.mssqltips.com/sqlservertip/2484/import-data-from-microsoft-access-to-sql-server/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Updating Oracle 8i database from SQLServ 7

    Hi,
    I have successfully migrated data from sqlServ 7 to Oracle 8i. The SQLServ is constantly updated. Using OMWB, how do I update the data/tables in Oracle without recreating the schema/repository? Thanks.

    Gracie,
    The goal of the Oracle Migration Workbench is to achieve a one time migration, with the SQL Server DB being retired once the migration is complete. What you are looking for now is a replicaton capability to keep your SQL Server in sync with Oracle.
    Check out our gateway products:
    http://otn.oracle.com/products/gateways/content.html
    Donal

  • Error when trying to update Forms & Reports 10g from 10.1.2.0.2 to 10.1.2.2

    Hi,
    I have successfully installed Oracle Application Server 10g Forms & Reports Services 10.1.2.0.2, however when I try to apply the patchset 10.1.2.2 to the only Oracle HOME on the server (FRHOME_1), I receive the following error message:
    *"Invalid staging area. There are no top level components for Windows NT, Windows 2000 available for installation in this staging area"*
    I have installed the above on a Windows Server 2008 system with no problems (using compatibility mode), however I cannot seem to be able to apply the patchset - I can bring up the Oracle Universal Installer, but as soon as I try to patch my Oracle home receive the above error message.
    Has anyone encountered this/a similar problem before?
    Many thanks,
    Chris

    I think this could be a problem of your media, is it a CD or you copied the contents into the harddrive? Check that the size of the CD it's ok, is reable or if it's copied in hard drive, check that the size is the appropieated and all the files are accesible to your user.
    Greetings.

  • Updating or inserting database problem

    Hi,
    I have a problem when i try to insert or update records within database from java, i m using ms access.
    I can retrive the data from the table but when i insert or update it , the code executes without any error but has no effect on the table.
    I would be thankful if u guyz help me out .
    The code is below :
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");//loading drivers
              Connection conn = DriverManager.getConnection("jdbc:odbc:client");
              Statement s = conn.createStatement();
              ResultSet rs = s.executeQuery("insert into client (name,hours,minutes) values ('ik',2,34)");
         /*     int c = s.executeUpdate("insert into client (name,hours,minutes) values ('ik',2,34)");
              rs.absolute(2);
              rs.updateString("Name","dla");
              rs = s.executeQuery("commit");*/
    rs.close();
    s.close();
    conn.close();

    Thanks for reply, i appreciate the help u guyz hav givin me
    they wer helpful upto some extent but the actual problem with
    my coding was that statment s variable is used with to different
    sql queries ,
    when i used s variable with a single query the base table was affected with the coding changes.
    Thanks once again guyz....!

  • Can't print wireless test report

    Been through the install/deinstall/reinstall process several times.  Trying to connect a Photosmart c4580 to a Netgear router.  Laptops connecting to router OK.   When I try to print a Network test report, it locks up the printer - I have to unplug it to even turn it off.  Diags show no errors.  No access list on the router.  Ideas?

    Ok...are you printing the report from the computer or from the printer control panel? If from the computer, try printing a test report directly from the control panel by doing the following:
    1. Load letter or A4, unused plain white paper into the input tray.
    2. Press and hold the Cancel button (red X) and the Start/Copy/Color button at the same time.
    Release both buttons. The self-test page prints.
    If I have helped in any way, just click the Kudos star on the left. Also, if your issue has been resolved, don't forget to select Accept as Solution

Maybe you are looking for