New Database parameter settings

I have a new Windows server with Oracle 11g, Windows 2008 R2, 4 CPU and 10 G of memory.
I had another server that had 2 cpu and 5 G of memory but the Oracle database was not utilizing the memory appropriately (I am also New to Oracle)
So I am setting up the new database to use 8G for the SGA and PGA this time on this new server. One thing I noticed in the last test of the application on the previos server was that the bottleneck appeared to be the Buffer cache hit ratio and shared pool....it also appeared to be extremely IO intesive however the network adapeter never spiked above 12%. So all of the contention was or seemed to be in the database.
With the new server should I increase the db_block_buffer parameter? It is currently defaulted to 0?
Any help would be appreciated. The application we are setting this up for is extremely cursor intensive and we cannot change the code.

ofmdba wrote:I have a new Windows server with Oracle 11g, Windows 2008 R2, 4 CPU and 10 G of memory.
I had another server that had 2 cpu and 5 G of memory but the Oracle database was not utilizing the memory appropriately (I am also New to Oracle)
>
How did you measure that oracle is not using the memory properly? Oracle is not supposed to use the complete physical memory anyways. It can use only what is going to be set for it.
<font color="red"> I was watching spotlight for Oracle and the server perfmon counters and never saw any real work....Physical IO appeared high the total SGA area was 888MB and the appliation that goes against it is cursor intensive....at the time a tester was running a search and sort of 14,000 records and it took 18 minutes. My thought, however wrong I might be, was that the SGA could be sized much larger to take advantage of the memory on this server, and hopefully reduce the time it is taking </font>
>
So I am setting up the new database to use 8G for the SGA and PGA this time on this new server. One thing I noticed in the last test of the application on the previos server was that the bottleneck appeared to be the Buffer cache hit ratio and shared pool....it also appeared to be extremely IO intesive however the network adapeter never spiked above 12%. So all of the contention was or seemed to be in the database.
>
Using the hit ratios to tell that there was a contention or bad performance is not such a good idea. If hit ratio was the only criteria that you used or had , I wouldn't call it a right move to make.
>
With the new server should I increase the db_block_buffer parameter? It is currently defaulted to 0?
>
This parameter is obsoleted and not in the current release of 11g but since 9i. So you should not bother about this parameter at all.
>
Any help would be appreciated. The application we are setting this up for is extremely cursor intensive and we cannot change the code.
>
So if its creating lots of cursors , it is possible that the application is using lots of literals and constants which can be reduced using the parameter Cursor_sharing.

Similar Messages

  • Database Parameter _ktb_debug_flags in 11.2.0.2

    HI Folks,
    Could  Anyone  Please explain the importance of  Database Parameter _ktb_debug_flags in 11.2.0.2 .  This parameter has been  recommended
    Early Watch Report of ECC System.
    Regards,
    Sharma TVK

    Hi Kamesh,
    Please execute DBverfiy and check whether below message appear in the logs
    ORA-1555 / ORA-600 [ktbdchk1: bad dscn] / ktbGetDependentScn / Dependent scn violations as the block ITL has higher COMMIT SCN than block SCN
    If yes, then refer to SAP note 2005311 and set the parameter _ktb_debug_flags.
    This is a dynamic parameter and can be set online using the command
    alter system set "_ktb_debug_flags"=8; ( As per SAP note 1431798 - Oracle 11.2.0: Database Parameter Settings)
    This is a known bug in Oracle 11.2.0.2 if you have Oracle data guard configured.
    Hope this helps.
    Regards,
    Deepak Kori

  • Creating a new database vs. Using the existing database

    Hi,
    I have to build a new desktop application over an existing oracle database -
    Current database is around 300 gb
    Has 1500+ tables
    Tables are in denormalized form and has ungrouped table columns
    High level of nesting is done in the triggers.
    Now before I take decision to use existing database I want to know
    1. what factors to consider while choosing between the existing db or a new db?
    Thanks in advance.

    Some of the things I would consider before including the two desktop applications together:
    Would you mind impacting one or the other application (downtime) if you needed to bounce the database for any reason, or if there were issues with the database. Keeping them separate would prevent having to bring down both applications if the database went down for any reason (planned or otherwise).
    Would the type of activity in both databases be so similar that all global optimizer and other parameter settings be perfect for both cases?
    Would the SLA be the same for both databases? Would your customers agree to impacts of one application data if you had to roll back the database for the other application?
    By having the two applications in the same database, you are also stuck with having to wait for both application vendors to certify their product with the next patch level or version for upgrades. Keeping them separate eliminates this problem.
    Is there any compelling reason to keep them together?
    Personally, I would keep them separate for all of the above reasons, and many more which I did not bother to write.

  • How to crate a new database

    I have installed the XE edition and the home page and all works. What I would like to do is create a simple database and have an application talk to it via OLEDB. Two problems with that:
    1) If you want to create a new database, the simplest option is to use the Database Configuration Assistance (DBCA). But that doesnt come with XE and you dont appear to be able to download it.
    Your next option is to use SQL statements. The manual contains some info but it states that your DBA will typically create the database using SQl scripts. It does give some snippets as to what you might do, but it is not complete and hence fails if you try it (bad docs!). I found a few other web pages that contain some commands, e,g this one:
    http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
    which I am about to try next.
    Why is creating a new DB using Oracle so hard? Took me 10 min on MySQL and SQL Server. Surely for test purposes if you just want a simple database with default settings, it should be easy to create?
    2) Visual Studio 2003 lets you do a database connection test. So with Oracle XE installed, I did a connection test using "Microsfot OLE DB Provider for SQL Server" and I choose local host and give it my admin user name and password. It says "Test connection failed because of an error initializing provider. SQL Server does not exist or access denied". I also installed ODAC101040 which is supposed to install the Oracle OLEDB driver. So if I try and do a connection test for the "Oracle Provider for OLE DB". Just selecting it gives you "OraOLEDBplus10.dll - The specific module could not be found". So what does ODAC101040 install really then?
    Any ideas?

    I will take the first part of this (BTW - it's often better to have seperate threads for seperate questions - makes it easier to track).
    The concept of a database in SQLServer and MySQL is different than the concept of a database in Oracle. In Oracle, we use the concept of a schema to seperate logical objects in a name space, SQLServer and MySQL use a database. We also then use the concept of a tablespace to seperate how physical objects are stored, as opposed to how a database is used in SQLServer and MySQL.
    In XE, you can have as many schemas and tablespaces as you want. So instead of looking at CREATE DATABASE (which is really complicated, and not really doing what you think it is doing), you should be instead be considering CREATE USER (creates a schema in which you can then create database objects) and CREATE TABLESPACE (creates a physical storage location). Having said that, XE defaults the physical storage locations to a generic tablespace called USERS, as an aid to simplicity, but you can create your own tablespaces if you wish.
    CREATE USER is docced in the 2 DAY DBA guide for XE. CREATE TABLESPACE is in the Oracle Database 10g Release 2 doc - http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7003.htm#SQLRF01403
    So the question really is - what is if that you are wanting to do when you are trying to create a database in Oracle ? What is the problem you are trying to solve ?

  • 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

  • Error when creating a new database on oracle 9i release 2

    hi friend,
    i have a question when i create new database manually then i get error.
    error like this
    create database alauki
    error at line 1:
    ORA-01092 : ORACLE instance terminated. Disconnection forced
    the alert log file is
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 06:42:47 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 06:42:47 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 06:43:02 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 06:43:07 2006
    alter database mount exclusive
    Mon Jan 02 06:43:08 2006
    ORA-09341: scumnt: unable to mount database
    OSD-04400: unable to acquire internal semaphore for process
    O/S-Error: (OS 183) Cannot create a file when that file already exists.
    Mon Jan 02 06:43:08 2006
    ORA-1102 signalled during: alter database mount exclusive...
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 3
    Waiting for dispatcher 'D000' to shutdown
    Waiting for shared server 'S000' to die
    All dispatchers and shared servers shutdown
    Mon Jan 02 06:46:03 2006
    alter database close normal
    ORA-1507 signalled during: alter database close normal...
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 10:50:49 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 10:50:49 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Mon Jan 02 10:51:24 2006
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 10:51:34 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 10:51:45 2006
    alter database mount exclusive
    Mon Jan 02 10:51:45 2006
    ORA-00202: controlfile: 'E:\RITESH\DATA\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Mon Jan 02 10:51:48 2006
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 3
    Instance terminated by USER, pid = 604
    can u pls give me a solution of error
    Thanks in advance
    Ritesh Patel
    Message was edited by:
    RITESH

    this is my alert log file
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 14:21:01 2006
    CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     USER SYSTEM IDENTIFIED BY *     LOGFILE GROUP 1 ('E:\RITESH\DATA\REDO01.LOG') SIZE 100M,
              GROUP 2 ('E:\RITESH\DATA\REDO02.LOG') SIZE 100M,
              GROUP 3 ('E:\RITESH\DATA\REDO03.LOG') SIZE 100M
         MAXLOGFILES 5
         MAXLOGMEMBERS 5
         MAXLOGHISTORY 1
         MAXINSTANCES 1
         CHARACTER SET US7ASCII
         NATIONAL CHARACTER SET AL16UTF16
         DATAFILE 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
         EXTENT MANAGEMENT LOCAL
         DEFAULT TEMPORARY TABLESPACE TEMPTS1
              TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
         UNDO TABLESPACE UNDOTBS1
              DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:21:02 2006
    Database mounted in Exclusive Mode.
    Mon Jan 02 14:21:36 2006
    Successful mount of redo thread 1, with mount id 2260372877.
    Assigning activation ID 2260372877 (0x86ba8d8d)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: E:\RITESH\DATA\REDO01.LOG
    Successful open of redo thread 1.
    Mon Jan 02 14:21:36 2006
    SMON: enabling cache recovery
    Mon Jan 02 14:21:36 2006
    create tablespace SYSTEM datafile 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
    EXTENT MANAGEMENT LOCAL online
    Mon Jan 02 14:22:11 2006
    Completed: create tablespace SYSTEM datafile 'E:\RITESH\DATA
    Mon Jan 02 14:22:11 2006
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Mon Jan 02 14:22:16 2006
    CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:22:38 2006
    Created Undo Segment _SYSSMU1$
    Created Undo Segment _SYSSMU2$
    Created Undo Segment _SYSSMU3$
    Created Undo Segment _SYSSMU4$
    Created Undo Segment _SYSSMU5$
    Created Undo Segment _SYSSMU6$
    Created Undo Segment _SYSSMU7$
    Created Undo Segment _SYSSMU8$
    Created Undo Segment _SYSSMU9$
    Created Undo Segment _SYSSMU10$
    Undo Segment 1 Onlined
    Undo Segment 2 Onlined
    Undo Segment 3 Onlined
    Undo Segment 4 Onlined
    Undo Segment 5 Onlined
    Undo Segment 6 Onlined
    Undo Segment 7 Onlined
    Undo Segment 8 Onlined
    Undo Segment 9 Onlined
    Undo Segment 10 Onlined
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITE
    Mon Jan 02 14:22:39 2006
    CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
    Completed: CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\
    Mon Jan 02 14:22:40 2006
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS1
    Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS
    Mon Jan 02 14:22:41 2006
    SMON: enabling tx recovery
    Mon Jan 02 14:22:44 2006
    Errors in file e:\ritesh\alauki\udump\rits_ora_804.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01991: invalid password file 'D:\oracle\ora90\DATABASE\PWDrits.ORA'
    Mon Jan 02 14:22:44 2006
    Error 1991 happened during db open, shutting down database
    USER: terminating instance due to error 1991
    Instance terminated by USER, pid = 804
    ORA-1092 signalled during: CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     U...

  • 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)

  • Problem in new database creation with the help of online  backup

    Dear dba's
    i am using oracle 11gR2 database in windows server 2003. database is running in ARCHIVE LOG mode.
    i have taken an online backup of all datafile,controlfile and spfile.Then i crated folders in all the locations as required for new database.
    then i registerd the service of new database named as 'newdb' by
    oradim -NEW -SID newdb
    then i created a password file manually in 'oracle_home\database' location.
    i created a new contolfile named as controlfile_01.ctl. the content of controlfile as follows
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "NEWDB" NORESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_1_7FK0XG7B_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_1_7FK0XHWB_.LOG'
    ) SIZE 50M,
    GROUP 2 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_2_7FK0XKB8_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_2_7FK0XM0Z_.LOG'
    ) SIZE 50M,
    GROUP 3 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_3_7FK0XNOZ_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_3_7FK0XOWB_.LOG'
    ) SIZE 50M
    DATAFILE
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSTEM_7FK0SKN0_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSAUX_7FK0SKPG_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_UNDOTBS1_7FK0SKTC_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_USERS_7FK0SKWB_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_EXAMPLE_7FK0Z5LK_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\MARSH.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\JOMARSH.DBF'
    CHARACTER SET AL32UTF8
    the control file path was registered in pfile also.
    then i brought the database to nomount stage.
    the problem is when i try to mount database it shows following error. anyone can help me to over come from this issue????????
    SQL> startup pfile='D:\app\Administrator\product\11.1.0\db_1\database\INITnewdb.ora' nomount;
    ORACLE instance started.
    Total System Global Area 535662592 bytes
    Fixed Size 1334380 bytes
    Variable Size 301990804 bytes
    Database Buffers 226492416 bytes
    Redo Buffers 5844992 bytes
    SQL> ALTER DATABASE MOUNT;
    ALTER DATABASE MOUNT
    ERROR at line 1:
    ORA-00205: error in identifying control file, check alert log for more info
    the alert massage is:
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: 'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\CONTROLFILE\CONTROLFILE_01.CTL'
    ORA-27048: skgfifi: file header information is invalid
    OSD-04001: invalid logical block size (OS 1413563730)
    Fri Dec 09 13:11:59 2011
    Checker run found 1 new persistent data failures
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Thanks & Regards,
    John Marshal.A

    Hi;
    Error: ORA 205
    Text: error in identifying control file <name>
    Cause: The system could not find a control file of the specified name and
    size.
    Action: Either
    Check that the proper control filename is referenced in the
    CONTROL_FILES initialization parameter in the initialization parameter
    file and try again.
    When using mirrored control files, that is, more than one control file
    is referenced in the initialization parameter file, remove the control
    filename listed in the message from the initialization parameter file
    and restart the instance.
    If the message does not recur, remove the problem control file from
    the initialization parameter file and create another copy of the
    control file with a new filename in the initialization parameter file.
    Regard
    Helios

  • How to Create new database from cold backup files.

    Dear Experts,
    I have an oracle 10g databae on windows 2003 server.
    The database is in Archive log mode and backup strategy is Taking cold backup ever night.
    Backup steps:
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location.
    Startup.
    I have taken a backup at Tuesdaay 1AM and I have archive logs also.
    On Wednesday, I want to Create a new database on another server with the available cold backup files and archive logs. I want to recover the database upto 4PM Wednesday. How can I do this.
    I am not using control file auto backup or control file backup to trace.
    Please help me how can I do this. I am new to oracle database Administration.
    --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The steps :
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location -- you mean the alternate location for the new databaseare correct (except that I would say "alternate location for the new database").
    If you do not have controlfile backups, you cannot either OPEN the database or RECOVER the database until and unless you CREATE the Controlfiles. You have to generate a CREATE CONTROLFILE script using a BACKUP CONTROLFILE TO TRACE from the Production serer and create the controlfile on the new server.
    BEFORE the Startup, I would use
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;The "using backup controlfile" tells Oracle to continue attempting Recovery -- ie doing a RollForward -- till the last archivelog made available to it.
    For the Recover command, you then keep applying the ArchiveLogs from the Tuesday 1am ColdBackup upto Wednesday 4pm.
    Once you have applied the last ArchiveLog, you do an
    ALTER DATABASE OPEN RESETLOGS;Here are my notes of doing a RollForward "Recovery" from a Cold Backup :
    http://hemantoracledba.blogspot.com/2007/05/rollforward-from-cold-backup.html
    If you are attempting all these steps on a different server from your current Production database, you should be safe.
    Once you OPEN the database, you can use CREATE CONTROLFILE or the NID utility to rename the database.
    If you are attempting to create the new database on the same server there are many other precautions you have to take and unless you have experience with cloning databases, I would advice you against doing so (only the RMAN DUPLICATE DATABASE command has a safer method of cloning a database).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Trouble using asm instance for new database

    I have an asm instance and am trying to create a new database that will use the asm storage. I'm using dbca to create the new database. This is a test system on windows so I'm using the asmtool -create flatfiles for disks with the asmallow_only_raw_disks parameter set to false.
    If I have #SQLNET.AUTHENTICATION_SERVICES = (NTS) commented out in my sqlnet.ora, then I can't get into asmcmd:
    ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
    and dbca won't create the new database that uses asm because the dbca gets the same 01031 error when trying to create the control files for that database.
    If I have SQLNET.AUTHENTICATION_SERVICES = (NTS) NOT commented out, the I can get into asmcmd, but I can't startup the databases using sys, even though I am sitting at the server,
    AND, dbca won't create the new database that uses asm becuase the dbca can't start the instance
    credential retrieval failure.
    I'm in a catch 22. Something is not right with my system but I just can't seem to figure out what it is.
    The asm instance does have a password file.

    I let the dbca create scripts and am currently walking through the scripts. I think it's my asm database that is actually creating the problem. I did the orapwd and oradim manually and can startup nomount the instance just fine. The create database statement fails on creating the controlfile but it's saying it already exists. I suspected the dbca form wasn't giving me all the errors like it should.
    Thanks for your suggestion on the password file.

  • How to create service for new database

    i am working on 8i.i want to create new database instead of existing for which first service have to create.i had created parameter file and perform changes,now with oradim i am trying to create service but it is giving incorrect version bcaz i have win2000 and oradim works with winnt only.

    Goodfire wrote:
    I want after creation of a custom database to execute a script that will create a Network Service without having to go through the UI
    Its just adding those 5 lines at tsnames.ora on the client dir
    How can I do i through a script?
    So I can plant it after Create DB script and have both in 1 step.
    P.S.
    The most obvious keywords on main SE don't return something for this so it worths adding it
    keywords : how to create client network service from script oracleWrong approach.
    Better: create database template and execute dbca in silent mode.
    Also execute netca in silent mode as Harrison suggest.
    PS: Adding the 5 lines to tnsnames.ora does not create a network service, first you have to set the "service_names" init parameter and the listener will create the service when the database starts (simplified explanation).
    :p

  • Problems wit creating a new database on solaris wit dbca ORA 09925/ORA-1031

    Hi Oracle users,
    I'm using Oracle 10gR2 on Solaris and try to create a new database
    instance.
    I'm using dbca for that task. After making all the settings I get the error
    ORA-09925 and then ORA-1031.
    For the second error I found the advice to run te root.sh to be sure that
    all user privileges for local logins are correct.
    But tis didn't help.
    Do you have an advice for me ?
    Best regards,
    Daniel

    $ oerr ora 9925
    09925, 00000,  "Unable to create audit trail file"
    // *Cause:  ORACLE was not able to create the file being used to hold
    //          audit trail records.
    // *Action: Check the UNIX error number for a possible operating system error.
    //          If there is no error, contact ORACLE customer support.
    $                                   write permission problem or non-existent directory ?

  • Database level settings

    Please advise database level settings for all our databases for following items:
     Virtual Log File
     Database file growth settings
    - And suggest what are the best practices around these items that we need to follow for future new databases. What are different things to consider?
    - And also what would we need to do before making these changes on current databases?
    Thanks,

    Can you refer the below link
    https://www.simple-talk.com/sql/database-administration/sql-server-database-growth-and-autogrowth-settings/
    http://www.sqlskills.com/blogs/kimberly/8-steps-to-better-transaction-log-throughput/
    --Prashanth

  • Database cache settings for 4.13 on NT 4

    The database cache settings and the documentation have always been
    confusing.
    I have about 35000 entries in my directory. If I have enough available ram
    should I try to put all the entries into ram? The default setting is a 1000,
    should I change it to 35000? Will I notice any great speed increases.
    And the second setting has to do with index cache. Should I try to get that
    into ram also? My id2entry.db2 file is about 40MBs. Should I change the
    default from 10MBs to 40MBs? Will there be a significant increase in speed?
    Thanks.

    Thanks Russ H for your quick reply.  I am still fairly new to FCP X coming from using FCE not iMovie.
    The project I'm working on I had already started before posting yesterday.  Is it possible to change the settings for what I have already done, or no I need to start all over again?
    Thanks again
    Matt

  • ORA-12154- during creation new database

    Hi All,
    when creating new database I I get this ora error ORA-12154 , Step : copying database files.
    Could you please help ?
    Thanks,

    Hi,
    ORA-12154:
         TNS:could not resolve the connect identifier specified
    Cause:      A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:      
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.

Maybe you are looking for

  • How to upgrade from version 3.2 to version 4

    Current using SQL Developer version 3.2.09. OS: SUSE Linux 11 How to upgrade from version 3.2 to version 4? Thanks Scott

  • WEBDYNPRO FOR ABAP MATERIAL

    Hi Experts ,        i am new to this webdynpro , i want to learn this thing . If anyone have the tutorials for webdynpro then please send to this mail id. Thanks.

  • Chnging y value in line graph

    I can't seem to find a way to increase the y value for a numbers line graph. When I use the inspector and tab out of the field it goes back to zero!

  • Scripting Question's

    I am new to scripting so I would really appreciate any help. I am looking for a way to act on information gathered in the "get caller contact info" step. In particular I would like to be able to play different prompts and set different priority's bas

  • Files locked when viewed on Mac, not locked on PC.

    I'm creating files on a PC that are not locked, yet when I view them through the network, SOME of them are labeled as "locked" in Get Info and I have to go through the minor task of holding down OPTION when emptying the trash if I use the Mac to dele