About oracle instance

Heloo ....
I want to know informtaion about oracle instance.
What is Instance?
what is link between instance and database?
How to create instance?

You should check Oracle Concept for the answers.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref83
An Oracle database is a collection of data treated as a unit.
The database has logical structures and physical structures. Because the physical and logical structures are separate, the physical storage of data can be managed without affecting the access to logical storage structures.
What is Instance?The combination of the background processes and memory buffers is called an Oracle instance.
what is link between instance and database?An Oracle database server consists of an Oracle database and an Oracle instance. Every time a database is started, a system global area (SGA) is allocated and Oracle background processes are started. The combination of the background processes and memory buffers is called an Oracle instance.
How to create instance? use DBCA create a database then you can start the instance.

Similar Messages

  • Oracle instance crashing when enabling use_indirect_data_buffers=true

    I have a Windows 2003 EE server (32bit) with 16GB of ram hosting a 10.2.0.2 Oracle server which is used to support a commercial software package (arcsight). I'm trying to get the Oracle backend to leverage the available system memory. I've read 50-60 different articles and posts regarding AWE and Oracle. I have successfully tuned the userva parameter in order to get the server to boot stable with the /3gb boot parameter. I've gotten to the point that the oracle instance will start up, but within about 30-60 seconds the instance will crash. Below is the information I believe that is relevant:
    *.......From computer Registry.........*
    AWE_MEMORY_WINDOW = 1288486912
    ORA_WORKINGSETMIN = 2
    *...........From init.ora.............*
    *.__dg_broker_service_names=';'
    arcsight.__java_pool_size=0
    arcsight.__large_pool_size=0
    arcsight.__shared_pool_size=314572800
    arcsight.__streams_pool_size=0
    *.audit_file_dest='E:\oracle10g\OraHome10g\admin\arcsight\adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.background_dump_dest='E:\oracle10g\OraHome10g\admin\arcsight\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='E:\oracle10g\OraHome10g\oradata\arcsight\control01.ctl','f:\arcsight\control02.ctl','g:\arcsight\control03.ctl'
    *.core_dump_dest='E:\oracle10g\OraHome10g\admin\arcsight\cdump'
    *.cursor_sharing='FORCE'
    **.db_block_size=16384*
    **.db_block_buffers=235929*
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_files=2000
    *.db_name='arcsight'
    *.db_writer_processes=4
    *.dispatchers=''
    *.job_queue_processes=10
    *.log_archive_dest_1='LOCATION=H:'
    *.log_buffer=1048576
    *.open_cursors=2000
    *.parallel_max_servers=0
    *.pga_aggregate_target=314572800
    *.processes=300
    *.recyclebin='OFF'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=0
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='ARC_UNDO'
    *.user_dump_dest='E:\oracle10g\OraHome10g\admin\arcsight\udump'
    *.java_pool_size=0
    *.large_pool_size=0
    *.shared_pool_size=314572800
    *.streams_pool_size=0
    **.use_indirect_data_buffers=true*
    *......From oradim.log.......*
    Sun Feb 22 18:37:33 2009
    E:\oracle10g\OraHome10g\bin\oradim.exe -shutdown -sid arcsight -usrpwd * -shutmode immediate -log oradim.log
    Sun Feb 22 18:37:34 2009
    ORA-01012: not logged on
    Sun Feb 22 18:37:45 2009
    E:\oracle10g\OraHome10g\bin\oradim.exe -startup -sid arcsight -usrpwd * -log oradim.log -nocheck 0
    Sun Feb 22 18:37:51 2009
    ORA-03113: end-of-file on communication channel
    *.......From alert_arcsight.log.........*
    Dump file e:\oracle10g\orahome10g\admin\arcsight\bdump\alert_arcsight.log
    Sun Feb 22 23:20:51 2009
    ORACLE V10.2.0.2.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:14554M/16215M, Ph+PgF:14862M/15967M, VA:1926M/2047M
    Sun Feb 22 23:20:51 2009
    Starting ORACLE instance (normal)
    Sun Feb 22 23:20:52 2009
    Window memory size 1288503296
    Sun Feb 22 23:20:52 2009
    Minimum working set window size : 4096
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =36
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.2.0.
    System parameters with non-default values:
    processes = 300
    use_indirect_data_buffers= TRUE
    __shared_pool_size = 318767104
    shared_pool_size = 318767104
    __large_pool_size = 0
    large_pool_size = 0
    __java_pool_size = 0
    java_pool_size = 0
    __streams_pool_size = 0
    streams_pool_size = 0
    sga_target = 0
    control_files = E:\ORACLE10G\ORAHOME10G\ORADATA\ARCSIGHT\CONTROL01.CTL, F:\ARCSIGHT\CONTROL02.CTL, G:\ARCSIGHT\CONTROL03.CTL
    db_block_buffers = 235932
    db_block_size = 16384
    db_writer_processes = 4
    compatible = 10.2.0.1.0
    log_archive_dest_1 = LOCATION=H:
    log_buffer = 2097152
    db_files = 2000
    db_file_multiblock_read_count= 16
    undo_management = AUTO
    undo_tablespace = ARC_UNDO
    undo_retention = 43200
    recyclebin = OFF
    remote_login_passwordfile= EXCLUSIVE
    audit_sys_operations = TRUE
    db_domain =
    __dg_broker_service_names= ;
    dispatchers =
    job_queue_processes = 10
    cursor_sharing = FORCE
    parallel_max_servers = 0
    audit_file_dest = E:\ORACLE10G\ORAHOME10G\ADMIN\ARCSIGHT\ADUMP
    background_dump_dest = E:\ORACLE10G\ORAHOME10G\ADMIN\ARCSIGHT\BDUMP
    user_dump_dest = E:\ORACLE10G\ORAHOME10G\ADMIN\ARCSIGHT\UDUMP
    core_dump_dest = E:\ORACLE10G\ORAHOME10G\ADMIN\ARCSIGHT\CDUMP
    audit_trail = DB
    db_name = arcsight
    open_cursors = 2000
    pga_aggregate_target = 314572800
    PMON started with pid=2, OS id=6676
    PSP0 started with pid=6, OS id=7544
    MMAN started with pid=10, OS id=7560
    DBW0 started with pid=14, OS id=6500
    DBW1 started with pid=18, OS id=6800
    DBW2 started with pid=22, OS id=6276
    DBW3 started with pid=26, OS id=520
    LGWR started with pid=30, OS id=6756
    CKPT started with pid=34, OS id=6380
    SMON started with pid=38, OS id=7472
    RECO started with pid=42, OS id=7696
    CJQ0 started with pid=46, OS id=7912
    MMON started with pid=50, OS id=7576
    MMNL started with pid=54, OS id=6852
    Sun Feb 22 23:20:53 2009
    alter database mount exclusive
    Sun Feb 22 23:20:57 2009
    Setting recovery target incarnation to 1
    Sun Feb 22 23:20:57 2009
    Successful mount of redo thread 1, with mount id 1799551061
    Sun Feb 22 23:20:57 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Sun Feb 22 23:20:57 2009
    alter database open
    Sun Feb 22 23:20:58 2009
    Beginning crash recovery of 1 threads
    parallel recovery setup failed: using serial mode
    Sun Feb 22 23:20:58 2009
    Started redo scan
    Sun Feb 22 23:20:58 2009
    Completed redo scan
    0 redo blocks read, 0 data blocks need recovery
    Sun Feb 22 23:20:58 2009
    Started redo application at
    Thread 1: logseq 1137, block 3, scn 1707289029
    Sun Feb 22 23:20:58 2009
    Recovery of Online Redo Log: Thread 1 Group 5 Seq 1137 Reading mem 0
    Mem# 0: I:\ARCSIGHT\REDO\REDO5.LOG
    Mem# 1: I:\ARCSIGHT\REDO\REDO05B.LOG
    Sun Feb 22 23:20:58 2009
    Completed redo application
    Sun Feb 22 23:20:58 2009
    Completed crash recovery at
    Thread 1: logseq 1137, block 3, scn 1707309030
    0 data blocks read, 0 data blocks written, 0 redo blocks read
    Sun Feb 22 23:20:59 2009
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=62, OS id=6972
    Sun Feb 22 23:20:59 2009
    ARC0: Archival started
    ARC1 started with pid=66, OS id=6640
    Sun Feb 22 23:20:59 2009
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Thread 1 advanced to log sequence 1138
    Thread 1 opened at log sequence 1138
    Current log# 4 seq# 1138 mem# 0: G:\ARCSIGHT\REDO\REDO4.LOG
    Current log# 4 seq# 1138 mem# 1: G:\ARCSIGHT\REDO\REDO04B.LOG
    Successful open of redo thread 1
    Sun Feb 22 23:21:00 2009
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Sun Feb 22 23:21:00 2009
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    Sun Feb 22 23:21:00 2009
    ARC1: Becoming the heartbeat ARCH
    Sun Feb 22 23:21:00 2009
    SMON: enabling cache recovery
    Sun Feb 22 23:21:02 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_pmon_6676.trc:
    ORA-27103: internal error
    OSD-00028: additional error information
    Sun Feb 22 23:21:02 2009
    PMON: terminating instance due to error 27103
    Sun Feb 22 23:21:02 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_reco_7696.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:02 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_smon_7472.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:02 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_ckpt_6380.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:02 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_lgwr_6756.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:03 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_dbw3_520.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:03 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_dbw2_6276.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:03 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_dbw1_6800.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:03 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_dbw0_6500.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:03 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_mman_7560.trc:
    ORA-27103: internal error
    Sun Feb 22 23:21:04 2009
    Errors in file e:\oracle10g\orahome10g\admin\arcsight\bdump\arcsight_psp0_7544.trc:
    ORA-27103: internal error
    Instance terminated by PMON, pid = 6676
    I appreciate any input on what to look at to further isolate this issue. I'd run into many other issues along the way (setting AWE_WINDOW_MEMORY to a proper size, setting db_block_buffers to a proper value, etc) that various forum searches helped resolve but I've not been able to find anything related to the errors I'm getting now. If I set use_indirect_data_buffers=false and tune back the db_block_buffers, the instance starts without any problems. Its just when I try and enable the use of AWE that I'm having a problem.
    Nick

    Just wanted to close out this tread in case anyone else runs into a similar problem. Turns out we ran into a bug documented in the below linked article (we're using AMD processors). Essentially needed to disable NUMA.
    http://blog.csdn.net/orapeasant/archive/2007/06/05/1639532.aspx
    excerpt ....
    But please be aware of Bug 4494543 - affecting 10g and fixed in Oracle 11.0 ......
    ORA-7445: CORE DUMP [ACCESS_VIOLATION] WITH USE_INDIRECT_DATA_BUFFERS=TRUE
    Rediscovery Information:
    1) Using 32-Bit Oracle on a 32-Bit Windows 2003 server running on an AMD Opteron 64-Bit chip.
    2) You have set use_indirect_data_buffers=true in init.ora
    Workaround: Basically disable NUMA feature on 32-Bit platform :-
    1) Set ENABLENUMA = FALSE in Windows registry for the Oracle Home.
    2) Set enableNUMA_optimizations = FALSE (init.ora)
    Thanks for the help. We'll see if access to the extra memory will be useful or not .....
    Nick

  • Question on Oratab file when installing two Oracle instances in one machine

    OS: AIX 5.3
    DB version:10.2.0.1.0
    I already have an instance of version 9.2 which is very important and which we don't want to upgrade and we wanted another test(unimportant) oracle instance called testdb_10gR2 of version 10.2.0.1.0 on the same machine.
    So i installed 10.2.0.1.0 on a different ORACLE_HOME .Installation of the new 10.2.0.1.0 (testdb_10gR2) went ahead successfully and at the last step i have to log in as root and execute root.sh
    I entered 'n' for the options "dbhome", "oraenv", "coraenv" as shown below so that the settings for our 9.2 instance (which is very important) will remain intact.
    What would have happened if i entered 'y' ie. Overwrite ?
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u04/testdb_10gR2_Feb2009
    Enter the full pathname of the local bin directory: [/usr/local/bin]: /usr/local/bin
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    During installEdited by: Citizen_2 on Jan 30, 2009 5:05 AM

    'dbhome','oraenv','coraenv' are sripts used to set a proper environment (see the descriptions at the beginning of these scripts). These scripts rely on oratab (they check for existing SIDs), but answering 'Y' does not mean you will modifiy an existing oratab.
    I think these scripts change rarely, so it's very likely overwriting the existing 9i scripts with the 10g scripts changes nothing. To be honest I don't use the scripts , so in my case 'Y' or 'N' doesn't matter. But important is you don't have to worry about 'oratab'.
    Werner

  • ORACLE instance don't start on fresh installed operation system

    I installed Oracle 10g Express Edition Unicode (10.2.0.1.0) on a new installed MS Windows Server 2003 R2 Standard SP2 32bit german.
    All works fine. The Application Express Login was accessable thru http://127.0.0.1:8080/apex
    But after a few reboots I cannot acces Oracle's apex site any longer. And all I changed was to install MS .NET Framework 3.5.
    Since 8 am I'm searching a solution. I've read a lot of posts and articles that have the same problem with accessing the apex site, talking about ports, firewalls, log entries, the OacleXETNSListener. I checked it all but I didn't find a solution.
    But what I noticed is that my instance is not running after a reboot. (I try it with several new installations of Windows and Oracle and it is reproducable). If I do "connect / as sysdba" I get the message "Connected to an idle instance.".
    I've realized that I'm not the first person who is affected -> e.g. http://www.dbforums.com/oracle/1619995-service-started-but-databse-not-running.html
    How can these happen when the system is completely new installed?
    Be aware that I'm not an Oracle Database professional (today morning I was a totaly newbie. I never worked with Oracle Databases before). So maybe the solution is really trivial. But I am finished. Help me please. Please! :)
    Thank you very much in advance for your reply.
    Edited by: 873256 on 19.07.2011 01:22

    Thank you very much for your answers.
    If I log in with */ as sysdba* the message is "Connected to an idle instance.". If I type startup in the console the ORACLE instance starts up, like sb92075 wrote in post 2. After that the apex site is reachable (The site http://127.0.0.1:8080/apex. Is it called apex site? I'm not sure.).
    But If I restart the computer I have to do it again.
    @Vishal Joshi
    I'm not sure, how I can find the service tab. Do you mean the services in Windows -> Control Panel > Administrative Tools > Services?
    There, the services OracleServiceXE and OracleXETNSListener start automaticly. OracleJobSchedulerXE is disabled. OracleMTSRecoverySercice and OracleXEClrAgent start manually.
    Or is it an option in an Oracle configuration?
    My configuration file tnsnames.ora looks good I think:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    I'm at a loss. :(
    Thank you very much in advance for your reply.
    Edited by: 873256 on 19.07.2011 01:12

  • Oracle Instance has been terminated

    Hi,
    we are facing some weird problem with one of our Oracle database where oracle instance is getting terminated very frequently. below are the alert logs. Kindly suggest what could be the issue & how to resolve it.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    This is an IBM X series server & we have get hardware checked from vednor who have not found anything wrong with hardware (HDD).
    Sat Aug 25 08:00:34 2012
    KCF: read, write or open error, block=0xfba4 online=1
    file=2 'J:\ORACLE\DB1\DB1\SYSAUX01.DBF'
    error=27070 txt: 'OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.'
    Errors in file J:\ORACLE\DB1\diag\rdbms\DB1\DB1\trace\DB1_dbw0_7012.trc:
    ORA-63999: data file suffered media failure
    ORA-01114: IO error writing block to file 2 (block # 64420)
    ORA-01110: data file 2: 'J:\ORACLE\DB1\DB1\SYSAUX01.DBF'
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Sat Aug 25 08:00:35 2012
    Errors in file J:\ORACLE\DB1\diag\rdbms\DB1\DB1\trace\DB1_m000_5168.trc:
    ORA-00322: log 3 of thread 1 is not current copy
    ORA-00312: online log 3 thread 1: 'H:\ORACLE\DB1\ORIGLOG3\LOG_G3_M1.DBF'
    Sat Aug 25 08:00:35 2012
    System state dump requested by (instance=1, osid=7012 (DBW0)), summary=[abnormal instance termination].
    System State dumped to trace file J:\ORACLE\DB1\diag\rdbms\DB1\DB1\trace\DB1_diag_6996.trc
    DBW0 (ospid: 7012): terminating the instance due to error 63999
    Dumping diagnostic data in directory=[cdmp_20120825080035], requested by (instance=1, osid=7012 (DBW0)), summary=[abnormal instance termination].
    Sat Aug 25 08:00:49 2012
    Exception [type: IN_PAGE_ERROR, ] [] [PC:0x76E59C12, 0000000076E59C12]
    ERROR: Unable to normalize symbol name for the following short stack (at offset 213):
    dbgexProcessError()+200<-dbgeExecuteForError()+65<-dbgDB1stErrorKGE()+2235<-dbkDB1stKGE_kgsf()+77<-kgeade()+563<-kgerelv()+151<-kgerev()+45<-kgerec5()+60<-sss_xcpt_EvalFilterEx()+1869<-sss_xcpt_EvalFilter()+174<-.1.4_5+59<-0000000076E485A8<-0000000076E59D0D<-0000000076E491AF<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14<-0000000076E81278<-0000000076E59C12<-0000000076E48F14
    Errors in file J:\ORACLE\DB1\diag\rdbms\DB1\DB1\trace\DB1_d000_7044.trc (incident=153752):
    ORA-07445: exception encountered: core dump [PC:0x76E59C12] [IN_PAGE_ERROR] [] [PC:0x76E59C12] [] []
    Incident details in: J:\ORACLE\DB1\diag\rdbms\DB1\DB1\incident\incdir_153752\DB1_d000_7044_i153752.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Sat Aug 25 08:00:52 2012
    Instance terminated by DBW0, pid = 7012
    Dhiraj
    Edited by: 876613 on Aug 25, 2012 1:15 AM

    Sorry i don't have much knowledge about oracle so posting here trace log file details.
    Dhiraj
    Trace file J:\ORACLE\db1\diag\rdbms\db1\db1\trace\db1_dbw0_7012.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows NT Version V6.1 Service Pack 1
    CPU : 16 - type 8664, 8 Physical Cores
    Process Affinity : 0x0x0000000000000000
    Memory (Avail/Total): Ph:4773M/8148M, Ph+PgF:23035M/26535M
    Instance name: db1
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Windows thread id: 7012, image: ORACLE.EXE (DBW0)
    *** 2012-08-25 08:00:34.653
    *** SESSION ID:(161.1) 2012-08-25 08:00:34.653
    *** CLIENT ID:() 2012-08-25 08:00:34.653
    *** SERVICE NAME:(SYS$BACKGROUND) 2012-08-25 08:00:34.653
    *** MODULE NAME:() 2012-08-25 08:00:34.653
    *** ACTION NAME:() 2012-08-25 08:00:34.653
    KCF: read, write or open error, block=0xfba4 online=1
    file=2 'J:\ORACLE\db1\db1\SYSAUX01.DBF'
    error=27070 txt: 'OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.'
    DDE rules only execution for: ORA 1110
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
    Successfully dispatched
    ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    error 63999 detected in background process
    ORA-63999: data file suffered media failure
    ORA-01114: IO error writing block to file 2 (block # 64420)
    ORA-01110: data file 2: 'J:\ORACLE\db1\db1\SYSAUX01.DBF'
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    kjzduptcctx: Notifying DIAG for crash event
    ----- Abridged Call Stack Trace -----
    ksedsts()+585<-kjzdssdmp()+329<-kjzduptcctx()+288<-kjzdicrshnfy()+87<-ksuitm()+1557<-ksbrdp()+4373<-opirip()+853<-opidrv()+907<-sou2o()+98<-opimai_real()+299<-opimai()+191<-BackgroundThreadStart()+646<-0000000076A1652D<-0000000076E5C521
    ----- End of Abridged Call Stack Trace -----
    *** 2012-08-25 08:00:35.683
    DBW0 (ospid: 7012): terminating the instance due to error 63999
    Dump file j:\oracle\db1\diag\rdbms\db1\db1\trace\db1_dbw0_7012.trc
    Sat Aug 25 08:00:42 2012
    ORACLE V11.2.0.2.0 - 64bit Production vsnsta=0
    vsnsql=16 vsnxtr=3
    *** 2012-08-25 08:00:42.079 ssthreadkillsafe: about to forcefully terminate tid=5904, dumping call stack:
    ------------------- Call Stack Trace ---------------------
    *** 2012-08-25 08:00:42.204
    calling location entry point arg #1 arg #2 arg #3 arg #4
    0000000076E8165A 0000000000000000 0000000000000000 0000000000000011 0000000010847e38 0000000000000011
    000007FEFD3A1203 0000000076E81650 0000000026c0d268 0000000000000000 0000000026c0d1d0 0000000000000000
    ksuitm()+840 000007FEFD3A1150 000000000ae6b180 0000000000000001 0000000000000000 0000000000000000
    ksliwat()+16250 ksuitm() 0000000000000000 0000000000000444 0000000000000000 0000000000000000
    kslwaitctx()+184 ksliwat() 000007ff7b46e698 000007ff7b46e698 000001f4000001f4 0000000000023660
    kslwait()+160 kslwaitctx() 0000000000000001 000007ff747e4240 0000000000000048 0000000145e4d6f9
    ksarcv()+222 kslwait() 000000a2002a280e 00000000000000e2 00000000000000cd 0000000000024dcc
    ksbabs()+539 ksarcv() 00000000000001d0 0000000100000fd8 0000000000000001 000000001d3967e0
    ksbrdp()+1298 ksbabs() 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    opirip()+853 ksbrdp() 000000000000001e 00000001474b1574 0000000026c0f930 0000000000000001
    opidrv()+907 opirip() 0000000000000032 0000000000000004 0000000026c0fd20 4f5c3a4a00000000
    sou2o()+98 opidrv()+150 0000000000000032 0000000000000004 0000000026c0fd20 0000000000000000
    opimai_real()+299 sou2o() 01cd81d90b41b30c 0000000000000000 000e0018000807dc 00050023002e002d
    opimai()+191 opimai_real() 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    BackgroundThreadStart()+646 opimai() 0000000026c0fe68 000000000000000d 0000000000000000 0000000000000000
    0000000076A1652D BackgroundThreadStart() 000000001227de30 0000000000000000 0000000000000000 0000000000000000
    0000000076E5C521 0000000076A16520 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 94 ms
    symbol translation time: 0 ms
    total time: 94 ms
    *** 2012-08-25 08:00:48.428 ssthreadkillsafe: about to forcefully terminate tid=6232, dumping call stack:
    ------------------- Call Stack Trace ---------------------
    *** 2012-08-25 08:00:48.506
    calling location entry point arg #1 arg #2 arg #3 arg #4
    0000000076E8165A 0000000000000000 0000000000000000 000000000000000d 0000000010847e38 000000000000000d
    000007FEFD3A1203 0000000076E81650 00000000169de798 000080f153baec1f 000007ff01002000 0000000000000000
    sltrusleep()+58 000007FEFD3A1150 0000000000023558 0000002500000000 0000002500000000 0000000000000000
    kskvkrmmain()+817 sltrusleep() 0000000000000000 0000000000000003 0000000000000008 000000209a2e0ea0
    ksbrdp()+1298 kskvkrmmain() 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    opirip()+853 ksbrdp() 000000000000001e 00000001474b1574 00000000169df930 0000000000000001
    opidrv()+907 opirip() 0000000000000032 0000000000000004 00000000169dfd20 4f5c3a4a00000000
    sou2o()+98 opidrv()+150 0000000000000032 0000000000000004 00000000169dfd20 0000000000000000
    opimai_real()+299 sou2o() 01cd8258c2d597a9 0000000000000000 00060019000807dc 0006007000000000
    opimai()+191 opimai_real() 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    BackgroundThreadStart()+646 opimai() 00000000169dfe68 000000000000000d 0000000000000000 0000000000000000
    0000000076A1652D BackgroundThreadStart() 000000000b79d160 0000000000000000 0000000000000000 0000000000000000
    0000000076E5C521 0000000076A16520 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 62 ms
    symbol translation time: 0 ms
    total time: 62 ms
    *** 2012-08-25 08:00:52.453
    ksuitm: waiting up to [5] seconds before killing DIAG(6996)

  • Two Oracle Instances

    Hi,
    We had a SAP Netweaver engine (ABAP stack) installed with Oracle 9i in a server. We wanted to install XI instance in the same machine. So we installed the XI instance with a new Oracle 10g database. Now, we are not able to start the old Oracle server. However we are able to start and stop the new Oracle database.
    Can multiple Oracle instances can be installed in the same machine?
    Regards,
    Venkat

    Hi,
    yes, they can.
    But you have to take care about environment variables.
    You have to move Oracle related from system environment variable %PATH% into the %PATH% of corresponding SAP (<sid>adm) user for corresponding Oracle.
    Sample:
    System Path:  ...c:\windows\system32... %OHOME10%\bin;%OHOME9%\bin....
    Correct:
    System Path:  ...c:\windows\system32... - nothing related to %ORACLE_HOME% here
    <sid1>adm Path: ... %OHOME10%\bin... etc
    <sid2>adm Path: ... %OHOME9%\bin... etc
    Then login under <sid1>adm or <sid2>adm correspondingly and make your admin activities.
    see also, parts "Multiple Oracle Homes", "Setting Up Multiple Homes" in "SAP NetWeaver 7.0 SR2 ABAP on Windows: Oracle" installation guide
    best regards

  • Oracle instance often down!!!

    Hi
    I've have an Oracle 10g (10.2.0.4) 64bits database installed on a x64 window server. The server itself has 16gb ram. My current SGA + PGA is about 4-5gb memory, processes=500 but I am still getting random problem like oracle instance killed/down, low swap page memory from OS, listener could not hand off client connection etc. Should it be the existing server RAM(10-11gb RAM free after deduct from the SGA+PGA allocated) is more than enough?

    FireFox88 wrote:
    So far from what I can recall my database server used to once a while getting "Significant virtual memory paging was detected on the host operating system" until i turn the OS page memory to system manage which is to use whatever hard disk space available, only then the warning seldom/rarely occur. listener could not hand off client connection is another error quite often prompt. When ever this error prompt, most of the time I've to bounce the database instance.Speculation - could be caused by PGA, as a result of poorly written PL/SQL code using very large PL/SQL arrays (for bulk collection). I have seen a single PGA (private process memory of a dedicated server process) growing to 50% the RAM size of the server. I have even seen a couple of server crashes due to the kernel being starved of CPU time due to swap space thrashing.
    Before resetting a server in such a situation - get whatever diagnostics available. The problem will be gone (for the time being) after reboot, without the ability to get an actual look at just what the heck is going on. There are some magic sysrequest keys on Linux that is useful - all you need is the ability to echo specific keys to a proc device in order talk to the kernel and request various data and process dumps. Pity you are using Windows - not the easiest of kernels to troubleshoot.

  • Reducing physical RAM consumption by oracle instance in my laptop

    I wanted to reduce the amount of RAM consumed by my Oracle Instance in my machine.
    OS: Windows Server 2003
    DB version: 10GR2.So i tried to reduce the sga_max_size to 200mb then restarted the instance. But sga_max_size remains the same. What am i doing wrong?
    SQL> show parameter sga_max_size
    NAME                                 TYPE        VALUE
    sga_max_size                         big integer 584M
    SQL> alter system set sga_max_size=200m scope=spfile;
    System altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             281021316 bytes
    Database Buffers          322961408 bytes
    Redo Buffers                7135232 bytes
    Database mounted.
    Database opened.
    SQL> show parameter sga_max_size
    NAME                                 TYPE        VALUE
    sga_max_size                         big integer <font color="red"><b>584M</b></font>

    You can reduce SGA_MAX_SIZE as well as increase it, but it requires instance restart. The reason you cannot change it is that you have SGA_TARGET set to a higher value, or total value of these parameters is larger than your value for SGA_MAX_SIZE:
    shared_pool_size
    large_pool_size
    java_pool_size
    db_cache_size
    By the way, if you want to reclaim memory for your OS, you shouldn't worry about SGA_MAX_SIZE. Decrease SGA_TARGET instead.
    Message was edited by:
    Anvar Huseynov

  • Swapping between 2 Oracle instances and Discoverer

    We have this strategy of swapping between 2 Oracle instances every month to minimize downtime for our users. Our data warehouse is refreshed every month which takes about 2 to 4 days. Instance 2 is being re-loaded with next month's data, while users are currently pointing to Instance 1, loaded with current month's data. Once re-load is completed with Instance 2, users will now have to point to Instance 2. This goes on every month. How can we implement swapping, without our Discoverer users even knowing that the database had been swapped?

    If you are using Discoverer on the web, every two months you can change the TNS entry for the database on all the Discoverer server machines. That way the users type the same database alias (or you can code it into the URL so they don't have to type it), and Discoverer will connect to whichever database you have defined for that alias. Since the TNSnames.ora file is not on the users' machines, you can update them as you need.

  • Oracle instance running on a system with low open file descriptor

    Hello.
    We have 10.1.0.4 on SuSE 9 on x86 64bit Sun servers.
    We have databases that if started manually come up without the warning, but if started via a shell script scheduled through a crontab start up with this warning: "Oracle instance running on a system with low open file descriptor".
    My understanding is that it has to do with OS ulimit. it appears that non-interactive shell (crontab) does not set the nofiles at 65536.
    All our system are set up exactly the same way. The problem is, though, that some systems do not report the warning even when started non-interactively.
    My question is this: assuming my nofiles ulimit is in fact too low on all systems, why would some systems report the warning and others would not? Is there anything database specific the instance looks for when it starts, such as the number of datafiles in the database, instance memory size, etc..., which would make the instance warn in some cases but not the others?
    Thank You
    Boris

    Thank You Satish.
    This is a good reference and we may end up looking into the patch bundle associated with the bug.
    But does anyone have any idea why the systems that are set up the same exact way would warn on systems and not on others?
    Also, the Metalink note talks about init.crsd. I have not build an association between this inconsistency and RAC.
    What I do see is that if we start up our database non-interactively (where ulimit -n resolves to 1024, instead of 65536) the warning is generated, in some cases.
    Perhaps, the 1024 is too low. But then my question is why would Oracle think it is too low only on some servers and not all?
    Boris

  • RHAS 2.1 with two oracle instances

    Hi all,
    I need to install two Red Hat Advanced Server boxes with an external Dell RAID Storage. The pourpose of this installation it is to have two oracle instances in high availability. Is it posible ?? Where I can find documentation about this ??
    Thank you and sorry for my bad english

    Hola
    Espero que hables español.
    Si, si puedes, pero debes de tener cuidado al manejo de los disco.
    Ignoro si LRH AS 2.1 maneje el concepto de Cluster FileSystmes o bien el de Cluster HA.
    Te recomiento que instales dos ambientes completamente independientes de HR, co sus herramientas y BD separadas. asi podras mantenerlo mejor.
    Si manejas el HA de LRH, define con cuidado las reglas y no olvides los concurrents y listeners.
    Espero que esto te ayude, en caso de que tengas preguntas, no dudes en buscarme
    Suerte.
    Mario A Mendoza
    Mexico
    [email protected]

  • About Oracle Internals

    Hi all,
    Could anyone tell me the link where I can learn much about oracle internals, which is the pre-requisite for advance performance tuning.
    Thanks.

    Hi Sir,
    Was very happy to see you in this post, also i read your *"Oracle Database 10g Real Application Clusters Handbook"*. This book is really amazing for getting internal knowledge of RAC like Cache Fusion, Delayed Block Clean-Out, PI, BWR ......lot more ...
    By the way i know very clearly about BWR and PI, but my doubt is related to Transaction Lock and Block Lock with respect to Current Image Block.
    In chapter 12, Cache Fusion II or Write/Write Cache Fusion, Example 4: Getting a (Cached) Modified Block for Update and Commit ==> You have mentioned
    "Instance A sends the dirty block to instance C over the interconnect. It downgrades the lock on the buffer from XCUR to NULL. It keeps a PI version of the block and disowns any lock on that buffer. Before shipping the block, instance A has to create a PI image and flush any pending redo for the block changed. The block mode on instance A is now NG1."
    1. If Instance A is still performing DML transaction on the block, which means ITL slot is open on the header of this block....Then how come Instance A will transfer this block to Instance C along with open ITL....If suppose Instance A rollbacks the transaction then dont you think Instance has to do lot of work as Undo segments related to this transaction are residing in Instance A.
    2. If Instance A will not transfer the active transction block then Instance C will do Disk ping which is an performance degrade...Am i saying right ?
    3. If Instance A will transfer only when Instance C is willing to perform DML on other row on that same block, then how Instance C maintains active transaction shifting from Intance A to C and how Instance C maintains commit and rollback of active transaction in its buffer pefromed by Instance A ?
    Regards,
    Yasser

  • About Oracle OpenWorld

    Hi;
    I need to learn about some information and need some advices about Oracle OpenWorld event. I checked oracle.com about registiration and there are some option like Full Conference,Full Conference -Plus Oracle Develop, Full Conference-Plus Primavera
    For Oracle Apps Dba which one is will be better?If someone join this event before can she/he give me details? Is it possible to join event freely or its mandotary to make registtiration for can join this event.
    Can anyone say me what this event can give us, what is the benefit of this event?
    If we make registiration how we can arrange visa paper(for instance oracle send us invitation letter for visa) or hotel etc?
    Any information can be usefull
    Thanks a lot
    Helios

    Hi Helios,
    I attended OpenWorld in 2006; here are some opinions, and even a few facts ;-)
    1) You must register to attend OpenWorld. In some specialized cases it's possible to have registration fees waived (getting a blogger pass, for example), but you must be a registered guest to attend. The [Oracle Discover|http://www.oracle.com/us/openworld/registration.htm#discover] pass is a much cheaper way of getting access to the conference, but you won't get access to most of the conference sessions, or all of the events. Still, if your budget is tight, the Discover pass offers access to a lot of content, including the exhibition floor, user group and OTN areas, etc.
    2) If you get a Full Conference pass, I think there will be enough to occupy your time as an Apps DBA at OpenWorld without getting the Develop or Primavera addons. Some of my colleagues did find the Oracle Develop program to be very valuable, however, so if you do have an interest in one of the [offered tracks|http://www.oracle.com/us/openworld/018069.htm#tracks] , it might be worth the extra fee.
    3) If you go, prepare beforehand. The conference is huge, and trying to figure out what sessions and events to attend on a daily basis can take a lot of energy and planning. You can always change your mind about your schedule as the week goes on, but it's a good idea to have a framework before you arrive. Furthermore, interesting and popular sessions can fill up quickly, so building your session calendar beforehand is highly recommended. Steven Chan's blog has [some pointers|http://blogs.oracle.com/stevenChan/2009/08/connect_at_openworld_2009.html] to the EBS and Application Tools/Technology tracks for OpenWorld 2009, so you can get an idea of what's available.
    4) I don't know if Oracle offers invitation letters for non-US attendees who need visas. I do know that arranging hotel accommodation is the attendee's responsibility. Many of the hotels near the conference center (and all over San Francisco) fill up very quickly. Oracle does offer shuttle services from some hotels to the conference center.
    5) If you go, you will have a great time. It's good learning and networking experience, and Oracle puts on a good show. :-)
    Hope this helps a bit!
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • About Oracle SOA Suite 10g Release 3 Distribution (32 or 64)???

    Greetings,
    I have a question about Oracle SOA Suite 10g Release 3 distribtution, is it 32 or 64 bit????
    and if it was 32 bit, is that mean that the OC4J will use maximum 3GB memory and it cant use more????
    and if this is true, is there a workaround to make the OC4J use memory more than 3GB (like 8GB or 16.....)
    Your response is highly appreciated.

    Yes it is possible, but be ware of the runing instances, the callback URL's expect the old IP adress in the endpoint. This is not possible to change.
    Check my article:
    http://orasoa.blogspot.com/2009/05/bpel-cloning.html
    Marc

  • About Oracle RAC-CLUSTERS-HTMLDB-APLICATION SERVER

    Im trying to learn about Oracle RAC and its integration with others Oracle tools and have some questions that I want to know .
    1º) I undertand that a Oracle Cluster are vaious computers that store a extensive Database.
    2º) I also understand that a RAC are various computers that keep instances of a ORACLE database, and this database can be store on a CLUSTER.
    Now my questions:
    Can I have others computers with ORACLE TOOLS, by example, HTMLDB ,to serve web pages with information store in that CLUSTER, or ORACLE APPLICATION SERVER, to serve ORACLE FORMS AND REPORTS by example, also with information store in that . taking information from the instances of database working in the RAC&#347; Computer?
    By Example Can I have 5 computers , every one with a diferent tool, 3 with htmldb and 2 with aplication server, taking information from one computer of RAC, that have a instances of this database working?
    Regards everybody

    2º) I also understand that a RAC are various computers that keep instances of a ORACLE database, and this database can be store on a CLUSTER.
    Not quite ...
    Each part in a RAC IS AN INSTANCE, and each instance controls the same database as all the other instances.
    Therefore, HTMLDB, which is simply kept in a database, can be delivererd to the users from any instance, or from all, in the RAC.
    FORMS and REPORTS can connect to any instance in the RAC and get exactly the same data from exactly the same database as when connecting to any other instance in the RAC.
    Therefore, in a RAC, you do not have different instances 'with different tools'. An external-to-database tool, such as forms, points to one olf the instances. An internal-to-database tool, such as htmldb, is available through all of the instances.

Maybe you are looking for