Create Database Help ( Important )

Hi DBA's,
I need one help. Actually I have installed oracle 9i ( 9.2.01.0) on my system and by mistaken I have assign the drive D:\ ( size 2.9 gb) instead of E: ( size 5 gb). The installation was successfuly but when I tried to create database via DATABASE MIGRATION ASSISTANT I got one error because disk space was not sufficient for creating the database. Execpt creation of database everything was installed fine. Can anyone help me.coz I know I can specify the difference path for oracle database but HOW ??
The other way of doing it to again remove the whole install and again re-install in E:\ drive. but I am pretty sure I will get my answer over here.
I have the script for creating the database manually and I want to do by this way but how to connect to oracle .
Thanks in advance.

If installation went fine, and you have scripts for database creation, then change your scripts so that datafiles and everything else go to E drive, and execute them. This way you'll have Oracle software on drive D and database on drive E, which seems a good solution, unless you want everything on drive E, but in this case you have to reinstall.
how to connect to oracle You should have a .bat file that does it, then executes one (or more) .sql scripts, so it should be sufficient to execute it. If you have doubts, then post it.

Similar Messages

  • ALUI Analytics 2.1 create database help

    I am currently attempting to deploy the last of the required components to our internal development server and have struck an issue.
    The instructions calls to check for the existence of several tables once the installation has completed (step 10, SQLServer 2005), these tables do not exist once I have run the db_creation and create_seeddata.
    The instructions go on to say that if these tables do not exist then there is an additional script to run, create_sds_tables_mssql.sql, unfortunately this file does not get deployed when I run the install application.
    Is there something I need to do during the install to deploy this file into the c:/bea/alui/ptanalytics directory structure so that I may run it to resolve the above problem?
    Any help would be greatly appreciated.
    Cheers,
    Mik.

    Hi,
    I need some help in usng Analytics Administrator. I was very new to these things. I have Installed my Anlayitcs for WLP, and after that I tried to configure Data base details to the analytcs,
    here in this process it is asking for WLP server address? I used my portal landing page as this address.
    When I tried to create a event usign functionality - Analytics Adminstrator after logging into the portal with Administrator, I was not able to view the page where "registartion of analytics" can be done. Can you able to help out in this?
    Thanks & Regards,
    Mohan

  • Need help connecting to Oracle to create database

    Am student taking DBA course; have altered pfile so that path shows where createdb is located. Cannot connect to Oracle; keep getting message "insufficient privileges." Createdb file amended per book to "REMOTE_LOGIN_PASWORDFILE=exclusive" and still can't connect. Can I grant connect privileges to internal/oracle? Tried several times to create database and am now using new database name to try again, but when I get to svrmgrl and type in "connect internal" and give password "oracle" as book says to do I get the "insufficient privileges" message again. Need help.

    Linda,
    when you use exclusive in remote_login_passwordfile is necessary make one file. Use the following instructions:
    orapw file=orapw<SID> password=<password> entries=<users>
    where
    file=name of password file (mandatory)
    password=password for SYS and INTERNAL (mandatory)
    entries=maximum number of distinct DBA and OPERs (opt)
    There are no spaces around the equal to (=) character.
    Find orapwd.exe by Windows Explorer
    Bye,
    DQC

  • Oracle10g Import:ORA-01119: error in creating database

    I am trying to Import a Oracle10g dump into a Oracle 10g db server(SunOS).The server has enough space and so do the tablespace.
    This is the import command i'm trying:
    imp db/db@sid file=file.dmp ignore=y full=y
    But it still posts the following error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by OPS$QZORA, not by you
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses UTF8 character set (possible charset conversion)
    . importing SYSTEM's objects into SYSTEM
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "NEW" BLOCKSIZE 8192 DATAFILE '/home/NEW01.d"
    "bf' SIZE 2000M , '/home/NEW02.dbf' SIZE 3000M , '/u03/bm"
    "qzdb/NEW03.dbf' SIZE 2000M , '/u03/bmqzdb/NEW04.dbf' SIZE 3000M "
    " , '/home/NEW05.dbf' SIZE 2000M , '/home/NEW06.d"
    "bf' SIZE 5900M , '/home/NEW07.dbf' SIZE 943718400 , '/u0"
    "1/bmqzdb/NEW08.dbf' SIZE 734003200 , '/home/NEW09.dbf' SIZ"
    "E 144703488 , '/home/NEW10.dbf' SIZE 144703488 , '/u01/b"
    "mqzdb/NEW11.dbf' SIZE 81788928 , '/home/NEW12.dbf' SIZE 15"
    "00M AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M, '/home/NEW13.dbf"
    "' SIZE 1048576000 AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M EXTENT MANAG"
    "EMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/home/NEW01.dbf'
    ORA-27040: file create error, unable to create file
    SVR4 Error: 2: No such file or directory
    IMP-00000: Import terminated unsuccessfully

    Actually i dont want that to create any tablespaces.I have a tablespace created on my db.In fact i dont have the same (/home) path on my unix server.
    I want the imp utility to ignore create tablespace command.I did give the IGNORE=Y on the imp command.
    If i give fromuser,touser i can import but that does not go along with full=y.I have to do it table by table.It has also got sequences,types,synonyms etc
    thanks in advance
    shiva

  • Help...create database(access) using java

    i had developed an java application that capture packet using Jpcap but i dont know how to keep the packet captured into database(access).i can save the packet captured in text file but not in database(access).i already had the database conectivity but i don't know how to insert the packet caputred in the table in access, is it using sql statement like INSERT INTO? or else?i realy don't know.can someone help me....?

    i can save the packet captured in to text file but not in database(access).I guess that you wish to get a databse file with your data, not a simple insert sql question.
    1. commercial solution: HXTT Access(http://www.hxtt.com/access.html), which supports create database, create table sql, and batch insert data from any JDBC driver.
    2. free solution: jdbc-odbc bridge and dsn-less jdbc url, you need to prepare a blank mdb file with blank table, then copy that blank mdb file into new mdb file, then repeat insert sql for that new mdb file.

  • Specify datafiles in the create database statement-plz help

    hi i have the following create database statement...
    i need to add 2 more datafile and a tablesapce for data named dqdata.. how do i do that...
    create database ABC123
    logfile group 1 ('/retu/oraredo/ABC123/redo01.log') size 500M,
    group 2 ('/retu/oraredo/ABC123/redo02.log') size 500M,
    group 3 ('/retu/oraredo/ABC123/redo03.log') size 500M
    character set WE8ISO8859P1
    national character set utf8
         datafile '/retu/oracle/oradata/dev/ABC123/system01.dbf'
    size 2000M
    autoextend on
    next 100M maxsize unlimited
         extent management local
    sysaux datafile '/retu/oracle/oradata/dev/ABC123/sysaux01.dbf'
    size 2000M
    autoextend on
    next 100M
    maxsize unlimited
    undo tablespace UNDO
    datafile '/retu/oracle/oradata/dev/ABC123/undo01.dbf'
    size 2000M,
         datafile '/retu/oracle/oradata/dev/ABC123/undo02.dbf'
    size 2000M,
         datafile '/retu/oracle/oradata/dev/ABC123/undo03.dbf'
    size 2000M,
    default temporary tablespace temp
    tempfile '/retu/oracle/oradata/dev/ABC123/temp01.dbf'
    size 2000M,
         tempfile '/retu/oracle/oradata/dev/ABC123/temp02.dbf'
    size 2000M,
         tempfile '/retu/oracle/oradata/dev/ABC123/temp03.dbf'
    size 2000M;
    =======================
    THESE ARE THE DATAFILES I NEED AND EACH IS OF 2000M...
    FOR DATA TBALESPACE NAMED DQDATA----
    /retu/oracle/oradata/dev/ABC123/dqdata01.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata02.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata03.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata04.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata05.dbf
    FOR INDEX TABLESPACE NAMED DQINDEX
    /retu/oracle/oradata/dev/ABC123/dqindex01.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex02.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex03.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex04.dbf
    /retu/oracle/oradata/dev/ABC123/system01.dbf
    /retu/oracle/oradata/dev/ABC123/temp01.dbf
    /retu/oracle/oradata/dev/ABC123/temp02.dbf
    /retu/oracle/oradata/dev/ABC123/temp03.dbf
    /retu/oracle/oradata/dev/ABC123/undo01.dbf
    /retu/oracle/oradata/dev/ABC123/undo02.dbf
    /retu/oracle/oradata/dev/ABC123/unod03.dbf
    COULD OU PLEASE LET ME KNOW HOW DO I DO THAT................
    AM VERY VERY CONFUSED I THIS...
    AND I SUPOSE I NEED TO CREATE THEM physically in the unix right?????
    please help
    /retu/oracle/oradata/dev/ABC123/sysaux

    Yes, you are right, there is no clause in CREATE DATABASE command to
    create additional tablespaces except the TEMPORARY and UNDO besides
    SYSTEM and SYSAUX. Here is link that you can refer to:
    http://www.lorentzcenter.nl/awcourse/oracle/server.920/a96521/create.htm#1000691

  • Oracle 10g Help?Create database error

    I am unable to run a script createDB having command create database kmaa.I open up SQL*Plus, connect and login without any trouble as well. When I try to create a database I get the following:
    SQL> CREATE DATABASE kmaa;
    CREATE DATABASE kmaa
    Error at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01100:database already mounted
    Any idea?

    Hi Pete,
    Oracle Express Edition creates a database automatically when you install it and the product is limited to one database instance per machine. Perhaps you are confusing users/schemas with what you may term a database. An Oracle database instance can be broken down into logical units called users or schemas. If you wish to create a database of books, you should create a user called books and then log on as this user and create your database objects. To make things simpler, Oracle XE comes with a browser interface based on Application Express. You can use this to create schemas, database objects and applications (forms reports etc) to access and manage those objects. Further to this you should RTFM.
    Regards
    Andre

  • Help : error while loading create database character set

    SQL> startup
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 2022600 bytes
    Variable Size 180355896 bytes
    Database Buffers 411041792 bytes
    Redo Buffers 6365184 bytes
    ORA-12709: error while loading create database character set

    ORA-12709 error while loading create database character set
    Cause: This is an internal error.
    Action: Contact Oracle Support Services.

  • Installation stuck at Create database schema Phase 13 of 27

    Hi
    I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
    INFO       2009-03-12 16:52:00.443 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb.
    INFO       2009-03-12 16:52:00.458 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb\NSP.
    INFO       2009-03-12 16:52:00.458 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory C:\sapdb\NSP\saplog.
    INFO       2009-03-12 16:52:00.474 [synxcpath.cpp:807]
               CSyPath::createDirectory()
    Creating directory E:\sapdb\NSP\sapdata.
    INFO       2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
    Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    File sapdb.inf does exist. Will use the commands in file sapdb.inf.
    INFO       2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
    Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    INFO       2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
    Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO       2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
    Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    Also see log browser from the installation window............................
    Please see below as it is geeting stuck at
    component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
    Mar 12, 2009 5:12:35 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 &gt; SAP Application Server ABAP &gt; MaxDB &gt; Central System &gt; Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component  current="true"><![CDATA[Create users for SAP system]]></component><component  current="true"><![CDATA[Install common system files]]></component><component  current="true"><![CDATA[Unpack SAP archives]]></component><component  current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
    <button sid="btPREV" default="false" enabled="false" ><caption>&lt; &amp;Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&amp;Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
    Mar 12, 2009 5:12:35 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
    <button sid="btPREV" default="false" enabled="false" >
    vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 &gt; SAP Application Server ABAP &gt; MaxDB &gt; Central System &gt; Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component  CDATA[Prepare database schema for ABAP]]></component><component  current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
      [Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
    <button sid="btPREV" default="false" enabled="false" ><caption>&lt; &amp;Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&amp;Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
    Mar 12, 2009 5:12:39 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
    Mar 12, 2009 5:38:16 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
    Mar 12, 2009 5:38:16 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
    Mar 12, 2009 5:43:59 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Mar 12, 2009 6:08:17 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Mar 12, 2009 6:30:31 PM [Info]:                                                  com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
    Thanks in advance
    Vikas

    Guess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
    Do see the last step create DB schema....... The previos log was from sapinst_dev.log 
    Oliver I have a doubt could it be becuase of the host name.
    The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
    Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
    The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
    the prerequisite page shows
    "For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
    Can this be the reason???
    Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ...  services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
    INFO 2009-03-12 17:12:35.412
    Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:35.726
    Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:37.718
    Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:38.722
    Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
    INFO 2009-03-12 17:12:39.883
    Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0

  • [b][u]JSP/mySQL CREATE DATABASE problem[/u][/b]

    I am trying to create a mySQL DB through JSP program (query).
    The Query :
    stmt.executeUpdate("CREATE DATABASE employee;");
    is not working. PLEASE HELP ME.................
    The program is as follows.
    try
    Connection con =null;
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
    System.out.println("Connection Established");
    try {
    System.out.println("Entered Try Block");
    stmt=con.createStatement();
    stmt.executeUpdate("CREATE DATABASE employee;");
    System.out.println("Query Executed");
    catch(Exception e){ 
    System.out.println("Entered Catch Block");
    System.out.println("Query Skipped");
    catch (SQLException ex)
    while (ex != null){
    System.out.println("sql exception"+ex);
    ex = ex.getNextException ();
    Message was edited by:
    sam_john

    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
    Access denied for user: '[email protected]' (Using password: NO)
    You must provide a password for your connection.
    Your code should have been as follows:
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","YOUR_PASSWORD_HERE");Anyway, to create a database or a table in a db server like MySQL, you must have the good privileges to.
    Go to <MySQL_INSTALL_DIR>/Docs/ directory, you'll find there the MySQL manual.chm. Take a look at the the Tutorial section.
    In order to know how to use jdbc Connector/J, take a look at the documentation shipped with: /mysql-connector-java-X.X.X/docs/connector-j.html
    Here a typical code:
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.Statement;
    public class TestMySQL {
         public static void main(String[] args) {
              Connection con = null;
              Statement stmt = null;
              try {
                   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   con = DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock", "Dude", "YOUR_PASSWORD_HERE");////// put the right password here
                   System.out.println("Connection Established");
                   System.out.println("Entered Try Block");
                   stmt = con.createStatement();
                   stmt.executeUpdate("CREATE DATABASE employee");
                   System.out.println("Query Executed");
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   if (stmt != null) {
                        try {
                             stmt.close();
                        } catch (Exception e) {
                   if (con != null) {
                        try {
                             con.close();
                        } catch (Exception e) {
    }Hope That Helps

  • Pre-create Datafiles before import or not ?

    I'm facing the almost the same problem. I have empty tablespaces created in My database. I want to perform Regaular Import (imp) .When i did Full database Import..There were Errors like
    Not able to create Tablespaces, users does not exist.
    There is also Difference in the Os level Directory structure from the Source Database to Target Database.So somebody can help me how to Perform Full database Import with already created tablespaces, What are the options??

    Database version is 11.2.0.2. The Export is full database Export ( EXP). I don't have much details of this.
    what i have is Export dump(exp) dump file now.
    My database 11.2.0.2 is new Created. It does not contain any schemas etc.It is created using DBCA.
    Now i want to to perform Full database Import. Source database and Target database filesystem structre are different.
    I'm not aware of the schemas in the source database and their File strucutre.
    I did :
    imp sys/pwd file=export_full.dmp FULL=Y IGNORE=Y log=imp.log
    Errors:
    Import: Release 11.2.0.2.0 - Production on Thu Dec 20 16:29:07 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    IMP-00058: ORACLE error 1017 encountered
    ORA-01017: invalid username/password; logon deniedUsername: / as sysdba
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V11.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing SYSTEM's objects into SYSTEM
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "XXX" BLOCKSIZE 8192 DATAFILE '/dbs/XXX40p/oradata/XXX"
    "40p/XXX1_data01.dbf' SIZE 32767M , '/dbs/kfs40p/oradata/XXX40p/kfst1_"
    "data02.dbf' SIZE 32712M AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767M EX"
    "TENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGE"
    "MENT AUTO"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/dbs/XXX40p/oradata/XXX40p/XXX_data01.dbf'
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory.
    and some more errors are
    "CREATE USER "xxx_ADMIN" IDENTIFIED BY VALUES xxxx DEFAULT"
    " TABLESPACE "xxx1" TEMPORARY TABLESPACE "TEMP""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'xxxxx' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    Like this.
    Please help me on this.
    Thanks..

  • How to create database link between 2 servers to exports schemas

    Could any one please give Steps to create database link between 2 servers (linux)  to exports schemas like AR, INV, GL.......etc

    Hi Mouni,
    As i suggest above, please use the REMAP_SCHEMA parameter, so that you can create those objects which are getting created in the Apps Schema in the XBSI schema, I have already provided the syntax above.
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_LINE_INFO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_SERIAL_NO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ONHAND_BALANCES" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_PURCHASE_ORDERS" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_HEADER_INFO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORGANIZATION_ITEMS" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_PE_FIND_RESULT" already exists
    You are facing these errors as you have already done the import, and when you try to re-import it says those objects are already available. If this fresh import, Please drop the the new user you have already created in the Datawarehouse instance, and recreate the User and start a fresh import.
    Hope this help!
    Thanks &
    Best Regards,

  • Connecting to database help

    First let me say sorry as i have already started this post in another thread, but know one seems to be replying to it any more. the other thread can be found out: http://forum.java.sun.com/thread.jspa?messageID=9413573
    package coreservlets;
    public class Catalog {
    private static CatalogItem[] items =
        {new CatalogItem
            ("hall002",
             "<I>Core Web Programming, 2nd Edition</I> " +
               "by Marty Hall and Larry Brown",
             "One stop shopping for the Web programmer. " +
               "Topics include \n" +
               "<UL><LI>Thorough coverage of Java 2; " +
               "including Threads, Networking, Swing, \n" +
               "Java 2D, RMI, JDBC, and Collections\n" +
               "<LI>A fast introduction to HTML 4.01, " +
               "including frames, style sheets, and layers.\n" +
               "<LI>A fast introduction to HTTP 1.1, " +
               "servlets, and JavaServer Pages.\n" +
               "<LI>A quick overview of JavaScript 1.2\n" +
               "</UL>",
             49.99),
          new CatalogItem
            ("lewis001",
             "<I>The Chronicles of Narnia</I> by C.S. Lewis",
               "The classic children's adventure pitting " +
               "Aslan the Great Lion and his followers\n" +
               "against the White Witch and the forces " +
               "of evil. Dragons, magicians, quests, \n" +
               "and talking animals wound around a deep " +
               "spiritual allegory. Series includes\n" +
               "<I>The Magician's Nephew</I>,\n" +
               "<I>The Lion, the Witch and the Wardrobe</I>,\n" +
               "<I>The Horse and His Boy</I>,\n" +
               "<I>Prince Caspian</I>,\n" +
               "<I>The Voyage of the Dawn Treader</I>,\n" +
               "<I>The Silver Chair</I>, and \n" +
               "<I>The Last Battle</I>.",
             19.95),
          new CatalogItem
            ("alexander001",
             "<I>The Prydain Series</I> by Lloyd Alexander",
               "Humble pig-keeper Taran joins mighty " +
               "Lord Gwydion in his battle against\n" +
               "Arawn the Lord of Annuvin. Joined by " +
               "his loyal friends the beautiful princess\n" +
               "Eilonwy, wannabe bard Fflewddur Fflam," +
               "and furry half-man Gurgi, Taran discovers " +
               "courage, nobility, and other values along\n" +
               "the way. Series includes\n" +
               "<I>The Book of Three</I>,\n" +
               "<I>The Black Cauldron</I>,\n" +
               "<I>The Castle of Llyr</I>,\n" +
               "<I>Taran Wanderer</I>, and\n" +
               "<I>The High King</I>.",
             19.95),
          new CatalogItem
            ("rowling001",
             "<I>The Harry Potter Series</I> by J.K. Rowling",
             "The first five of the popular stories " +
               "about wizard-in-training Harry Potter\n" +
               "topped both the adult and children's " +
               "best-seller lists. Series includes\n" +
               "<I>Harry Potter and the Sorcerer's Stone</I>,\n" +
               "<I>Harry Potter and the Chamber of Secrets</I>,\n" +
               "<I>Harry Potter and the " +
               "Prisoner of Azkaban</I>,\n" +
               "<I>Harry Potter and the Goblet of Fire</I>, and\n" +
               "<I>Harry Potter and the "+
               "Order of the Phoenix</I>.\n",
             59.95)
      public static CatalogItem getItem(String itemID) {
        CatalogItem item;
        if (itemID == null) {
          return(null);
        for(int i=0; i<items.length; i++) {
          item = items;
    if (itemID.equals(item.getItemID())) {
    return(item);
    return(null);
    Using the above servlet and this one:
    package coreservlets
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class browser extends HttpServlet {
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
         Connection conn = null;
         try{
             Class.forName("com.mysql.jdbc.Driver").newInstance();
         } catch(Exception e) {
             System.out.println(e);
         // connecting to database
         try{
             conn = DriverManager.getConnection
            ("jdbc:mysql://MY WEB ADDRESS FOR THE SQL TABLES GOES HERE");
              // System.out.println("Connection to database successful.");
           catch(SQLException se) {
             System.out.println(se);
         try{
              // Get the category from the input form
              String categoryString = request.getParameter("category");
              // check if no category
              if (categoryString == "") categoryString = "Action & Adventure";
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings "+
                                "where category = '" + categoryString + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
          // output html headers
          String title = "Films in the " + categoryString + " genre" ;
           out.println(ServletUtilities.headWithTitle(title) +
                    "><BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/pic.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
           out.println("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
                    "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "  <TH>Title\n" +
                    "  <TH>Director\n" +
                  "  <TH>Rating\n" +
                  "  <TH>Year Released\n" +
                  "  <TH>Price\n" +
                  "  <TH>Number in stock\n" +
                    "  <TH>image name"
    // Retrieve the results
             while(rs1.next()){
                  out.println("<TR>" +
                              "<TD>" + rs1.getString("title") + "</TD>" +
                              "<TD>" + rs1.getString("director") + "</TD>" +
                            "<TD>" + rs1.getString("rating") + "</TD>" +
                            "<TD>" + rs1.getDouble("year_released") + "</TD>" +
                            "<TD>" + rs1.getString("price") + "</TD>" +
                               "<TD>" + rs1.getString("stock_count") + "</TD>" +
                              "<TD>" + rs1.getString("image_name")  +"</TD>\n");
                             "<TD> <IMG SRC=\"../images/music/" + image_name +"\">"
        // close the html
        out.println("</TABLE></BODY></HTML>");
    // Close the stament and database connection
             stmt.close();
             conn.close();
         } catch(SQLException se) {
             System.out.println(se);
      }How do i merge these two together so that a catalogItem is created by connecting to the database and uses the select statement?? If any one can help me here i would be really grateful as i am having real trouble with this.

    Below is what i have come up with (I cut out the code that just gets in the way for this post, eg the connect to database and import statements) My problem is this would only work once has i need to add the item to the array addedItem in the first for loop, can anybody help me with this has i have tried a number of ways but can't get it to compile.
    private static CatalogItem[] addedItem
    private static CatalogItem[] ItemsInCat;
    CatalogItem item;
    CatalogItem details;
            int recordingidDB;
         String directorDB;
         String titleDB;
         String categoryDB;
         String imageDB;
         int durationDB;
         String ratingDB;
         String yearDB;
         float priceDB;
         int StockDB;
    // Create select statement and execute it
         try{
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings " + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
             while(rs1.next()){
              recordingidDB = rs1.getInt("recording_id");
              directorDB = rs1.getString("director");
              titleDB = rs1.getString("title");
              categoryDB = rs1.getString("category");
              imageDB = rs1.getString("image_name");
              durationDB = rs1.getInt("duration");
              ratingDB = rs1.getString("rating");
              yearDB = rs1.getString("year_released");
              priceDB = rs1.getFloat("price");
              stockDB = rs1.getInt("stock_count");
               item =
               new CatalogItem
                  (recordingidDB, directorDB,titleDB, categoryDB, imageDB, durationDB, ratingDB, yearDB, priceDB, stockDB);
         String title = "Catalog Items";
    out.println(ServletUtilities.headWithTitle(title) +
                    "<BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/img.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
         // loop to go over each item in the array of catalogItem
             for  (int i=0; i < ItemsInCat.length; i++) {
               out.println("__________________________");
               details = item;
         if (details == null) {
    out.println("SORRY THERE HAS BEEN AN ERROR ");
         } else {       
    addedItem[] // needd to store item in array here
         out.println(titleDB + "\n" + priceDB + "\n");
         out.println("</BODY></HTML>");
         public static CatalogItem getItem(int recordingidDB) {
         CatalogItem item;
    for(int i=0; i<itemsInCat.length; i++) {
    item = itemsInCat[i];
    if (recordingidDB.equals(item.getItemID())) {
    return(item);
    return(null);
    // Close the stament and database connection

  • Unable to Load Database/Unable to create database.

    RoboHelp 6.0 on my PC is suddenly unable to open existing
    projects or create new ones. The problem is not in the projects, as
    other people can unzip the same set of files and open them with
    RoboHelp on their PCs.
    The Details:
    When attempting to open an existing project (any project
    whether in version control or not), I get the message " Open
    project was cancelled or the application was unable to load
    database for..."
    I found the article that says to delete the CPD and XPJ files
    and then to use the Edit option to open the HHP file so that
    RoboHelp will recreate the two files. When I try that, I get the
    message "Unable to create database. Check that the directory is not
    read-only." It's
    not read-only.
    When I attempt to create a new project, the application acts
    like it is going to create one, but it just creates a project
    folder without the new first topic and then repeats the New Project
    Wizard window that prompts for title, etc. It will keep creating
    folders and returning to this window in a loop without ever really
    creating a project.
    RoboSource Control is functioning normally, by the way.
    I have uninstalled and reinstalled RH 6 several times, and
    have even uninstalled RH 6 and installed to RH 5 just to see if it
    could open projects, which it does with no problems. After that
    test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
    the same problem all over again.
    This started happening after I uninstalled other unrelated
    software and received a message that some Service Pack 2 files had
    been changed and prompting me to insert the Service Pack 2 CD,
    which I don't have. This is because our IT department pre-builds
    our systems from an image and then distributes job-specific
    applications over the network. IT tried repairing Service Pack 2,
    but that didn't work. I'd like to uninstall and reinstall Service
    Pack 2, but the IT person says it's too risky on a system that was
    built from an image.
    We would like to find out
    which files RoboHelp is looking for when it launches a
    project so we can replace those files manually. Does anyone
    know what they are or have another suggestion that might fix the
    problem?
    Otherwise, I am stuck having to allow IT to rebuild my
    system. That means reinstalling and reconfiguring everything on it,
    just as if I were upgrading to a new PC. This can take a whole work
    week. However, I have already spent close to a work week on this
    problem, so maybe rebuilding would save time in the long
    run.

    Problem Resolution = HHA.dll
    For anyone who might be interested in the resolution to this
    issue, we did rebuild my PC and reinstall all of my software. The
    RoboHelp installation "complained" that I did not have HTML Help
    Workshop on my system and told me to download version 1.4 from
    Microsoft. I did have HTML Help Workshop..it's in my programs list.
    (It's not listed in programs on my co-workers' PCs, and they were
    not having problems, by the way.) But to make RH happy, I
    uninstalled the workshop and tried to install the version from
    Microsoft. But a message informed me that I already had a newer
    version of the workshop on my system, and I was back where I
    started. I could open projects, but there were weird problems.
    Selecting Topic Properties was met with an error message, and when
    the properties window opened, I could only see whatever template
    was assigned (or none if the topic had lost its template), and
    there was an extra section for Oracle help.
    So I started dinking around in the registry to see if I could
    get rid of any traces of the workshop so I could install the
    version RH wanted or to find any other clues to my problem. Under
    HTMLHelpAuthor, there was a reference to an HHA.dll file located in
    C:\WINDOWS\system32...only the file did not exist on my system.
    (Remember that my original problem was that some Service Pack 2
    files were either modified or missing.) So I did a Google search on
    that file name and found out that HTML Help Workshop is included in
    newer Windows operating systems, but that people used to have to
    get HTML Help Workshop from Microsoft, and that some people had
    made the mistake of just putting the HHA.dll file into the
    C:WINDOWS\system32 folder without also installing HTML Help
    Workshop. At this point it was obvious that I needed the HHA.dll,
    so I got it from a co-worker's PC. (Looking at the registry
    entries, I can also see that my system was built with a slightly
    different version of the operating system than my co-workers have.)
    Adding the HHA file to my system solved the problem. All
    projects but one were fine; one was still exhibiting the strange
    behavior. I fixed it by going back to the RoboHelp 5 version of the
    project and re-converting it to RoboHelp 6.
    I suspect that if I had known about the HHA.dll file before
    we rebuilt the PC, I could have solved the problem without going
    through that painful process. That is why I thought I should post
    the solution even though it was after the rebuild.

  • Is db_name is the only parameter for creating database ? [Exper. on 32-bit]

    Because of the discussion present in the following thread, I did few experiments and would you like to share with you. Hope it is a useful information for you guys.
    Re: db_name & memory allocation
    OS: Win XP SP2 or Windows 2000 <b>(32-bit)</b>
    Oracle Version: Oracle 10gR2
    System RAM: 1G
    <b>Attempting to create the database CCC by specifying db_name parameter only</b>
    C:\oracle\product\10.2.0\db_1\database>copy con initCCC.ora
    db_name=CCC
    ^Z
            1 file(s) copied.
    <b> Starting the service </b>
    C:\oracle\product\10.2.0\db_1\database>oradim -new -sid CCC -startmode m
    Instance created.
    C:\oracle\product\10.2.0\db_1\database>set oracle_sid=CCC
    C:\oracle\product\10.2.0\db_1\database>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 07:50:06 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL>
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>113246208</b> bytes -- Default SGA size
    Fixed Size                  1247588 bytes
    Variable Size              58721948 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                2945024 bytes
    <b> On seeing dynamic components size, shared pool got
    33m, large pool got 0m, java pool got 25m and buffer cache
    got 50m. Please check the references for these default
    values. </b>
    SQL> select component,current_size from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          33554432
    large pool                                                                  0
    java pool                                                            25165824
    streams pool                                                                0
    DEFAULT buffer cache                                                 50331648
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    create database
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    <b>Errors in alert log file</b>
    ORA-00604: error occurred at recursive SQL level 1
    <b>ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","create unique index
    i_proxy_...","sql area","kksol : kksnsg")
    </b>
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    <b>It was thought that shared_pool memory area is not
    sufficient. Then thought to know how oracle will behave on
    setting sga_target parameter.</b>
    <b>initCCC.ora</b>
    db_name=CCC
    sga_target=113m
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>121634816 bytes -- Got around 121m  </b>
    Fixed Size                  1247636 bytes
    Variable Size              54527596 bytes
    Database Buffers           62914560 bytes
    Redo Buffers                2945024 bytes
    <b>Now create database statement got success here.
    Instance got few extra Mbs of memory and oracle can create
    the database.</b>
    <b>Then it was thought that, why to give 121Mb even. Let exactly 113246208 bytes be devoted to the instance.</b>
    initCCC.ora
    db_name=CCC
    sga_target=113246208 -- providing exact number of bytes as obtained in default case
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  113246208 bytes
    Fixed Size                  1247588 bytes
    Variable Size              54527644 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                2945024 bytes
    SQL>
    <b> Now create database statement got success here as
    well. Because of sga_target, automatic shared memory
    management enabled and instance was taking care of buffer
    cache, shared pool, large pool, java pool and
    streams_pool. In this case shared pool got 46m (greater
    than default case value). Java pool and Large pool got 4
    mb each and buffer cache got 54m. </b>
    SQL> select component,current_size
      2  from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          46137344
    large pool                                                            4194304
    java pool                                                             4194304
    streams pool                                                                0
    DEFAULT buffer cache                                                 54525952
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    By providing 113246208 bytes (as in default case) of
    memory to SGA by setting sga_target value, Oracle gave
    extra memory to shared_pool and buffer cache than in case
    of default, thus helping create database statement to get
    pass. Oracle always recommends to use automatic shared
    memory management by setting sga_target parameter value.
    Hope this experiment provides few clues about automatic
    shared memory management feature of Oracle 10g. This case
    was conducted on 32-bit Oracle. It is quite possible that
    create database statement might get success in 64-bit
    Platform as by default Oracle will provide 84 Mb to Shared
    pool. But to confirm, it has to be experimented.
    References:
    Shared pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams196.htm#sthref804
    Large Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams090.htm#sthref377
    Java Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams087.htm#sthref364
    Buffer Cache
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm#sthref185

    Hi,
    Good Work Mohammed !!!
    Regards
    Taj

Maybe you are looking for

  • API5036: Client version 10.2.0.1.31 is not compatible with repository ver..

    API5036: Client version 10.2.0.1.31 is not compatible with repository version 10.2.0.2.0 I got this error after upgraded with patch p5696353_10202_AIX64-5L I tried to log in but there was a pop up dialog told me about this error. Do I have to install

  • OIM11gR2 DBAT User recon - custom UDF value not visible in User detail page

    Hi, I have configured DBAT connector for OIM11gR2 for user recon. Have created and mapped few custom UDFs in the GTC. User is created successfully in OIM, and has all the values correctly in USR table for all the custom UDFS. But when i search a user

  • Album Starter Edition 3.0 Won't Initialize

    I had Adobe Photoshop Album Starter Edition 3.0.1 installed to service my Epson scanner and learn how to work with digital images. I built a file in the album that contained a few unimportant photos it imported from another computer on my LAN. (I rea

  • Bootcamp/Disk Utility Help

    Hi everyone, Yesterday I tried deleting the Windows partition I had on my Macbook Pro. I tried deleting the partition using Bootcamp assistant, but I got an error message. I don't remember exactly what the error message said, but essentially it was u

  • Germany: activate my new free IPhone4 with BASE inside

    Hi, I´m swap my free IPhone4 today in an Apple Store. Now I can´t activate the new free IPhone4 with my BASE Card inside. Where´s the problem?? Can someone help me, please!? CU Michael