Duplicating a database for testing

I need to be able to recreate the same database with the same content of data files, several series of stress tests. Is it possible to simply save all the Oracle Home Directory, the first series of tests and then restore the directory to return to the initial state?

As seems unlikely, which would be the best approach to "restore" the database to its physical state initial quickly? For example, if the data files got extended due to the large amount of data loaded in the first test, the next round should begin with the initial configuration at all.

Restore the directory to return to the initial state?

Yes, but the Oracle data files generally are NOT reside under ORACLE_HOME.

You need to restore only the data files & not the tree of the software itself

Tags: Database

Similar Questions

  • Refresh the production database to test the database with RMAN

    Hi experts,

    I want to refresh the production database to test the database with RMAN. You can help me please how to do this.

    I saw a lot of blog on the internet but not got a satisfactory answer.

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

    b. create init.ora for target db copy of source

    c. If you use catalog

    connect to the RMAN catalog, you can use the double option to clone run below

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

    b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile

    c. restore the controlfile

    RMAN > set DBID = xxxxxxxx (DBID of the source db)

    RMAN > run

    {

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    Restore controlfile from "/ c-DBID-xxxxxxxx-00';

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

    until ' TO_DATE (2014-SEPT-10 10:00 ', MY - DD - YYYY HH24 ') ";

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

  • Minimum SGA for Test Db

    Hi all

    11.2.0.1

    RHEL 6

    What is the minimum SGA or memory that I can return to my database of Test, with me as the only user?

    I want to just save some memory for an another instance of Test Db versions create.

    Thank you

    pK

    Hi Petra,

    First you must set the MEMORY_TARGET parameter to an initial value and after a few days of test use after the query to determine the appropriate value.

    Select * from v$ memory_target_advice

    There is an example of data link below.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28320/dynviews_2060.htm#REFRN30465

    Best regards

  • How to check if the database for DRDA gateway is installed and configured.

    Hi all

    How can we check if the database for DRDA gateway is installed and configured.

    Our operating system is AIX 5 L 64 bit OS.
    RDBMS: 11.2.0.3

    Kind regards

    Duplicated
    How to check if the database for DRDA gateway is installed and configured.

    + - locked thread-+.

    Nicolas.

  • How to connect to the database for all reports EN

    Hello

    I've developed 100 reports in the client of the production, test purpose that I moved
    test client. How can I connect to the database for all reports at once?

    Concerning
    Thaer

    Hi Thaer,

    You can connect to the connection of database for all reports through the workspace of HFM.

    Connect to the HFM area--> click--> Explorer, and click Tools--> click Manager of database and respective connections of Production Instance to the Instance of Test required information and that you will be able to connect to the Test database for all reports both change.

    Kind regards
    Srikanth

  • Link to database for MySQL with Oracle Express

    Hello Oracle Community,

    I made a post on this topic already in the section general, but here is the best place for my question. My goal is to access a mysql to oracle server. Some info about my system and what I've done so far:

    Windows Vista 64-bit
    Oracle Express 10.2

    -installed 32-bit DNS ODBC driver for the database mysql, tested and it succeeded, the name is CHANCE
    -created a new file in the folder admin/hs initLuck.ora, prameters are: HS_FDS_CONNECT_INFO = CHANCE HS_FDS_TRACE_LEVEL = OFF
    -new section in the listener.ora: (SID_DESC = (SID_NAME = CHANCE) (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server) (PROGRAM = hsodbc))
    -new section in my tnsnames.ora: CHANCE = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = GOGAPC01001)(PORT = 1521)) (CONNECT_DATA = (SID = CHANCE)) (HS = OK))
    -inexplicable the listener
    -Do a bit of luck, success of tnsping
    -created a link of database: CREATE DATABASE LINK LUCK24 CONNECT TO 'user' IDENTIFIED BY 'password' USING 'LUCK24 ';
    -tried to do a simple select statement: SELECT COUNT (*) FROM customers@LUCK;

    and there I get an error message:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [Generic connectivity using ODBC] [Microsoft] [ODBC driver manager] Der Datenquellenname wurde nicht found, und're wurde kein Standardtreiber angegeben (SQL State: IM002;) SQL Code: 0)
    ORA-02063: preceding 2 lines of LUCK24

    can anyone help?

    Ikrischer

    Ikrischer,
    On which platform do you have installed the drivers 32 bit and HSODBC? He was on a Windows 32-bit platform? It is not supported to run the 32-bit software on a Windows 64-bit platform.
    There were some problems with versions 10.2.0.3 and earlier that are similar to those you typo - problems with bigint and select count. These are laid down in the 10.2.0.4 group of patches, so you should apply to your ORACLE_HOME 10.2 directories and see if the problem still occurs.
    However, as already said HSODBC 10.2 is now desupported you need to find to install 11.1.0.6 DG4ODBC and then apply the 11.1.0.7 patch group which also solves the problem.
    If you have access to My Oracle Support then see this note.

    Select columns MySQL Bigint use HSODBC returns an incorrect value when you use ODBC MySQL Connector (Doc ID 401086.1)

    Kind regards
    Mike

  • Database load tests

    Hello


    Can someone give me an idea of database load tests. Suppose that testers are performing on any application load test, and we check the charge (bottlenecks) side database, so what are the areas that we need to observe on the database side.

    Version of Oracle - 10.2.0.3


    Thanks in advance

    Check if the server is ok with memmory and CPU usage and swap...

    SIDE database, check the active sessions long running where they expect and suggest something so that these applications can accelerate. You can propose the amendment of the code as the new index, advice or contours etc... After checking waiting for them and various slow sql statemenets sql plans

  • The extension I created will not install for testing. He always says not compatible with Firefox 23.0.1.

    I'm wearing an extension of Chrome to Firefox. The extension is called The Unofficial Openstudy App and is found on the Chrome Web Store. I have all ready for testing, but it will not install the XPI file. It is said that 'no compatible with Firefox 23.0.1.' I tried to change the minversion and maxversion in install.rdf file, but it DOES NOT WORK. Why is this?

    Connection to xpi:
    http://www.fast-files.com/GetFile.aspx?file=65730

    Content of the install.rdf file for those who do not wish to download:

    <?xml version="1.0" encoding="UTF-8"?>
    <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
      <Description about="urn:mozilla:install-manifest">
        <em:id>[email protected]</em:id>
        <em:type>2</em:type>
        <em:name>The Unofficial OpenStudy App (TUOSA)</em:name>
        <em:version>4</em:version>
        <em:creator>dumbsearch</em:creator>
        <em:contributor>Emoticon</em:contributor>
        <em:description>The Unofficial OpenStudy App (TUOSA) is a Firefox extension that extends and enhances the current functionality of OpenStudy.</em:description>
        <em:optionsURL>chrome://tuosa/content/options.xul</em:optionsURL>
     <em:iconURL>chrome://tuosa/skin/icon.png</em:iconURL>
    
     <!-- Firefox -->
     <em:targetApplication>
       <Description>
      <em:id>com.dumbsearch.tuosa</em:id> <!-- Firefox -->
      <em:minVersion>16.0</em:minVersion>
      <em:maxVersion>25.0</em:maxVersion>
       </Description>
     </em:targetApplication>
      </Description>
    </RDF>

    you need to replace

    com.dumbsearch.tuosa
    

    with the guid fixed for firefox:

    {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    

    https://developer.Mozilla.org/en-us/docs/Install_Manifests#targetApplication

    https://addons.Mozilla.org/en-us/Firefox/pages/appversions/

  • Schema of database for the processing of the results

    Hi all

    I have a question on the results of teststep registration in the database. I use the generic recordset as my database for the recording of data.

    In my database (SQL Server), there are the following diagrams: dbo, dbtest1, dbtest2. I created all the tables of results (UUT_Result, Step_Result etc...) of the generic Recordset object in all schemas. Therefore, to display the results in the table of Step_Result, I specify the schema as well as the name of the table, for example SELECT * FROM dbtest1. Step_Result.

    Is there a way to tell Teststand to save the result in another schema (dbo, dbtest1, dbtest2) programmatically?

    Yours sincerely,

    chati

    Yes, the tool is easier to visualize what makes SQL. A user can access patterns as much as they have permission for. The problem is that, in order to specify the schema, you must assign the rating on your SQL commands. I don't know of an easy way to do this in Teststand.

    If you manually create the SQL commands is noted:

    [Database]. [Schema]. [Table]

    It is easier to implement multiple user names and to use the default schema to define.

    You can also have a database that is different for each category of journaling (and no need to use patterns at all).

    A lot of good information here:

    https://TechNet.Microsoft.com/en-us/library/dd283095 (v = sql.100) .aspx

  • change of database for processing result

    Hello everyone,

    I have a question regarding the change of the use of the database for the processing of the result. My environment is 2014 Teststand, LabView 2014.

    I need to be able to change the database used to store the result data programmatically. I use the simple example of the user interface provided by TestStand as a starting point to build the user interface. As I do this is by creating a global variable of station (StationGlobals.DBName) in the TestStand. The user can select its database via a combo box in the user interface. When users perform a sequence, Teststand asked to the user interface, the name of the database selected by the user (using UIMessage).

    It does not work like I wanted. It is better described the symptom using the following use cases:

    1. start the user interface

    2. choose a database (DB - A)

    3. run a sequence

    4. check the result data tables in DB - A. This works.

    5. choose another database (DB - B)

    6. run the same sequence

    7. check the result data tables in DB - B. They are not DB - B.

    8. check the result data tables in DB - A. They are in DB - A.

    It seems that the global variable of the station can be passed to the configuration database before you start to execute any order. The next event in the sequence, it does not take effect more.

    I wonder if I need to change a reminder to operate correctly.

    No idea why it behaves in this way? Here is a screenshot of my setup of database:

    Thanks in advance for any pointer.

    Yours,

    chati

    Hello Warren_Scott,

    apparently in my case, when I change the database between runs, I can simply turn off the option "Share Data Link between executions" in the result of treatment-> database option and it will work. Thanks for your suggestions.

    Yours,

    chati

  • Download 10.1 for testing

    Anyone know where I can get a bootloader 10.1 for test my application 10.1?

    Hello! What camera do you use? The links are still active, but no mention on the download page. Some of them can be found via google. For example, AutoLoader for Dev Alpha C:
    http://developer.BlackBerry.com/Native/downloads/FETCH/autoload-DevAlphaC-10.1.0.1485.exe

    In addition, there is a lot of beta versions on CrackBerry, usually, I test with them.

  • How to make a database for an application

    How to make a database for an application. I can create it outside somewhere in my computer and then copy it into the current folder? or is there a standard way?

    Yes you can do it outside if you wish, two programs I've used SQLite Browser and sqlitestudio two do work but sqlitestudio has more features and is the one I now use exclusively.

    There are many others, however, simply search for sqlite application in google.

  • A web application from merger can also run on Smartphones? So what of the database for mobile?

    Mr President.

    A web application from merger can also run on Smartphones? So what of the database for mobile?

    Concerning

    Any web application can run on smart phone because you access this browser so no need of database or application server on your mobile phone

    It's the same access to a Web site on mobile

    If you are talking about the mobile app

    check - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html

    Ashish

  • The use of tables of database for authentication in the ADF

    Hello

    I need to use my user table in the database for authentication in ADF (adf 11.1.2).

    I have 3 categories: agent admin and user is unique, each has its own page, logging, the application checks the type of user and directs its jsf task or the page of the jsf page flow.

    I have a user with the type attribute table

    HOW CAN I MAKE THIS PRAYER.

    Hello

    See links below.

    Whatever Fusion Middleware: Tables database user to implement authentication in the ADF

    Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider

  • Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Your subscription to cloud shows correctly on your account page?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    If you have more than one email, you will be sure that you use the right Adobe ID?

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

Maybe you are looking for