Copy of a DB in Oracle 10g Express edition

Hi!
I´m trying to copy a DB in Oracle 10g xe, bu i don´t have success. How do i can copy all the tables and the schema of a DB to other DB?
Can someone help me in this task? Show me tutorials for this task can help very much.
PS: My english is not so good.

Are you going from an XE install to an XE install on another host? XE will only allow one database to run at a time, and if you want to keep the original instance intact you'll need a couple extra steps.
The cold file copy method (with the database down) is generally easiest, no media recovery needed since the datafiles are closed and no changes in can take place- here's a page with step-by-step instructions: http://www.dba-oracle.com/oracle_tips_db_copy.htm

Similar Messages

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • How get scott user database schema in oracle 10g express edition

    hi
    plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
    Iam created the user as scott but but i didn't get the table details
    ...plz give me the details correctly.

    You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
    Rem Copyright (c) 1990 by Oracle Corporation
    Rem NAME
    REM    UTLSAMPL.SQL
    Rem  FUNCTION
    Rem  NOTES
    Rem  MODIFIED
    Rem    gdudey       06/28/95 -  Modified for desktop seed database
    Rem    glumpkin   10/21/92 -  Renamed from SQLBLD.SQL
    Rem    blinden   07/27/92 -  Added primary and foreign keys to EMP and DEPT
    Rem    rlim       04/29/91 -          change char to varchar2
    Rem    mmoore       04/08/91 -          use unlimited tablespace priv
    Rem    pritto       04/04/91 -          change SYSDATE to 13-JUL-87
    Rem   Mendels     12/07/90 - bug 30123;add to_date calls so language independent
    Rem
    rem
    rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
    rem
    SET TERMOUT OFF
    SET ECHO OFF
    rem CONGDON    Invoked in RDBMS at build time.     29-DEC-1988
    rem OATES:     Created: 16-Feb-83
    GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
    ALTER USER SCOTT DEFAULT TABLESPACE USERS;
    ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
    CONNECT SCOTT/TIGER
    DROP TABLE DEPT;
    CREATE TABLE DEPT
           (DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
        DNAME VARCHAR2(14) ,
        LOC VARCHAR2(13) ) ;
    DROP TABLE EMP;
    CREATE TABLE EMP
           (EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
        ENAME VARCHAR2(10),
        JOB VARCHAR2(9),
        MGR NUMBER(4),
        HIREDATE DATE,
        SAL NUMBER(7,2),
        COMM NUMBER(7,2),
        DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
    INSERT INTO DEPT VALUES
        (10,'ACCOUNTING','NEW YORK');
    INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
    INSERT INTO DEPT VALUES
        (30,'SALES','CHICAGO');
    INSERT INTO DEPT VALUES
        (40,'OPERATIONS','BOSTON');
    INSERT INTO EMP VALUES
    (7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
    INSERT INTO EMP VALUES
    (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
    INSERT INTO EMP VALUES
    (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
    INSERT INTO EMP VALUES
    (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
    INSERT INTO EMP VALUES
    (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
    INSERT INTO EMP VALUES
    (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
    INSERT INTO EMP VALUES
    (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
    INSERT INTO EMP VALUES
    (7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
    INSERT INTO EMP VALUES
    (7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
    INSERT INTO EMP VALUES
    (7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
    INSERT INTO EMP VALUES
    (7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
    INSERT INTO EMP VALUES
    (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
    INSERT INTO EMP VALUES
    (7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
    INSERT INTO EMP VALUES
    (7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
    DROP TABLE BONUS;
    CREATE TABLE BONUS
        ENAME VARCHAR2(10)    ,
        JOB VARCHAR2(9)  ,
        SAL NUMBER,
        COMM NUMBER
    DROP TABLE SALGRADE;
    CREATE TABLE SALGRADE
          ( GRADE NUMBER,
        LOSAL NUMBER,
        HISAL NUMBER );
    INSERT INTO SALGRADE VALUES (1,700,1200);
    INSERT INTO SALGRADE VALUES (2,1201,1400);
    INSERT INTO SALGRADE VALUES (3,1401,2000);
    INSERT INTO SALGRADE VALUES (4,2001,3000);
    INSERT INTO SALGRADE VALUES (5,3001,9999);
    COMMIT;
    SET TERMOUT ON
    SET ECHO ON

  • Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3

    I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
    I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
    # sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
    The error I had got is as follows:
    Preparing.....#####################[100%]
    1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
    error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum Mismatch

    The steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
    I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
    The Previous Query is as follows:
    Thanks For Guiding Me All of you!
    Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
    Now, I am having the following problems:
    After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
    1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
    " The connection was refused when attempting to contact 127.0.0.1:8080 "
    2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
    ORA-01034 : Oracle not available
    ORA-27101: Shared Memory realm does not exist
    Linux Error:2:No such file or directory
    3. When I try to manually start the Listener or Services, It gives one more error:
    Root Not a Member of DBA Group
    I need to What is happening or What is the Problem and How will I rectify them?

  • Creating database oracle 10g express edition

    1. can we create more than one database in oracle 10g express edition?
    2. can we rename database name default "XE" in Oracle 10g express edition?

    >
    1. can we create more than one database in oracle 10g express edition?
    >
    No you cannot.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
    >
    3.2 Oracle Database XE Installation and Execution Restrictions
    <li>On a single computer, only one installation of the Oracle Database XE software can be performed.</li>
    <li>In addition, users can run only one instance of the Oracle Database XE database on each individual computer.</li>
    To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
    >
    >
    2. can we rename database name default "XE" in Oracle 10g express edition?
    >
    Yes you can. Please see the link below for details.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:963124000346653522
    XE questions are best answered here {forum:id=251}
    Regards,
    Phiri

  • Oracle 10g express Edition Database

    We are using oracle 10g express edition with a temporary storage space for a class using SQL. When creating and using the database, the data is being deleted after 1 or 2 days and students are having to start over, creating tables and inserting data. Any suggestions?

    suggestions?Backups?
    Or, as long as the DDLs and DMLs don't take long, rerunning table create and insert SQLs would probably be much faster than setting up the database(s) in archivelog mode and copying datafile/archivelog files or rman backup files someplace that won't get reimaged every other day.

  • Issues during reinstallation Oracle 10g express edition and Forms 6i

    I've been racking my head over this issue for the past two three days. Exasperated, I tried searching in the forums but could not find a specific scenario like this.
    I am facing issues while trying to get forms 6i to work with oracle 10g Express edition
    i have windows XP home edition (installed service pack 2) and installed oracle 10g express edition as well as the oracle 10g express client and SQL developer on the same machine. The database started fine and I was able to use Enterprise manager.
    After that I tried installing Forms 6i and whatever i try i am not able to connect to the database from Forms though I was able to connect easily from SQL developer. I used to get the error 12154 "TNS:could not resolve service name"
    I dont know if Forms 6i expects the database connector string in some particular format. I searched on the net and found some people solved the issue by reinstalling the database software.
    My machine name was complex so I changed it as well and reinstalled the software. Again the DB was fine and connections were fine but no way I could get forms to connect to the DB. All the time
    I tried installing Forms to the same folder that Oracle express edition home in the hope that it might fix the problem. That only caused my database to crash. The oracle xe service shows as started but the Enterprise manager link does not work and it seems the database is down. I tried uninstalling and reinstalling client and server to no avail.
    Has anyone gone through such a situation and solved this ? Appreciate your help.

    The statement about XP Home is correct, but in this case I would say the initial problem (Forms and ORA-12154) is independent of that, it also happens in a supported environment. I think it's the old problem, a second Oracle home was installed, but tnsnames.ora containing the connect informations is located in the first home.
    Either tnsnames.ora is copied from to <Second_ORACLE_HOME>\network\admin or the environment variable TNS_ADMIN is set system-wide to <First_ORACLE_HOME>\network\admin.
    I think now it's necessary to create a clean machine (remove all Oracle components as explained in the database installation guide for Windows). Then repeat the installation , but XE and Forms 6i in different ORACLE_HOMEs.
    Werner

  • Backing up all data and objects of Oracle 10g Express Edition...

    Hi,
    I have tables, packages, views, procedures, etc. in Oracle 10g Express Edition, running on Windows XP. I would like to create a backup of the complete database (objects, relationships, all data, etc) into a file that I can restore in case the database crashes.
    What do I do?
    Thanks.

    markk2 wrote:
    I am actually using it for Production. Yes, I would need objects and data.I would suggest to look at the Standard Edition as well if you are using it for production.
    Is there a way to backup everything without data and then backup everything with data? Also, is there a way to restore everything without data and then restore everything with data?What's the meaning of "backup everything withiut data" and "then backup everything with data" ? The data is in the tables alone. The rest of the objects are not containing data but are using it, be it views, procedures etc. There is no such restore like without data. Without data, all what you would be getting would be structures of the tables which is going to be of no use. The export/import tool, is a simple tool which can put the tables (and other objects as well) along with their data in your dumpfile . In the situation of loss of a table, you can do an import from that dump file and you can restore the table back(with or without data, depends on the choice of yours while running Import command) . But this is just going to be a logical recovery of the object(s). For a complete database, it's better to use RMAN which would copy the datafiles and keep it with itself. Later, when you have a crash, you can restore those files to get teh database recovered. But if you want complete security, its better to put your db in the archive log and then do the backup along with the archive log files.
    HTH
    Aman....
    How to do this exactly? Thanks!

  • MSAccess 2003-plugin-Oracle 10g Express Edition

    Hello!
    Say, I've read a few posts on people who seem to have this similar problem about the MSAccess plugin. However, I have this situation and I'm still getting the 'Plugin not being found' error message...
    I have Windows XP Pro SP2 and MSAccess 2003 and using the Oracle 10g Express Edition.
    I have downloaded and unzipped the 'omwb.zip' file into: C:\omwb1010 - directory. After this unzip, I have downloaded the MSAccess.zip file into the C:\omwb1010\omwb\plugins - directory, 'saving' it as MSAccess.jar. I then go to the 'bin' directory and run the omwb.bat file. I enter the appropriate information for the 'Oracle Database Repository'. I use 'SYSTEM' for the 'Username' (is this correct or do I use something like the 'HR' that is already created?). When I click 'OK', the 'Plugin' error message pops up!
    Where am I going wrong??
    Thanks in advance...!!
    Dan...

    Hello!
    In thinking about my problem here... Since I have WIN XP Pro SP2 installed, I don't need to install the MDAC file. But, is the OMWB bat file checking the 'drivers' folder under the omwb\ directory for the driver and Not where the WIN XP Pro SP2 put it...? This 'stuff' is new to me and so IF this is the case, I assume I would need to copy this driver from its current location and paste it to this 'drivers' folder. So, where would I go look for this 'driver' to copy??
    Thanks in advance...!!

  • Can't uninstall or reinstall oracle 10g express edition in w/server 2003

    Hi,
    I need help from all of you, i already install oracle 10g express edition in
    windows server 2003 in D drive. but i can't remove because the oracle not in
    the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the
    database but can't go to the database home page.The error message (the install
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service , reboot the systemand retry the installation) can any one guide me to use
    command prompt to remove.
    My email address [email protected]
    Thanks

    Hi,
    Perform the following steps, this will solve your problem and can go with new installation. :-)
    (Only perform the steps 7.2 section and here is the link : http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABDJDCD
    Manually Removing Oracle Database XE
    If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
    Step 1: Stop the Oracle Database XE Services
    Step 2: Remove the Oracle Database XE Registry Editor Settings
    Step 3: Update the System Variable Path
    Step 4: Remove Oracle Database XE from the Start Menu and Desktop
    Step 5: Remove the Oracle Database XE Directories
    Step 6: Install and Run the Windows Installer CleanUp Utility
    7.2.1 Step 1: Stop the Oracle Database XE Services
    Follow these steps:
    1. Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
    2. If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
    OracleXE
    OracleXETNSListener
    OracleJobSchedulerXE
    OracleXEClrAgent
    OracleMTSRecoveryService
    3.
    Exit Services.
    See also the Microsoft online help for more information on stopping services.
    7.2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
    Follow these steps:
    1.
    Log on to Windows with Windows administrative privileges.
    2.
    Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
    3.
    Start the Registry Editor at a command prompt:
    SYSTEM_DRIVE:\> regedit
    4.
    Go to HKEY_CLASSES_ROOT.
    5.
    Delete the following keys:
    NEED TO CONFIRM THE XE-SPECIFIC ONES.
    6.
    Go to HKEY_CURRENT_USER\Software.
    7.
    Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
    8.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    9.
    Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
    10.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
    11.
    Expand the ODBCINST.INI key and remove the Oracle in XE key.
    12.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    13.
    Delete the following keys:
    OracleServiceXE
    OracleXEClrAgent
    OracleXETNSListener
    14.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
    15.
    Delete the Oracle.xe key.
    16.
    Exit the Registry Editor.
    17.
    Restart your computer.
    Thanks,
    Rams...
    Edited by: user10888288 on May 3, 2010 5:58 AM

  • Can't uninstall or reinstall oracle 10g express edition in windows server 2

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

  • Oracle 10g Express Edition presentation

    Hi everybody,
    I'm an Italian university student and I have to make a presentation about Oracle 10g Express Edition for an exam. The points of this presentation will be:
    - Portability
    - Compatibility with SQL92 standard
    - Interfaces
    - Installation and hardware resources
    - Costs and license
    - Security
    - Performance
    I'm very new in the Oracle world, can anyone help me or suggest sites where I can retrieve the information I need.
    Thanks

    Si offende qualcuno o semplicemente capisce meno gente? Penso più la seconda, ma mi sembra più "educato" usare l'inglese, in modo che tutti capiscano.
    Translation :
    I think it would be more correct using English, so that everyone can understand.
    Paolo

  • Oracle 10G EXPRESS EDITION  suitable for windows7

    hi to all
    can u  guys plz provide me the oracle 10g express edition  download link for windows7
    i had already downloaded one for windows7 but when i go to instal it i cant able to run it, and that to the downlOaded file says THE PUBLISHER OF THIS PROGRAM COULDN'T BE VERIFIED.
    SO CAN U PLZ PROVIDE ME LINK ASAP.
    THANKS IN ADVACE.

    yaa.i downloaded the oracleXEUNIV FILE.
    but the file dont have the .exe extension,and i cant able to run it.
    after i run the file
    the system says
    DO U WANT TO OPEN THE FILE
    i click on OPEN
    THEN is shows OPEN WITH INTERNET EXPLORER,ADOBE.........
    CAN U PLZ LET ME HOW TO INSATLL IT..

  • Oracle 10g Express Edition    Host , Port, ServiceId(SID)

    Hi
    I am trying to connect Oracle 10g Express Edition from Net Beans. But it is prompting for the following detials.
    Host , Port, ServiceId(SID).
    Please help me .
    Thanks in Advance.
    PurnachandraRao.

    Drop down to a command line. Enter the command 'lsnrctl status'. That will tell you all this information.
    Often it is 'localhost', port 1521, and always SID=XE

  • Oracle 10g Express Edition

    Hi All,
    A newbie quesion. I have Oracle 8i in my laptop, I want to install Oracle 10g Express edition, can i have both together ?
    Regards
    Ravi Kumar

    Yes, you can have as many Oracle homes as you require and as the host can hold, as long as you are careful and disciplined with the way you manage your ORACLE_HOME and PATH environment variables.
    ~ Madrid
    http://hrivera99.blogspot.com

Maybe you are looking for