Creating a new database with exporrt file

Hi there,
I am to create a new database with an export file.
I have the export file (exp) and the new environment set up (Oracle10g on UNIX)
Can someone gimme some guide lines and what I might probably face and new to correct.
Regards.

Well I don't think that it would be possible to show you a full db import/export here. All you need to do s a full database import from the source database to the target database.
And I have to rrename
the db to some other name.
Use the DBNEWID utility to do it.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#i1004664
HTH
Aman....

Similar Messages

  • How to create an new administrator with ldif files

    I need another administrator as orcladmin for create an new tree in OID 11g which groups and right must this administrator have?

    Although you can create a superuser account that is able to manage entries, it won't be able to do so using ODSM until 11g Patchset 4.
    What this means is that you may use ldapbind/ldapmodify/ldapadd/ldapdelete commands with this new user to do the same operations that you would normally only do using the superuser, but that until a future patchset (currently slated for 11g patchset 4), this user will not be able to login to ODSM.
    Attempts to login to ODSM as this new user will fail with:
    Error:
    ODSM allows only super user to connect to OID.
    Connected user is not a super user.
    Identify the groups that the superuser is in, as follows:
    ldapsearch -p <OID_port> -h <OID_host> -D "cn=orcladmin" -w <pwd> -b "" -s sub "uniquemember=cn=orcladmin" dn
    Create a new user entry, to be used as the second superuser.
    Add this user as a uniquemember to all the same groups returned in. This can either be done manually, or via the ldapmodify/ldapadd command with an LDIF file with the following syntax:
    newadmin.ldif
    dn: cn=odisgroup,cn=odi,cn=oracle internet directory
    changetype: modify
    add: uniquemember
    uniquemember: cn=myadmin,cn=users,dc=myorg,dc=com
    dn: cn=Provisioning Admins,cn=changelog subscriber,cn=oracle internet directory
    changetype: modify
    add: uniquemember
    uniquemember: cn=myadmin,cn=users,dc=myorg,dc=com
    ldapadd -p <OID_port> -h <OID_host> -D "cn=orcladmin" -w <pwd> -f newadmin.ldif
    Thanks,
    ABP

  • Creating a new database with oracle express

    how to create a database with oracle express. the web based interface for managing oracle sucks and it is too slow, they'd bet better of developing a rich client application for managing XE. Oracle XE comapraed to SQL Express is very poor.

    Try to post it Oracle Database Express Edition (XE)<br>
    <br>
    Nicolas.

  • How adbldxml.pl creates the new database tier context file

    We just completed database upgrade from 9.2.0.6 to 9.2.0.8 to 11gR2 for 11.5.10.2 financial (on Windows 2003).
    Application seems working fine after upgrade, autoconfig on application and database tiers are all success, but I have an issue with adbldxml.pl.
    I have tried to run adbldxml.pl after upgrade, I can not sync the <s_perl5lib> and <s_adperlprg> oa_var on context it created with oa_var I read from OAM.
    On OAM PROD > AutoConfig > Environments > oa_environment:db_home, it read as,
    <s_adperlprg>D:\oracle\proddb\11.2.0\perl\bin\perl.exe
    <s_perl5lib>D:\oracle\proddb\11.2.0\perl\lib\site_perl\5.10.0;D:\oracle\proddb\11.2.0\appsutil\perl
    but the db context file created by adbldxml.pl read as,
    <s_adperlprg>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe
    <s_perl5lib>d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\5.00503\lib;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib\MSWin32-x86;d:\oracle\proddb\11.2.0\Apache\perl\site\5.00503\lib;d:\oracle\proddb\11.2.0\appsutil\perl;d:\oracle\proddb\11.2.0\appsutil\perl
    By my understanding, adbldxml.pl should take shell (DB DOS) evn perl settings to create context file, but it never takes env settings.
    I was wondering how does adbldxml.pl works? does it creates a context file by reading from database or take some templates or may be both? and eventually, how to solve the issue.
    thanks in advance.
    DW

    Thanks for reply.
    I did apply the TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U (9535311), it was a success from adpatch.
    I did apply the clone patches per Cloning Oracle Application Release 11i with Rapid Clone [ID 230672.1] 5. Apply the lastest Rapid Clone patches
    I have completed a rapid clone into a test server and ran clone scripts on app tier and db tier, the cloned application works fine as I can tell.
    I have tried (Autoconfig FAQ [ID 218089.1]), "I was instructed to change the value of the context variables s_adperlprg and s_perl5lib. How can I achieve that?"
    on the test server by setting perl5lib to the location it should be, but I ran adautocfg.pl instead of adconfig.pl, did it make difference? my understanding that adautocfg.pl
    will call adconfig.pl, are they interchangeable?
    Can I run adconfig.pl with context=<the correct context file> will make difference?
    adbldxml.pl is really stubborn, just won't bend.
    Would you mind advice me which table(s) in database contains these variables, I understand that it is not a good idea to modify the data in database directly, just curious?
    thanks
    DW

  • ORA-27102 when creating a new database

    I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
    We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
    $> sysctl -a
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.sem = 256 32000 100 128
    $> free
    total used free shared buffers cached
    Mem: 32890432 8599000 24291432 0 58084 6003368
    -/+ buffers/cache: 2537548 30352884
    Swap: 8385792 0 8385792
    So, why am I getting an "out of memory" message... I see 20+GB free...
    Edited by: jbednarz on Jan 14, 2009 3:08 PM

    jbednarz wrote:
    , I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
    kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
    There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation.

  • Database defragmentation or creating a new database?

    Hi,
    We want to reclaim the whitespace in our Exchange database, so do you recommend creating a second database and moving the mailboxes over there, or shall we go with offline defragmentation?
    Database size: 400GB.
    Mailboxes counts: 300.
    Thoughts and recommendations?

    How much free space is in your database?  If it's under 20%, then I'd stay as you are.  If it's between 20% and 40%, it becomes a judgment call.  If it's over 40%, then I'd create a new database and move the mailboxes - primarily because this
    will allow your users to access unless their specific mailbox is being moved (and even then, the access I available for most of the move anyway), and you will both remove whitespace and eliminate any bad items you may have in the database.  Just keep
    in mind that when you move the mailboxes, any recoverable mailboxes will remain on the original database unless you re-associate them with accounts so you can move them.  (And if you re-associate them with accounts and move them, their "deleted on"
    date counter will be reset to the date you move them, if you delete them again.)
    Taking the database offline so you can compact it will leave your users out of email access for the duration of the process.  And if you have a DAG and multiple database copies, you will need to reseed them each after the process is complete. 
    If you create a new database, with associated copies on other servers, the move mailbox process will automatically reseed the database.
    Ever since Exchange 2000, when multiple database were available on a single server, I have been leery of running an offline defrag.  And since Exchange 2010 and its move requests, I am adamant against doing one - we reclaimed nearly 24TB in our 24 databases
    (each was nearly 2 TB, and each is now under 1 TB), all using the process I suggest above.

  • Creating new database with old database datafile

    is it possible to create new database with old datafile
    i lost my database ,i have no back up, just i have datafiles,
    i want to create new database and want to create tablespaces with old datafiles
    pls suggest me right one
    tahnk you

    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 339559282 generated at 03/09/2008 12:23:01 needed for thread 1
    ORA-00289: suggestion : F:\ORA9IAS\RDBMS\ARC01901.001
    ORA-00280: change 339559282 for thread 1 is in sequence #1901
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log 'F:\ORA9IAS\RDBMS\ARC01901.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'F:\ORA9IAS\ORADATA\IASDB\SYSTEM01.DBF'

  • Access key needed when creating a new database table with SE11

    Hi,
    I'm using SAP Testdrive (evaluation) on linux in order to learn a bit about ABAP programming. I want to create a new database table in the  dictionary to be used in my programs. I proceed in the following way:
    1) I run the SE11 transaction
    2) At the first entry I write the name of the table to be created (in the Database Table field)
    3) I click on the create button.
    But then the system asks me an Access Key to register, where can I get this?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Ok I found the answer to my question in another thread
    Developer Key
    Make sure that your program names starts with "Z" or "Y", otherwise the system will ask you to register the object because it thinks you are creating/changing in the SAP namespace.
    In fact this was my error, my table name didn't start with neither "Z" nor "Y".
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on Nov 13, 2010 12:34 PM

  • Creating a new database using an MDF file

    My database saves as MDF. I want to know what are the steps to restore or create a new database using a MDF file? I tried to restore as usual but it shows an error. Please help.

    An MDF file isn’t a backup file isn’t the main data file (or master data file depending on who you ask) hence the file extension MDF. You can attach the MDF to the database by right clicking on the databases folder in Enterprise Manager (SQL 2000) or Management
    Studio (SQL 2005) then selecting all tasks and then Attach Database. When you do this you will get an error about the log file missing. This shouldn’t matter as SQL Server will simply create a new log file for you. This will only work if the SQL Server was
    stopped when you copied the MDF file from the old SQL Server. If you copied the file while the SQL Server was running this file probably will not attach either and you will need to get a valid backup of the database.
    Download help tool for sql database - SQL Server Restore Toolbox.
    http://www.sqlserver.restoretools.com/
    You can read up more on SQL Server here.
    http://www.filerepairforum.com/forum/microsoft/microsoft-aa/sql-server/498-creating-a-new-database-using-an- mdf-file?_=1416149856104

  • How to create new database with rman backup

    hi,
    i took a rman backup with nocatelog. can i make a new database with that rman backup.
    if yes then how ? i m using oracle 9i.
    thxs

    'NEW' doesn't seem to be the right word here, but you can DUPLICATE (clone) an existing database or restore it to a new host:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/toc.htm
    Werner

  • Creating a new database containing part of an existing database,same server

    Hi All Experts,
    I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
    1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
    2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
    3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
    4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
    5. Create a new init.ora file for the new database.
    6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
    I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
    This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
    Any urgent help would be greatly appreciated. Thanks in advance.

    At Step 4, did you use the SET <newdbname> in the create controlfile script ?
    At Step 5, did you change the db_name in the pfile ?
    nid is the new and easier way to change the database name.

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • TNS Protocol error in 11g when creating a new database

    Hi,
    I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
    I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
    =====================================================
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
    Time: 17-DEC-2009 10:30:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    =====================================================
    Some excerpts from the trace is:
    =====================================================
    2009-12-17 11:14:38.776040 : nsopen:opening transport...
    2009-12-17 11:14:38.776097 : ntpcon:entry
    2009-12-17 11:14:38.776140 : ntpcon:toc = 1
    2009-12-17 11:14:38.776196 : sntpcall:entry
    2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
    2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
    2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
    2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
    2009-12-17 11:14:38.796571 : sntpcall:exit
    2009-12-17 11:14:38.796674 : ntpcon:exit
    2009-12-17 11:14:38.796755 : nserror:entry
    2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2009-12-17 11:14:38.796861 : nsopen:unable to open transport
    2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
    =====================================================
    In /etc/host i have added server ip with host name.
    $ more /etc/host
    172.26.171.57 sol11oracle-vm
    The .profile of oracle user
    export TMP=/tmp
    export TMPDIR=$TMP
    export ORACLE_BASE=/export/home/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
    export ORACLE_SID=TSG11G
    export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
    Please suggest.

    $ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TSG11G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSG11G)
    $ tnsping tsg11g
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
    OK (50 msec)

  • HELP: Problem creating a new database in Oracle 9i

    I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
    I reproduce the steps taken by me.
    I have decide the database to be called Mydb. I have made the following directories:
    -- d:\mydb
    -- d:\mydb\data
    -- d:\mydb\control
    -- d:\mydb\log
    -- d:\mydb\bdump
    -- d:\mydb\cdump
    -- d:\mydb\udump
    -- d:\mydb\archive
    -- d:\mydb\pfile
    -- d:\mydb\scripts
    -- d:\mydb\exp
    I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
    -- db_name = mydb
    -- instance_name = mydb
    -- control_files = ("d:\mydb\control\control01.ctl")
    -- background_dump_dest = d:\mydb\bdump
    -- core_dump_dest = d:\mydb\cdump
    -- user_dump_dest = d:\mydb\udump
    -- remote_login_passwordfile = exclusive
    Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
    ifile=d:\mydb\pfile\initmydb.ora
    At DOS prompt, I run the following command:
    set oracle_sid=mydb
    I run the ORAPWD utility to create internal password file at the command prompt.
    d:
    cd \oracle\ora90\database
    orapwd file=pwdmydb.ora password=panther entries=25
    I create a Windows service for the database as follows:
    oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
    I get connected:
    sqlplusw /nolog
    connect sys/change_on_install as sysdba
    startup nomount # pfile=d:\mydb\pfile\initmydb.ora
    create database mydb
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    datafile 'd:\mydb\data\system.dbf' size 325m REUSE
    AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
    200m reuse
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    default temporary tablespace temptbs
    CHARACTER SET WE8MSWIN1252
    NATIONAL CHARACTER SET AL16UTF16
    logfile group 1 ('d:\mydb\log\log1.log') size 1m,
    group 2 ('d:\mydb\log\log2.log') size 1m,
    group 3 ('d:\mydb\log\log3.log') size 1m;
    Now I get the following error:
    create database mydb
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
    Thanks in anticipation.
    PS

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • Creating a new database

    Ok new to Sun JSE8. How do you create a new PointBase database? Do you have to have PointBase installed on you PC? or is it installed with JSE8? I have a application that was prototyped in Access and now we are going to do it in Java. This is a school project that we are working on but it will be used when we are done creating it. I looked in the help file but could not find out how to do it. I have used MSSql alot and can create a database there and then connect to it but we were trying to get away from MS products a non proft will be using our program and the cost of MSSql would be to much.
    Is everything done by code only for creating a new database and tables?
    Thanks

    Pointbase comes bundled with JSE8.
    To create new pointbase database:
    Go to the following directory under your JSE8 installation directory:
    For example:
    \jstudio_ent8\AppServ8.1UR2\pointbase\tools\serveroption
    Use the startconsole file to start the pointbase client console.
    The pointbase GUI will come. This has the option to create new database by going to the pointbase console menu. Also, remember to start the pointbase server before. You can start it from the IDE, by going to Tools -> Pointbase Database.
    Also, the following sample databases are installed with the Pointbase installation:
    sample
    sun-appserv-samples
    To connect to the Pointbase sample database, you can check the IDE help online. Simply search for pointbase.

Maybe you are looking for