How to create a duplicate database

version 10.2.1.0
i just got a laptop and i needed to create a duplicate db from the server. i was thinking installing oracle binaries and restoring from the backup of the server will do the trick.
Also i intended making the duplicate a standby. pls is there any guide to this.

Hi,
I suggest to follow the ORACLE Documentation first.
Second, understand the thingsand there purpose, since as you stated that its a production DB (Don't mess it or screw up the DB by doing some thing). I suggest consult the DBA and as k him to do that.
If you want to do it by your self check with him and consult before doing it, since productiion DB access would not be given to every one AFAIK.
Any how as per your requirement, check the document.
Others : http://blog.platinumsolutions.com/files/cloning.doc
- Pavan Kumar N

Similar Messages

  • How to create tree by database table

    hello sir ,
    my table is as follows,
    NAME LINK ID PID ROLLID
    User mgt. f?p=131:1: 1 - 10 ////root node///
    district 10 1 1 child
    Roles 16 14 4 child
    Users 11 10 1 child
    ROLLID is given from another table whis is (ROLES). i making tree by the combinations of id , pid, & roll id. by the roll id i can manage the tree to do not display specific nodes to specific users.
    ROLE table as :
    ROLE_ID NAME DESCRIPTION
    1 Administrator This is administrator
    2 Assistant Director -
    3 Assistant Statistical Officer -
    4 Data Entry Operator -
    but i think it is very complicated process . give me solution about it
    also i have to give my images to each node. how can i do that?

    You already have a thread going about this: Re: how to create tree by database table .
    Scott

  • How to create a standby database?

    I am running Oracle 8.1.5 on Sun Solaris. How to create a standby database? Can somebody tell me the step-by-step procedure?

    Can you tell what version of Oracle you are running, because the steps can vary depending on your version.

  • How to create a new database in SUP

    Hi,
    Iam using SUP 2.1 ESD#1 licensed version
    How to create a new database other than the default sampleDB.
    Thanks,
    B.Ushasri

    Hi B.Ushasri,
    This is actually pretty easy.
    1) open the Unwired Workspace (SDK in eclipse).
    2) Bottom right, add a new Database connection with the following details:
               Sybase ASA v12.x,
               host=Your Sup box,
               port=5500,
               user=dba
               password= Your password (default = dba)
    3) Once you connect successfully, right click on the connection and choose the "Create database" option.
    That should do it for you. It is the same connection as the sampleDB connection so if you already have that defined then its a simple, right click on it once connected and hit create database.
    Hope that helps,
    Brenton.

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • How to create a logical database?

    Hi,
    Can anyone tell me how to create a logical database? I am curious about it.
    Thanks.
    Awards will be provided.
    Best regards,
    Chris Gu

    Transaction code for creating Logical db is se36.
    Give the name as <ldbname>..
    Specify the table names and the sub nodes according to your heirarchy.The root node used is zxxx_product and child node is zxxx_orders
    The heirarchy used is ZXXX_PRODUCT---->ZXXX_ORDERS
    write the below code under selections ...
    Enable DYNAMIC SELECTIONS for selected nodes :
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE zxxx_product.
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE zxxx_orders.
    Enable FIELD SELECTION for selected nodes :
    SELECTION-SCREEN FIELD SELECTION FOR TABLE zxxx_product.
    SELECTION-SCREEN FIELD SELECTION FOR TABLE zxxx_orders.
    ***User defined blocks :
    ****Root node
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .
    SELECT-OPTIONS :
    so_pname FOR zxxx_product-prname ,
    so_pdelv FOR zxxx_product-prdeldate .
    SELECTION-SCREEN END OF BLOCK b1 .
    ****Child node
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .
    SELECT-OPTIONS :
    so_odate FOR zxxx_orders-orddate ,
    so_oqty FOR zxxx_orders-ordqty .
    SELECTION-SCREEN END OF BLOCK b2 .
    write the below code under include include DBZXX_PRODUCTTOP
    TABLES : ZXXX_product, ZXXX_orders.
    DATA : gt_root TYPE table of ZXXX_product ,
    gt_chld TYPE table of ZXXX_orders .
    write the below code under source code...
    Call event GET Zxxx_PRODUCT
    FORM put_zxxx_product.
    TYPES : BEGIN OF ls_pid ,
    prodid TYPE zxxx_product-prodid,
    END OF ls_pid .
    DATA : lt_pid TYPE ls_pid OCCURS 0 ,
    lt_pid_tmp TYPE ls_pid OCCURS 0 .
    STATICS lv_first_time VALUE 'X'.
    STATICS ls_isroot_fields TYPE rsfs_tab_fields.
    STATICS ls_isroot_where TYPE rsds_where.
    STATICS ls_ischld_fields TYPE rsfs_tab_fields.
    STATICS ls_ischld_where TYPE rsds_where.
    IF lv_first_time EQ 'X'.
    CLEAR lv_first_time.
              o
                    + Declarations for field selection for node Zxxx_PRODUCT ***
    " move table name to the corresponding field
    MOVE 'Zxxx_PRODUCT' TO ls_isroot_fields-tablename.
    " Read values from selection screen
    READ TABLE select_fields WITH KEY ls_isroot_fields-tablename
    INTO ls_isroot_fields.
    " move table name to the corresponding field
    MOVE 'Zxxx_PRODUCT' TO ls_isroot_where-tablename.
    " Read values from dynamic selection screen
    READ TABLE dyn_sel-clauses WITH KEY ls_isroot_where-tablename
    INTO ls_isroot_where.
              o
                    + Declarations for field selection for child node Zxxx_ORDERS ***
    MOVE 'Zxxx_ORDERS' TO ls_ischld_fields-tablename.
    READ TABLE select_fields WITH KEY ls_ischld_fields-tablename
    INTO ls_ischld_fields.
    MOVE 'Zxxx_ORDERS' TO ls_ischld_where-tablename.
    READ TABLE dyn_sel-clauses WITH KEY ls_ischld_where-tablename
    INTO ls_ischld_where.
    "...Check whether entry is made in atleast one selection field:
    IF NOT so_pname IS INITIAL OR
    NOT so_pdelv IS INITIAL OR
    NOT so_odate IS INITIAL OR
    NOT so_oqty IS INITIAL OR
    NOT ls_isroot_where-where_tab IS INITIAL OR
    NOT ls_ischld_where-where_tab IS INITIAL .
    "...Check whether entry is made in atleast one field in root node :
    IF NOT so_pname IS INITIAL OR
    NOT so_pdelv IS INITIAL OR
    NOT ls_isroot_where-where_tab IS INITIAL .
    SELECT prodid FROM Zxxx__product
    INTO CORRESPONDING FIELDS OF TABLE lt_pid
    WHERE prname IN so_pname AND
    prdeldate IN so_pdelv AND
    (ls_isroot_where-where_tab).
    "...Check whether entry is made in atleast one field in child node:
    IF NOT so_odate IS INITIAL OR
    NOT so_oqty IS INITIAL OR
    NOT ls_ischld_where-where_tab IS INITIAL AND
    NOT lt_pid IS INITIAL.
    SELECT prodid FROM Zxxx_orders
    INTO CORRESPONDING FIELDS OF TABLE lt_pid_tmp
    FOR ALL ENTRIES IN lt_pid
    WHERE prodid = lt_pid-prodid AND
    orddate IN so_odate AND
    ordqty IN so_oqty AND
    (ls_ischld_where-where_tab).
    lt_pid = lt_pid_tmp.
    ENDIF.
    ELSEIF NOT so_odate IS INITIAL OR
    NOT so_oqty IS INITIAL OR
    NOT ls_ischld_where-where_tab IS INITIAL.
    SELECT prodid FROM Zxxx_orders
    INTO CORRESPONDING FIELDS OF TABLE lt_pid
    WHERE orddate IN so_odate AND
    ordqty IN so_oqty AND
    (ls_ischld_where-where_tab).
    ENDIF.
    ******lt_pid contains all the selections based product ids
    ******Now retrieve all the records with the corresponding product ids
    CHECK NOT lt_pid IS INITIAL.
    IF NOT ls_isroot_fields IS INITIAL.
    SELECT (ls_isroot_fields-fields) FROM Zxxx_product
    INTO CORRESPONDING FIELDS OF TABLE gt_root
    FOR ALL ENTRIES IN lt_pid WHERE prodid = lt_pid-prodid.
    ENDIF.
    IF NOT ls_ischld_fields IS INITIAL AND
    NOT gt_root IS INITIAL.
    SELECT (ls_ischld_fields-fields) FROM Zxxx_orders
    INTO CORRESPONDING FIELDS OF TABLE gt_chld
    FOR ALL ENTRIES IN gt_root WHERE prodid = gt_root-prodid.
    ENDIF.
    LOOP AT gt_root INTO Zxxx_product.
    PUT Zxxx_product.
    ENDLOOP.
    ENDIF.
    ENDIF.
    ENDFORM.
    write the below code under
    include DBZXXX_PRODUCTNXXX -->
    include DBZXXX_PRODUCTN002 .
    form put_zxxx_orders
    LOOP AT gt_chld INTO zxxx_orders WHERE prodid = zxxx_product-prodid.
    PUT ZXXX_ORDERS.
    ENDLOOP.
    endform.
    now write a report program and call the ldb by its name using get
    get <ldbname>.
    Reward if this is useful.
    Regards,
    devi.
    Edited by: Devi Raju on Jul 15, 2008 9:13 AM

  • How to create User and Database in different Table spaces

    How to create User and Database in different Table spaces using oracle 10g
    Regards
    daya

    I am sorry but your question does not seem to make much sense.
    Can you please rephrase your question?

  • How to create physical standby database without dataguard

    Hi,
    Can anyone please help me how to create Physical Standby Database without dataguard. As i am using Oracle 10.2.0.1 Standard Edition for production databases.
    Please find the specifications of my server :
    Database : Oracle 10.2.0.1(Standard Edition)
    Server : Linux 4.0(32 bit machine)
    As we know that Dataguard cannot be created in Standard Edition as we dont have that option in this edition. So please help me how to create the physical standby database.
    Thanks in advance.
    Regards,
    Farooq

    Hello,
    I hope this link helps you out...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm
    http://www.dbasupport.com/oracle/ora10g/manual_standby.shtml
    Thanks & Regards
    Pratik Lakhpatwala
    Jr Oracle DBA
    Edited by: Pratik.L on Dec 31, 2009 12:03 PM

  • How to create a oracle database by java code?

    how to create a oracle database by java code?
    please give some ways then that way's code

    I'm not sure what you mean with "database". Do you mean an Oracle instance or an Oracle user/schema (probably the latter, because that's the equivalent to a MS SQL Database).
    Creating an instance is definitely not possible from within Java. To create a new user this should be possible, as this can be done with SQL:
    GRANT connect,resource TO <newuser> IDENTIFIED BY <password>;
    I'm always cautious with questions like this. In 90% of the cases there is something wrong with the initial design. Creating a database shouldn't be something the application is doing.
    Thomas

  • How to create a Cloning Database

    Dear all,
    Would you plz help me with How to create a Cloning Database in Oracle9i and Windows 2000 Server
    and how to automatically synchronize the cloned database with data
    Thanks,
    Ahmed Abd El Latif

    Oracle Data Guard Concepts and Administration
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/toc.htm
    theres the answer to your question.
    In big detail.
    i hope it helps

  • How to create tables in Database when webdynpro project is deployed

    Hi
    I Created a project.in that i created stuctures using simpletypes.Based on structure  i created the Context,then created screens.Now how to create tables in database using this structures .Because i want to store the values in the database.Please help.this is very urgent.i will give good points
    thanks
    prasad

    Hi Prasad,
    You can write normal JDBC code in your controller.
    Check this Web Dynpro Java
    You can use the tool for generating the classes from your DB.Check this too
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dfad6017-0301-0010-bdb8-a8b7d2006f36
    Best Regards, Anilkumar

  • How to create an Oracle DATABASE through Java Programming Language.. ?

    How to create an Oracle DATABASE through Java Programming Language.. ?

    Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
    In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
    So a certain amount of manual installation will always be required.
    Typically you would supply the SQL scripts, and a detailled installation document too.
    regards,
    Owen

  • How to create a BAM database in enterprise version

    Hi,
    I need to configure and create a BAM database for my client in an AL Process Interaction installation. I tried to follow the documentation to create the BAM schema, but was not successful. It threw me a message telling me the Driver was not found. I did not see any documentation how to register a driver in the Process Administrator.
    Is there any specific documentation for Configuring BAM. Also I was not able to run the BAM reports in the Process Designer. Has anybody done this before?? If so any documentation of how to do that will help.
    Thanks
    Pal

    Hi Raul,
    Thanks for the information. I guess in ALIP if you choose database subtype as SQL Server(Plumtree), then you dont have to install drivers.
    Now I was able to create the BAM database. THen I installed the Fuegowarehouse service. When I start the servide I see the following error. But is there any config file where I can increase the maximum fetch size??
    THanks
    Pal
    <F> 07/07/06 13:46:51] The number of entries retrieved is larger than the maximum fetch size.
    fuego.directory.exception.FetchSizeExceededException: The number of entries retrieved is larger than the maximum fetch size.
         at fuego.directory.exception.FetchSizeExceededException.createWithList(FetchSizeExceededException.java:53)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor$2.visit(PlumtreeParticipantsAccessor.java:168)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor.visitAllPersons(PlumtreeParticipantsAccessor.java:662)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor.fetchAllHumanParticipants(PlumtreeParticipantsAccessor.java:155)
         at fuego.directory.DirHumanParticipant.fetchAll(DirHumanParticipant.java:379)
         at fuego.directory.DirHumanParticipant.fetchAll(DirHumanParticipant.java:342)
         at fuego.analyzer.OrganizationMetadata.synchronizeParticipants(OrganizationMetadata.java:320)
         at fuego.analyzer.OrganizationMetadata.synchronize(OrganizationMetadata.java:113)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:455)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:270)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:173)
         at fuego.analyzer.service.BAMUpdaterRunnerService.run(BAMUpdaterRunnerService.java:97)
         at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.runItem(WarehouseService.java:377)
         at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.run(WarehouseService.java:310)
    [<S> 07/07/06 13:46:51] Updater runtime exception.
    Caused by: The number of entries retrieved is larger than the maximum fetch size.
    fuego.analyzer.UpdaterRuntimeException: Updater runtime exception.
         at fuego.analyzer.UpdaterRuntimeException.wrapException(UpdaterRuntimeException.java:85)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:278)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:173)
         at fuego.analyzer.service.BAMUpdaterRunnerService.run(BAMUpdaterRunnerService.java:97)
         at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.runItem(WarehouseService.java:377)
         at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.run(WarehouseService.java:310)
    Caused by: fuego.directory.exception.FetchSizeExceededException: The number of entries retrieved is larger than the maximum fetch size.
         at fuego.directory.exception.FetchSizeExceededException.createWithList(FetchSizeExceededException.java:53)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor$2.visit(PlumtreeParticipantsAccessor.java:168)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor.visitAllPersons(PlumtreeParticipantsAccessor.java:662)
         at fuego.directory.provider.plumtree.PlumtreeParticipantsAccessor.fetchAllHumanParticipants(PlumtreeParticipantsAccessor.java:155)
         at fuego.directory.DirHumanParticipant.fetchAll(DirHumanParticipant.java:379)
         at fuego.directory.DirHumanParticipant.fetchAll(DirHumanParticipant.java:342)
         at fuego.analyzer.OrganizationMetadata.synchronizeParticipants(OrganizationMetadata.java:320)
         at fuego.analyzer.OrganizationMetadata.synchronize(OrganizationMetadata.java:113)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:455)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:270)
         ... 4 more
    [<F> 07/07/06 14:02:11] The number of entries retrieved is larger than the maximum fetch size.

  • How to create a duplicate of the Manager ID field in the Create user menu

    Hi,
    I´m trying to create a duplicate of the Manager ID field in the Create user menu (with a different label). I need to add it a field with the same funtionality of the Manager ID field (search users with filters) but I don´t know how.
    I try to made a new adapter using the Thor.API.Operations.tcUserOperationsIntf but it don´t let me to map the input parameters.
    Also I try to assing an existent Lookup to a new UDF, but I couldn´t find the correct one.
    Did anybody do that??
    Thanks!

    Hi Kevin,
    First I created a a user defined field called USR_UDF_CONDUCTOR (Lookupfield type).
    Then I added the following lines to de FormMetaData.xml file:
    </Attribute name="-750" label="global.label.conductor" displayComponentType="LookupField" variantType="long" dataLength="50" map="USR_UDF_CONDUCTOR">
    <ValidValues lookupMethod="findUsersFiltered" operationClass="Thor.API.Operations.tcUserOperationsIntf" displayColumns="Users.User ID,Users.Last Name,Users.First Name" selectionColumn="Users.User ID"/>
    </Attribute>
    <AttributeReference editable="true" optional="true">-750</AttributeReference>
    When I try yo Create a new user, the OIM System Administrator returns a System Error.

  • How to create a new DataBase using Oracle 10g Express Edition???

    Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
    Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
    could anyone please explain to me how to do it?

    A SQL Server database is roughly equivalent to an Oracle schema.
    You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
    However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
    You can create other schemas simply by
    1) creating a userid that will own the schema (one designated for maintenance of the schema);
    2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
    3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
    4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
    5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
    6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
    7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
    In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

Maybe you are looking for

  • Previous Message in Compose Section of Messages

    Weird problem. My messages app keeps showing my previous sent message already typed out in the "compose" field. Meaning when I open a message from someone it already has a typed out response, in the form of my previous text to that contact. So I lite

  • Captivate 7 - Videos not playing

    I have inserted videos into a Captivate 7 presentation.  However, when I publish they do not play in the SWF file format, work fine in PDF (of course).  I have encoded the videos from mp4 to flv to f4v using the Adobe Media Encoder.  I have ensured a

  • ITunes 7.+Compatability with Ask the DJ --getting nowhere

    I have iTunes 7.0+ & Ask the DJ on my MacBookPro. When I drag tunes to ATDJ they get all bpm ect. but when I play them they're garbled then just stop. It only happens on MBP none of the other machines, I've erased the old copies & downloaded new soft

  • Oracle BI Admin Tool: copying permissions from group to group

    Hi! I'm working with Oracle BI Admin Tool (10.1.3.4). I have a lot of groups in the repository. I want to create a seperate group for each department and set filter for each group. For example, group 'Market' should see data only from the Marketing d

  • Hyerion Analyzer admin user

    I just installed Hyperion Analyzer 7.2.5.3 Does anybody know what is the admin userid and password. I don't remember entering any userid/password during installation except for repository. That userid password does not work. I need to create more use