Creation of separate database

Hello friends,
I've to create a new database like production but don't know how do I proceed!
The server detail is as under:
EBS 12.1.1
Redhat Linux 64bit
Vision database
The partition detail is as under :
Filesystem     -     Size      -     Used      -     Avail      -     Use% -     Mounted on
/dev/sda5     -     15G      -     2.5G -      12G      -     18%      -     /
/dev/sda7     -     107G -      40G -     62G      -     39%      -     /PROD
/dev/sda3     -     54G -     47G      -     3.6G -     93%      -     /stage
/dev/sda2     -     262G -     232G -      17G      -     94%      -     /VISION
/dev/sda1     -     99M -     12M -     83M      -     13%      -     /boot
tmpfs          -     3.9G -     2.8M -     3.9G -      1%      -     /dev/shm
Memory details:
Total Memory : 7974
Used Memory : 7893
-/+ buffers/cache: 1773 / 6200
Swap: 16386, used: 0
SGA size:
sga_max_size: 4G
sga_target: 4G
It seems I don't have much space. Further I can't delete vision as we use it for demo purpose.
Please help.
Regards
Aneel

1) how much space will be required to create new database?Are you installing a new database or cloning an existing one?
If you are cloning, you need the same size of the source database.
If you are installing, please see http://docs.oracle.com/cd/E18727_01/doc.121/e12842/T422699i4773.htm#3708195
2) If I've space upto 450 GB and I re-install OS can I've 2 instances (Vision & Prod) then?No.
3) Can I delete some unusable tablespaces from Vision database to make some space? (sorry if it sound a foolish question - I'm newbie :P )Yes, if it is possible and you need to resize the existing tablespaces.
Thanks,
Hussein

Similar Messages

  • Rollback segment is filling up during creation of the database

    Hi
    The Rollback segment is showing around 520mb immediately after
    creation of the database after following the wizard provided in
    the enterprise manager of oracle. What might be the reason. How
    to reduce it. Could any one give me a solution for this matter.
    Thanks in Advance.

    I tried creating the password file using the following command:
    orapwd file=/home/oracle/product/9.2.0/dbs/orapwHR.ora
    password=HR entries=5
    and got the same error:
    ORA-01501 Create Database failed.
    ORA-01990 -ERROR opening password file '/home/oracle/product/9.2.0/dbs/orapw'
    ORA-27037 Unable to obtain file status.
    Linux error: 2: No such file or directory.
    Additional information: 3.
    Does anybody know how to fix this problem?
    Thanks,
    Katya

  • Creation of uninitialized database 87684942 failed

    Hello,
    we get this "Error Creation of uninitialized database 87684942 failed" if we try to make a Setup-Package under MI 7.0 SP 15 with MaxDB for Client persistance.
    Our System is WebAS is NW 7.0 SP15 with usage type MI and AS ABAP and AS Java. MI is 7.0 SP 15. All on Win 2003 32-Bit with Oracle DB.
    The MaxDB is 7.6 the newest Version. The Generation-Process function well till it tries to create the DB. We've changed a lot of things in Visual Admin for MaxDB without any better result.
    Any suggestions?
    Thanks in advance.

    Hi Oliver,
    thank you.
    Maybe i have another Documentation, but this is written in the Docu:
    Installing SAP MI on the Mobile Device
    -Mobile Device Installation using Setup Packages
    --Installing MaxDB for Setup Package Creation
    ---Installing MaxDB on a system where a different version is installed
    ---Installing MaxDB on a system with no MaxDB installation
    I spend times on Installation and Setup that MI, cause the Help, Guides and Notes are so dramatically inconsistent. We can't download the DB2e from SAP nor either from IBM. Every Link is broken. If you be able to send me the DB2e we are very happy.
    For a little explanation: This is my first time i use SAP MI. All work is for my diploma. So that is too much time consuming.
    Thank you.
    Regards

  • Join multiple tables across separate databases

    I needed to perform a join on multiple tables in two separate databases. I am using Sybase ASE 12.5 and jConnect 5.5 JDBC driver.
    Table A is in DB1 and Table B is in DB2. Both DB1 and DB2 reside on the same database server.
    I have set up JNDI bound datasources DS1 for DB1 and DS2 for DB2.
    If the queries involved single tables or multiple tables within the same database, it is simple. But I am not seeing any way where I can perform a join between Tables A and B, which reside in separate databases. The datasources DS1 and DS2 are associated with DB1 and DB2 respectively, so I am not sure if there is anything like performing joins using two data sources.
    One alternative I am facing is using a stored procedure in one database refer the table in the other database, for the join. But I may not be allowed to modify the database; currently, I am allowed to perform READ-ONLY queries.
    So I am looking for any and all options. Please advice.
    Thanks!

    Two choices..
    One find the syntax in DB2 that allows you to do what you want in there. That would often be somelike...
    select a.myfield
    from database1.table1 a, database2.table2 b
    where a.id = b.id
    Obviously the database itself must support this. If it doesn't then you have choice two.
    You extract the data from database1 using java for table1.
    You extract the data from database2 using java for table2.
    You write java code that merges the data from both sources.

  • Separate database instead of local

    I want to use completely separate database in CAF instead of local database of the SAP WAS. Can it be achieved somehow through configuration or minimal programming?

    Hi,
    If i am getting it correct you asking for the area we are using DATASOURCE name.
    public static final String DATASOURCENAME="jdbc/MYSQLDB_DS1_ALIAS1";
    Context ctx=null;
              try{
                   ctx=new InitialContext();
                   ds=(DataSource)ctx.lookup(DATASOURCENAME);
              catch(NamingException ne){
                   PatentLogger.getInstance().logException(CLASSNAME,"DAOFactory()",ne);
    This in your class for connecting to DB.
    Regards,
    Srinivasan Subbiah

  • Is it possible to create Dictionary Tablespace creation in 10g database?

    Dear All,
    Is it possible to create Dictionary Tablespace creation in 10g database?
    regards,
    DB.

    Check this
    How To create dictionary managed system tablespace in 10g R2

  • Creating report from 2 separate database

    All,
    Is there a way to create a report using the "Crystal Reports" plugin for Eclipse to select data from 2 separate databases.  I've joined the 2 tables on the data tab and added some of the fields to the layout tab.  Below is the SQL that has been generated thus far:
    jdbc:db2://localhost:50000/PS2Tx
    SELECT "BC_INFO"."BC_STATUS", "BC_INFO"."BC_START_TS", "BC_INFO"."BC_END_TS", "BC_INFO"."BC_ID" FROM   "PAYMENT"."BC_INFO" "BC_INFO"
    EXTERNAL JOIN BC_INFO.BC_ID={?jdbc:db2://localhost:50000/BPRQx: TRANSACTION.BATCHCLOSE_ID}
    jdbc:db2://localhost:50000/BPRQx
    SELECT "TRANSACTION"."TRANS_TIMESTAMP", "TRANSACTION"."BATCHCLOSE_ID" FROM   "FAWLS"."TRANSACTION" "TRANSACTION" WHERE  ("TRANSACTION"."TRANS_TIMESTAMP">="BC_INFO"."BC_START_TS" AND "TRANSACTION"."TRANS_TIMESTAMP"<="BC_INFO"."BC_END_TS")
    The values from the PS2Tx database will be displayed as the first page of the report, which will then allow drilldowns to the details which will come from the BPRQx database.  If I preview the report as it currently is I receive the following error:
    JDBC Error: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703, SQLERRMC: BC_INFO.BC_START_TS
    I'd really appreciate any help or guidance anyone could provide?
    Thanks,
    Todd

    All,
    We've made changes to the report and I've gotten around this issue by using a subreport linked to the main report.
    Thanks,
    Todd

  • Staging table in separate schema or separate database

    Hello,
    We are using SSIS to import data from 2 external sources into an OLTP database. The data from the sources needs to be inserted into different tables which contain foreign key relationships and therefore the insertion order matters.
    We have therefore decided to insert the data into staging tables using fast load and execute a stored procedure to insert the data into our tables, and finally truncate the staging table data.
    Is this scenario, is it better to use a separate
    schema for our staging data or a separate database? For our staging data, we do not require any backups or logs and the data will be truncated as soon as the stored procedures finish execution.

    Hello,
    We are using SSIS to import data from 2 external sources into an OLTP database.
    The data from the sources needs to be inserted into different tables which contain foreign key relationships and therefore the insertion order matters.
    We have therefore decided to insert the data into staging tables using fast load and execute a stored procedure to insert the data into our tables, and finally truncate the staging table data.
    I think instead of the staging tables you can directly load the data to the OLTP tables. Since, you have PK-FK tables in OLTP, of course you need to load the parent tables first. In SSIS, you can execute the parent table data flow task (DFT) first followed
    by the child tables DFT's. Also if you think, there may be scenario's where the source can send "orphan" records, use the error row redirection mechanism to shunt off the bad records for manual inspection. You can very well build the "alerts"
    in your package if any rows get redirected, so that the team be altered to fix them and maintain data consistency..
    Thanks, hsbal

  • Can Oracle 11g RAC support 2 separate databases?

    1. Can Oracle 11g RAC support 2 separate databases given that it asks for SCAN ip for cluster with a single Listener port number?
    2. Will the Oracle 11.2 database connections work successfully if I setup a mandatory DNS server within the Oracle RAC servers?
    I'm leading a team for a 11g project and appreciate responses.
    Thanks
    Satish.

    No Real Application Cluster technology has ever supported more than one database.Quite untrue.
    I know that both you and Tom Kyte take the stand that a cluster should have only 1 instance per node.
    That doesn't mean that it is not possible to have more than one database in a cluster -- i.e more than one instance in a node.
    That doesn't mean that it must always be so. Installing a separate cluster and additional EE + RAC licences for a separate database can be quite expensive. Of course, your reply is "consolidate". That is another debate that has been going on for years.
    A discussion on multiple databases on RAC is also at
    http://www.freelists.org/post/oracle-l/multiple-databases-in-a-single-RAC-cluster
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 12, 2010 11:15 AM

  • Creation of a database engine for mobile devices using j2me

    am trying to develop a database engine for mobile devices.. it is to develop a miniature version of the DBMS that
    can be deployed on a mobile phone..I have to develop my own code for performing tasks such a s creating a table,
    inserting values into it, selecting from it etc..
    I limited my self to develop the software so that it can perform 3 functionalities of create, insert,select..
    I should be taking the details such as table name and its parameters from the user and then should be able to
    create a suitable data structure for it(i tried to develop a class)...
    Usage of RMS package helps me partially in this.. I did that and ll be doing that..
    I got stuck while developing the code for creation of a table.. I am facing problems in creating a dynamic data
    structure for a table and also to use such data structure else where in my project..
    I need help in developing an algorithm for this..
    I would be very grateful to u all if u help me out in developing the code for this project..

    I'm sorry for the amount of time it took me to get back. Derby is an open source database written entirely in Java. I do not know if it can support resource constrained devices like MIDP compliant, but may work okay with CLDC.
    But outside of Derby being a solution, let me give you a few ideas off the top of my head.
    Set up a database server in a separate thread. This server will really be your controller for RMS access.
    Since RMS is just a big sequential 'pipe' you will have to think of data as 'frames' - (starttable) (tableID) (tablename) (data) (tablename) (data).....(endtable).
    When you need to write additional data, just append it to the end of the RMS object.
    When you need to retrieve data, thing are more complex.
    1. Read in all data, looking for your particular tableID. This may be made much easier using RMS filters - (I'm not sure, I've never used them)
    2. Once start of table of interest is found, stick the data elements in either a java vector or array until you reach the table end identifier. I think vector will be a better choice - trust me. (I think its available in J2ME...)
    3. Package this into a do while loop until the element you are searching for is read. If you need to do some sorts on the data or something else that requires the all the data to be present then you need all the data for that particular table. One thing will always be clear. The first data you grab will always be some start table identifier and the last data you grab will be an end table identifier. We just don't know which table because of how we put stuff in the RMS resource.
    This provides you a few positives as well as negatives:
    Positive:
    1. Fast data writes, no need to search for a particular table before accessing it, nor do you need to search for an index in that table.
    2. When looking for data, data may* be found without searching through the entire table. This is accomplished with RMS filters or logic test within the RMS read loop.
    Negative:
    1. Slow when all data of a table is needed (i.e. compute sums or averages of entries). The entire RMS database must be read to ensure all the entries are searched. An example of how this is a problem is as follows: You have 5000 entries in you RMS database resource and you are looking to compute the average of a value in some table. When you first wrote the data to the table, it was done sequentially and no other data for that table exist. But we can't tell if that's the case, so we have to read through all 5000 entries to make sure we looked for every piece of data.
    Beacuse of this issue, this database structure, performance may be fine for 50K - 100K entries (depending on table element size), if the reading requirements don't force full data reads. Otherwise, 25K may be an upper limit.
    I hope this helps.
    Edited by: estarkey on Mar 17, 2009 9:15 PM
    Edited by: estarkey on Mar 17, 2009 10:01 PM

  • Error in creation of sample database during installation of Oracle8

    I am trying to install Oracle8 for Intel Solaris8. Near the end of installation - running database configuration assitant, the creation of the sample database failed by an alert:
    ORA-03114: not connected to ORACLE
    I also tried to run database configuration assistant in custom mode separately, "ORACLE not available" message came up.
    I think ORACLE should be connected and running before creation of the sample DB, like installation of Oracle in Windows.
    Anyone has the same problem or can give me a help?
    The Oracle(8.1.7) CD comes with Solaris8 (07/01) package.
    Thanks.

    I would guess that your kernal parameters have not been set. Check you oracle install guide for the appropriate additions to /etc/system for semiphores and shared memory segments. If you have not made these changes, the database will not come up.
    ...jcd...

  • Ora-12154 after creation of second database

    DB 10g ver 10.1.0.2.0
    OS Windows server 2003 32bit +sp1
    Summary:
    Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
    Full:
    Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
    On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
    If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
    I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
    I can tnsping both database1 and database2 and lsnrctl status shows
    Service "database1" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database1XDB" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database2" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    Service "database2XDB" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
    TIA
    Will
    .

    Hi,
    Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
    I have added an extra section as suggested to the listener.ora, it now reads
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (GLOBAL_DBNAME = dm)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = dm)
        (SID_DESC =
         (GLOBAL_DBNAME = medline)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = medline)
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
    running lsnrctl services gives:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
    :10
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 2 instance(s).
      Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0
             LOCAL SERVER
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 2 instance(s).
      Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfullywith the original listener.ora file lsnrctl services gave
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
    :13
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfully

  • Installation and creation of first database in Oracle on Solaris 5.10

    hi all,
    I have dug around and found that /etc/system is no longer used in solaris 10. i found that the command prctl is now envoked to setup the kernel parms.
    I have solaris 10 - oracle 10g - Intel Processor.
    Can anyone point me in the right direction or provide me a link to the doc I need to setup correct kernel parms in my version of solaris and to get dbca to just create an intial database. I keep getting the oracle not available, shared memory, error messages on inital dbca creation of database and I know it is because of kernel parms not being set right. I have followed the instructions found under documentation here but it gives me argument errors when issuing:
    prctl -n project.max-sem-nsems -v 512 -r -i project default
    All other params work fine and when I check them they show up as correct. The only doc I could find was for SPARC. I didnt know if this made a difference in setting the parms but I assume it does.
    Thanks.

    Try this link
    http://www.dbspecialists.com/presentations/oracle10gsolaris.html
    Regards
    Raman

  • Dynamic Creation of a Database Using Coldfusion

    Here is what i want to do.
    Through the simple click of a button on want to dynamicly create a new databas
    e for a completely new user.   I have a database already designed but what i want is for that database to act as my "perfect database image"  that can be replicated for use by other users on the system. I not only need to have  the DB dynamically created or copied I need to be able to create the ODBC connection in coldfusion so that the user can start using the database without any customer service.  I am using MSSQL 2005. thank you.

    1. Create a stored procedure that:
                a. Creates a database exactly like your original design (tables, columns, data types etc)
                b. With required parameters like username, password, dataSource
    2. Provide a form for the user to fill (fields to include applicable parameters - password etc)
    3. Form action attribute should point to a page that will invoke the stored procedure, passing in all required parameters
    4. Build in checks to avoid multiple database creation by one user (except you want to allow it)
    5.  It may be better to provide a means for user to delete his/her own database or table

  • CAF Business Objects in Separate Database

    We currently have an application written in CAF which is using Business Objects/Entity Services using local persistence. I believe the local persistence automatically uses the default datasource defined in the SAP WAS portal server and creates the tables in that database.
    The requirement is to have that CAF application data stored in a different database instead of the portal database. There are ways to install a separate datasource in the SAP WAS server to point to a different database, but I don't know how to make CAF Business Objects use that newly installed datasource, or whether it is possible?
    Any help is appreciated!

    Hi,
    it seems I've to achieve that by using associations.
    But how should the Scenario look for my example?
    The relation is the following:
    Each application has exactly one division.
    Is it correct like that?
    DIVISION: Association to APPLICATION ("DivisionApplication"), CROSS_BO, ONE_TO_MANY
    BO APPLICATION: Association to DIVISION ("ApplicationDivision"), CROSS_BO, NONE_TO_ONE
    Another question:
    I can now add an association to APPLICATION  through the service browser by choosing the association name "ApplicationDivision" and putting the 32 digit the DIVISION that I want to associate.
    Is that the only way to do it in service browser?
    As this is impossible for business users, do I have to create a WD for them to maintain those values in an easier way?
    Thanks.

Maybe you are looking for