DB_WRITER_PROCESSES in Oracle 10.2.0.4 HP UX
Hi all,
I noticed that asynchronous i/o cannot be used with regular filesystem on HP UX (only raw devices).
As far as I know what I can do is to configure multiple db writers with DB_WRITER_PROCESSES parameter.
DB has CPU_COUNT in 16, but 2 db writers (default value = CPU_COUNT / 8).
Will I have any benefit by increasing DB_WRITER_PROCESSES?
Or only if there is a bottleneck in writing dirty buffers?
Thanks
>
If bottleneck exists it would be at the disk end & not the CPU end.
Server processes are at least 1000 times faster than mechanical disk drives.
a single DB_WRITER could keep 10 disk controllers busy & not be a bottleneck.Well, then why does Oracle default to 1 process every 8 cpus?
DBWn also handles checkpoints, file open synchronization, and logging of Block Written records, according to [url http://docs.oracle.com/cd/E11882_01/server.112/e25513/bgprocesses.htm#BBBDIIHC]the docs. On hp-ux Oracle does file handles oddly - see MOS How to Disable Asynch_io on HP to Avoid Ioctl Async_config Error Errno = 1 [ID 302801.1] if you (the OP) haven't already.
So on hp-ux you have a potential problem of the architecture assuming asyncronicity but the dickering between dbw, lgwr and ckpt turning into bickering. Just because something is 1000 times faster doesn't mean it isn't doing 1000 more operations. In real life, you wind up with Oracle telling you to ignore Private strand flush not complete errors, because there are no actual lgwr problems unless switches are slow.
Similar Messages
-
Increasinf : db_writer_processes
How can increase db_writer_processes in ORACLE DATABASE & How can i find out the existing parameter value for it
Rgds
PRas orasid
sqlplus> show parameter db_writer_processes
sqlplus>alter system set db_writer_processes=xx scope=spfile;
If you are not using spfile modify the value manually in initSID.ora
The parameter is not dynamic it will take effect after the DB restart
Thanks, -
ORACLE8에서의 DBWR (DBWR_IO_SLAVES와 DB_WRITER_PROCESSES)
제품 : ORACLE SERVER
작성날짜 : 2002-08-12
Oracle 8에서의 DBWR (dbwr_io_slaves와 db_writer_processes)
Oracle 7에서의 db_writers는 master-slave processing을 통해, async I/O를
simulate하기 위해 사용되었다고 볼 수 있다. Oracle 8에서 DBWR의 write
processing에 더 나은 성능을 제공하기 위해 복수 개의 database writer를 사용
하는 방법은 다음과 같이 두가지로 나눌 수 있다.
1. DBWR IO slaves (dbwr_io_slaves)
Oracle7에서의 mulitple DBWR process들은 단순히 slave process로서, asynch
I/O call을 수행할 수는 없었다. Oracle 8.0.3부터, slave database writer code
가 kernal에 포함되었고, slave process의 async I/O가 가능하게 되었다. 이것은
init.ora file 내에 dbwr_io_slaves라는 parameter를 통해 가능하며, IO slave가
asynchronous I/O가 가능하여 I/O call 이후에 slave가 block되지 않아 더 나은
성능을 제공한다는 것을 제외하고는 Oracle7과 매우 유사하다. slave process는
instance 생성 시기가 아닌 database open 시에 start되기 때문에 oracle process
id가 9번부터 할당되며, o/s에서 확인되는 process 이름도 ora_i10n_SID와 같은
형태가 된다.
dbwr_io_slaves=3으로 지정한 경우, 아래와 같은 oracle background process가
구동되며, ora_i101_V804, ora_i102_V804, ora_i103_V804이 dbwr의 slave
process들이다.
tcsol2% ps -ef | grep V804
usupport 5419 1 0 06:23:53 ? 0:00 ora_pmon_V804
usupport 5429 1 1 06:23:53 ? 0:00 ora_smon_V804
usupport 5421 1 0 06:23:53 ? 0:00 ora_dbw0_V804
usupport 5433 1 0 06:23:56 ? 0:00 ora_i101_V804
usupport 5423 1 0 06:23:53 ? 0:00 ora_arch_V804
usupport 5431 1 0 06:23:53 ? 0:00 ora_reco_V804
usupport 5435 1 0 06:23:56 ? 0:00 ora_i102_V804
usupport 5437 1 0 06:23:56 ? 0:00 ora_i103_V804
usupport 5425 1 0 06:23:53 ? 0:00 ora_lgwr_V804
usupport 5427 1 0 06:23:53 ? 0:00 ora_ckpt_V804
2. Multiple DBWR (db_writer_processes)
multiple database writer는 init.ora file내의 db_writer_processes라는
parameter에 의해 구현되며, 이것은 Oracle 8.0.4부터 제공되었다. 이것은
기존의 master-slave 관계가 아닌 진정한 의미의 복수개의 database writer를
사용하는 것이며, database writer process들은 PMON이 start된 후에 start되어
진다.
이름은 ora_dbwn_SID 형태이며, 아래에 db_block_lru_latches=2,
db_writer_processes=2로 지정한 경우 구동된 oracle background process들의
예이다. 여기에서 ora_dbw0_V804, dbw1_V804이 dbwr process들이다. 만약
db_writer_processes를 지정하지 않으면 기본값은 1인데 이 때도 Oracle7과 같이
ora_dbwr_SID 형태가 아닌 ora_dbw0_SID 형태의 process가 구동된다.
usupport 5522 1 0 06:31:39 ? 0:00 ora_dbw1_V804
usupport 5524 1 0 06:31:39 ? 0:00 ora_arch_V804
usupport 5532 1 0 06:31:39 ? 0:00 ora_reco_V804
usupport 5528 1 0 06:31:39 ? 0:00 ora_ckpt_V804
usupport 5530 1 0 06:31:39 ? 0:00 ora_smon_V804
usupport 5526 1 0 06:31:39 ? 0:00 ora_lgwr_V804
usupport 5520 1 0 06:31:39 ? 0:00 ora_dbw0_V804
usupport 5518 1 0 06:31:38 ? 0:00 ora_pmon_V804
db_writer_processes로 지정된 각 writer process는 하나의 latch set에 할당된다.
그러므로 db_writer_processes를 db_block_lru_latches으로 지정되는 LRU latch의
갯수와 같은 값으로 지정하는 것이 권장할 만하며, 단 CPU의 갯수를 초과하는 것은
바람직하지 않다.
[참고] 현재까지 init.ora file내에 구동되는 dbwr의 갯수는 db_block_lru_latches
parameter에 의해 제한된다. 즉 db_writer_processes 값을 db_block_lru_latches
보다 크게 하여도 db_block_lru_latches로 지정
된 수의 dbwr process가 기동된다.
Oracle8에서 DBWR I/O slave나 복수개의 DBWR를 제공하는 방법 중 좋은 점은
이 기법을 제공하는 것이 kernal 안에 포함되어 기존의 OSD layer로 구현되었던
것보다 port specific한 부분이 없고 generic하다는 것이다.
3. 두 가지 방법 중 선택 시 고려사항
이러한 두가지 형태의 DBWR 기법이 모두 도움이 되기는 하지만, 일반적으로
어느 것을 사용할 것인지는 OS level에서 asynchronous I/O가 제공하는지와
CPU 갯수에 의존한다. 즉, system이 복수 개의 CPU를 가지고 있으면
db_writer_processes를 사용하는 것이 바람직하며, aync I/O를 제공하는 경우
두 가지 모두 사용에 효과를 얻을 수 있다. 그런데 여기서 주의할 것은
dbwr_io_slaves가 약간의 overhead가 있다는 것이다.
slave IO process를 가능하게 하면, IO buffer와 request queue의 할당을 위해
부가적인 shared memory가 필요하다.
multiple writer processes와 IO slave는 매우 부하가 많은 OLTP 환경에서
적합하며, 일정 수준 이상의 성능을 요구할 때만 사용하도록 한다. 예를 들어
asynch I/O가 사용 가능한 경우, I/O slave도 사용하지 않고 하나의 DBWR만을
asynch I/O mode로 사용하는 것이 충분하고 바람직할 수 있다. 현재의 성능을
조사하고 bottleneck이 되는 부분이 DBWR 부분인지 정확히 조사한 후 사용하여야
한다.
[참고] 이 두 parameter를 함께 사용하면 dbwr_io_slaves만 효과가 있다.
이것은 dbwr_io_slaves는 master dbwr process를 db_writer_proceses에 관계 없이
하나만 가지도록 되어 있기 때문이다.http://www.fors.com/velpuri2/PERFORMANCE/ASYNC
hare krishna
Alok -
Oracle db_writer_processes
Hi,
When one of process ran in 11.5.10.2, DBWR0 process get loaded since that process execute INSERT internally. I'm thinking to increase db_writer_processes process to 3. The current parameter value is 1.
Does this help ?
or in what situation we need to have more db_writer_processes processes.
ThanksHi,
Please refer to the following documents for guidelines about setting this parameter.
Note: 164768.1 - Diagnosing High CPU Utilization
Note: 62172.1 - Understanding and Tuning Buffer Cache and DBWR
Note: 97291.1 - DB_WRITER_PROCESSES or DBWR_IO_SLAVES?
Note: 67422.1 - Init.ora Parameter "DB_WRITER_PROCESSES" Reference Note
Regards,
Hussein -
Hardware Configuration:
Regarding Oracle Performance Issue.
Configuration 1
================
SunV880 - Sunfire
32 GB RAM
14 numbers of 36GB hard disk
8 CPUs
CPU Speed 750MZ.
Software Configuration:
Oracle 8i
OS version - Solaris 8
Customized our own application - Namex
Configuration 2
================
Intel PIII - 750 MZ
2 GB RAM
2 CPUS
Software configuration
Oracle 8i
OS version linux 6.2
Customized our own application - Namex (multi threaded application)
We installed the oracle application in all hard disks. All tables
are splited in to separate hard disks.
OS installed in 1 hard disk.
namex application installed in 1 hard disk
Oracle installed in 1 hard disk.
All tables are splited in to other hard disks.
We are trying to insert some user databases in oracle table. We
achieved up to 150 records/second in Sun server. But in lower
configuration our application inserts up to 100 records/second.
(configuration 2)
We want improve our inserting database records/per rate
in Sun Server.
How to tune our oracle application parameter values in init.ora
file. Our application tries to insert up to 500 records per second.
But I can't able to achieve this value.
init.ora file
=============
db_name = "namex"
instance_name = namex64
service_names = namex64
control_files = ("/disk1/oracle64/OraHome1/oradata/Namex64/control01.ctl", "/disk1/oracle64/OraHome1/oradata/namex64/control02.ctl", "/disk1/oracle64/OraHome1/oradata/namex64/control03.ctl")
open_cursors = 300
max_enabled_roles = 145
#db_block_buffers = 20480
db_block_buffers = 604800
#shared_pool_size = 419430400
shared_pool_size = 8000000000
#log_buffer = 163840000
log_buffer = 2147467264
#large_pool_size = 614400
java_pool_size = 0
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 1014
# audit_trail = false # if you want auditing
# timed_statistics = false # if you want timed statistics
timed_statistics = true # if you want timed statistics
# max_dump_file_size = 10000 # limit trace file size to 5M each
# Uncommenting the lines below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest_1 = "location=/disk1/oracle64/OraHome1/admin/namex64/arch"
# log_archive_format = arch_%t_%s.arc
#DBCA uses the default database value (30) for max_rollback_segments
#100 rollback segments (or more) may be required in the future
#Uncomment the following entry when additional rollback segments are created and made online
#max_rollback_segments = 500
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
#rollback_segments = ( RBS0, RBS1, RBS2, RBS3, RBS4, RBS5, RBS6, RBS7, RBS8, RBS9, RBS10, RBS11, RBS12, RBS13, RBS14, RBS15, RBS16, RBS17, RBS18, RBS19, RBS20, RBS21, RBS22, RBS23, RBS24, RBS25, RBS26, RBS27, RBS28 )
# Global Naming -- enforce that a dblink has same name as the db it connects to
# global_names = false
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = true
# define directories to store trace and alert files
background_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/bdump
core_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/cdump
#Uncomment this parameter to enable resource management for your database.
#The SYSTEM_PLAN is provided by default with the database.
#Change the plan name if you have created your own resource plan.# resource_manager_plan = system_plan
user_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/udump
db_block_size = 16384
remote_login_passwordfile = exclusive
os_authent_prefix = ""
compatible = "8.0.5"
#sort_area_size = 65536
sort_area_size = 1024000000
sort_area_retained_size = 65536
DB_WRITER_PROCESSES=4
How to improve my performance activities on Oracle server.
Please guide me regarding this issue.
If anyone wants more info, please let me know.
Best regards,
SenthilkumarAre you sure that it is not an application constraint ? i.e. the application can't handle so much data per second ? (application locks, threads )
Have you tried to write a simple test program, which inserts predefined data (which your application inserts) the same data, only changing keys ?
Then comparing the values from the 1st and the 2nd configuration ?
Did you check the way your application is communicating with oracle ? If it is TCP/ip (even on the local machine) then this is your main problem.
And one more thing, do you know if your application is able to run the load (inserts) of data on different threads (i.e. in parallel), because if is not, you won't be able to push the speed higher because your constraint is the speed of a single CPU. Consider running several process, which loads the data.
We had the same problem ot AIX machines with 4 cpus. Monitoring the machine, we found that only 25% (1 cpu) where in use. We had to run 4 processes to push the speed up. Check your system's overal load while running the 'load' (inserts).
log_checkpoint_interval = 10000
Check if this value is appropriate. Maybe you should set it to 0 (infinite). This will disable checkpoints on a 'number of undo record' basis. Checpoints will occure only on log switch.
How much redo files per redo groups do you have ? What is their size ? Are they on different disks ? How much redo data is generated by a single 'record' inserted ?
Hope i helped at least a little. -
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.
NickJust 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 -
Check point not completed in oracle 8i
Hi,
in alert log file i found the error like:
Thread 1 cannot allocate new log, sequence 216998
Checkpoint not complete
Current log# 5 seq# 216997 mem# 0: /oracle5/oradata/metasolv/redo05.log
Current log# 5 seq# 216997 mem# 1: /oracle2/oradata/metasolv/redo05a.log
Wed May 7 17:21:01 2008
Thread 1 advanced to log sequence 216998
it appers suddenly in alert log file and database users are complaining that database is very very slow and not able to complete theri task in database and lot of archive log are generating in archive destanation, what will be the exact cause.
Regards
Prakashthese are the parameter i set in this database :
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean TRUE
active_instance_count integer
always_anti_join string NESTED_LOOPS
always_semi_join string STANDARD
aq_tm_processes integer 0
audit_file_dest string ?/rdbms/audit
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /oracle/admin/metasolv/bdump
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
commit_point_strength integer 1
compatible string 8.1.0
control_file_record_keep_time integer 30
control_files string /oracle1/oradata/metasolv/cont
rol01.ctl, /oracle2/oradata/me
tasolv/control02.ctl, /oracle3
/oradata/metasolv/control03.ct
l
core_dump_dest string /oracle/admin/metasolv/cdump
cpu_count integer 4
create_bitmap_area_size integer 8388608
cursor_sharing string EXACT
cursor_space_for_time boolean TRUE
db_block_buffers integer 266240
db_block_checking boolean FALSE
db_block_checksum boolean FALSE
db_block_lru_latches integer 4
db_block_max_dirty_target integer 266240
db_block_size integer 4096
db_domain string
db_file_direct_io_count integer 64
db_file_multiblock_read_count integer 8
db_file_name_convert string
db_files integer 200
db_name string metasolv
db_writer_processes integer 1
dblink_encrypt_login boolean FALSE
dbwr_io_slaves integer 0
disk_asynch_io boolean TRUE
distributed_transactions integer 213
dml_locks integer 3408
enqueue_resources integer 3628
event string
fast_start_io_target integer 266240
fast_start_parallel_rollback string LOW
fixed_date string
gc_defer_time integer 10
gc_files_to_locks string
gc_releasable_locks integer 0
gc_rollback_locks string 0-128=32!8REACH
global_names boolean FALSE
hash_area_size integer 20971520
hash_join_enabled boolean TRUE
hash_multiblock_io_count integer 8
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string metasolv
instance_number integer 0
java_max_sessionspace_size integer 1000000000, 1
java_pool_size string 20971520
java_soft_sessionspace_limit integer 83000000
job_queue_interval integer 60
job_queue_processes integer 0
large_pool_size string 31457280
license_max_sessions integer 0
license_max_users integer 0
license_sessions_warning integer 0
lm_locks integer 12000
lm_ress integer 6000
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_dest string
log_archive_dest_1 string location=/oratranslog
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_state_1 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_duplex_dest string
log_archive_format string meta_arch_%t_%s.arc
log_archive_max_processes integer 1
log_archive_min_succeed_dest integer 1
log_archive_start boolean TRUE
log_archive_trace integer 0
log_buffer integer 163840
log_checkpoint_interval integer 1048576
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string
max_commit_propagation_delay integer 700
max_dump_file_size string UNLIMITED
max_enabled_roles integer 30
max_rollback_segments integer 170
mts_circuits integer 775
mts_dispatchers string (PROTOCOL=TCP)(PRE=oracle.auro
ra.server.SGiopServer), (proto
col=TCP)(disp=20)(mul=ON)(con=
5)
mts_listener_address string
mts_max_dispatchers integer 50
mts_max_servers integer 50
mts_multiple_listeners boolean FALSE
mts_servers integer 20
mts_service string metasolv
mts_sessions integer 770
nls_calendar string
nls_comp string
nls_currency string
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
open_cursors integer 400
open_links integer 4
open_links_per_instance integer 4
ops_interconnects string
optimizer_features_enable string 8.1.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_max_permutations integer 80000
optimizer_mode string CHOOSE
optimizer_percent_parallel integer 0
oracle_trace_collection_name string
oracle_trace_collection_path string ?/otrace/admin/cdf
oracle_trace_collection_size integer 5242880
oracle_trace_enable boolean FALSE
oracle_trace_facility_name string oracled
oracle_trace_facility_path string ?/otrace/admin/fdf
os_authent_prefix string
os_roles boolean FALSE
parallel_adaptive_multi_user boolean FALSE
parallel_automatic_tuning boolean FALSE
parallel_broadcast_enabled boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_max_servers integer 5
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
partition_view_enabled boolean FALSE
plsql_v2_compatibility boolean FALSE
pre_page_sga boolean FALSE
processes integer 700
query_rewrite_enabled boolean FALSE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
remote_dependencies_mode string TIMESTAMP
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_plan string
rollback_segments string
row_locking string always
serial_reuse string DISABLE
serializable boolean FALSE
service_names string metasolv
session_cached_cursors integer 40
session_max_open_files integer 10
sessions integer 775
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size string 20971520
shared_pool_size string 1887436800
sort_area_retained_size integer 3145728
sort_area_size integer 10485760
sort_multiblock_read_count integer 2
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
standby_archive_dest string ?/dbs/arch
star_transformation_enabled string FALSE
tape_asynch_io boolean TRUE
text_enable boolean FALSE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean FALSE
tracefile_identifier string
transaction_auditing boolean TRUE
transactions integer 852
transactions_per_rollback_segment integer 5
use_indirect_data_buffers boolean FALSE
user_dump_dest string /oracle/admin/metasolv/udump
utl_file_dir string /oracle2
SQL>
Regards
Prakash -
Note 830576 - Parameter recommendations for Oracle 10g
hi all DBA experts.
I am not good familiar with Oracle database while i read a Note 830576 - Parameter recommendations for Oracle 10g. in which SAP General Recommendation:
You should delete obsolete initialization parameters from the profile.
To determine which obsolete parameters are currently set, proceed as follows:
SQL> SELECT NAME FROM V$OBSOLETE_PARAMETER WHERE ISSPECIFIED = 'TRUE';
when i execute above command then result is no rows selected
while there are many parameters in above SAP Note which are already obsolete and not set in initSID.ora file.
for exp. the parameter OPTIMIZER_INDEX_COST_ADJ is showing
#### OPTIMIZER MODE
#optimizer_index_cost_adj = 10
as you know that this parameter is very important regarding System Performance.
now please guide me . I have to set these parameter or no need while there is not showing any parameters against obsolete command.
waiting you valuable reply.
Regards,hi both,
thanks for knowledge sharing with me other SDN users,
Dear Orkun,
Ok. At this stage, I can recommend you that apply what they have suggested,
in the message. So, you already did a part of it by configuring
Oracle parameters, already.
SAP support sent me this file (PRD_Parameters)
*** INFORMATION 1 ***
*** INFORMATION 2 ***
*** INFORMATION 3 ***
*** INFORMATION 4 ***
*** INFORMATION 5 ***
*** INFORMATION 6 ***
*** INFORMATION 7 ***
*** INFORMATION 8 ***
*** INFORMATION 9 ***
*** INFORMATION 10 ***
*** INFORMATION 11 ***
_b_tree_bitmap_plans
_fix_control (4728348)
event (10753)
event (38087)
event (10183)
optimizer_index_cost_adj
star_transformation_enabled
event (10027)
event (10028)
event (10411)
event (10629)
event (14532)
_fix_control (5705630)
_fix_control (5765456)
_optimizer_mjc_enabled
_sort_elimination_cost_ratio
event (10091)
event (10142)
event (38068)
event (38085)
event (44951)
parallel_execution_message_size
parallel_threads_per_cpu
query_rewrite_enabled
log_archive_dest_1
log_archive_format
max_dump_file_size
optimizer_features_enable
log_archive_dest
_push_join_union_view
_cursor_features_enabled
_first_spare_parameter
event (10049)
db_writer_processes
parallel_max_servers
db_cache_size
pga_aggregate_target
processes
sessions
dml_locks
job_queue_processes
log_checkpoint_interval
remote_login_passwordfile
sga_max_size
shared_pool_reserved_size
sort_area_retained_size
sort_area_size
statistics_level
workarea_size_policy
they only highlighted these following parameters from above
**** INFORMATION 8 *** DB Patchset: 10.2.0.4.0
**** INFORMATION 9 *** DB Mergefix: 0 (released before 2008-07-11)
FYI... recently, i applied the Oracle Patches 10.2.0.4 in this sequence
MS Windows x86-64 (64-bit)
Patchset_10204_MSWIN-x86-64aa.bin
Patchset_10204_MSWIN-x86-64ab.bin
Patchset_10204_MSWIN-x86-64ac.bin
OPatch
OPatch_10205_Generic_v0.zip
Generic (32-bit / 64-bit)
p8350262_10204_Generic.zip
p7592030_10204_WIN_GENERIC.zip
p9254968_10204_WIN_GENERIC.zip
10204_Patch44_MSWIN-x86-64.zip
p9584028_102040_Generic.zip
p9843740_10204_Generic.zip
and please tell me , still i have to apply highlighted parameters or now no need.
Regards, -
Oracle 11g: "ORACLE initialization or shutdown in progress" problem.
Hello All,
We are using Oracle 11g (enterprise edtion) in Windows server 2008. Whenever we reboot the machine we are not able to connect the database.
Following output indicate the errors.
:\Users\Administrator.F1STD.000>sqlplus dbo/<password>@<connect string>
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:48:09 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
To resolve the issue we have to connect the DB as sys user and shutdown and start the DB manually. As shown follows
C:\Users\Administrator.F1STD.000>sqlplus /nolog
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:49:03 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> connect sys/<passowrd>@<connect string> as sysdba
Connected.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup pfile=<p file loaction.>
ORACLE instance started.
Any clue why this is happening.
Thanks
With Regards
Hemant.Hello,
Pls find attached alert log contents.
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:28:32 2009
PMON started with pid=2, OS id=2396
Tue May 12 21:28:32 2009
VKTM started with pid=3, OS id=2424 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:28:32 2009
DIAG started with pid=4, OS id=2428
Tue May 12 21:28:32 2009
DBRM started with pid=5, OS id=2432
Tue May 12 21:28:32 2009
PSP0 started with pid=6, OS id=2436
Tue May 12 21:28:32 2009
DIA0 started with pid=7, OS id=2440
Tue May 12 21:28:32 2009
MMAN started with pid=8, OS id=2444
Tue May 12 21:28:32 2009
DBW0 started with pid=9, OS id=2464
Tue May 12 21:28:32 2009
LGWR started with pid=10, OS id=2468
Tue May 12 21:28:32 2009
CKPT started with pid=11, OS id=2472
Tue May 12 21:28:32 2009
SMON started with pid=12, OS id=2476
Tue May 12 21:28:32 2009
RECO started with pid=13, OS id=2480
Tue May 12 21:28:32 2009
MMON started with pid=14, OS id=2484
Tue May 12 21:28:32 2009
MMNL started with pid=15, OS id=2488
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:28:34 2009
alter database mount exclusive
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796259074
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
321 redo blocks read, 32 data blocks need recovery
Started redo application at
Thread 1: logseq 139, block 3789
Recovery of Online Redo Log: Thread 1 Group 4 Seq 139 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG4NM45.ORA
Completed redo application of 0.03MB
Tue May 12 21:28:40 2009
Running KSFV I/O slave I101 os pid=3100
Completed crash recovery at
Thread 1: logseq 139, block 4110, scn 1687662
32 data blocks read, 32 data blocks written, 321 redo blocks read
Thread 1 advanced to log sequence 140 (thread open)
Thread 1 opened at log sequence 140
Current log# 5 seq# 140 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue May 12 21:28:41 2009
Running KSFV I/O slave I201 os pid=3104
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
Tue May 12 21:28:42 2009
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
Opening with internal Resource Manager plan
Starting background process FBDA
Tue May 12 21:28:43 2009
FBDA started with pid=44, OS id=3112
replication_dependency_tracking turned off (no async multimaster replication found)
Tue May 12 21:28:44 2009
Starting background process QMNC
Tue May 12 21:28:44 2009
QMNC started with pid=46, OS id=3212
Completed: alter database open
Tue May 12 21:28:49 2009
Starting background process CJQ0
Tue May 12 21:28:49 2009
CJQ0 started with pid=50, OS id=3480
Tue May 12 21:38:32 2009
Starting background process SMCO
Tue May 12 21:38:36 2009
SMCO started with pid=55, OS id=2500
Tue May 12 21:40:04 2009
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
Tue May 12 21:48:24 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:48:31 2009
ksuapc : ORA-1033 foreground process starts before PMON
Tue May 12 21:48:31 2009
PMON started with pid=2, OS id=2676
Tue May 12 21:48:31 2009
VKTM started with pid=3, OS id=2680 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:48:31 2009
DIAG started with pid=4, OS id=2684
Tue May 12 21:48:31 2009
DBRM started with pid=5, OS id=2696
Tue May 12 21:48:31 2009
PSP0 started with pid=6, OS id=2700
Tue May 12 21:48:31 2009
DIA0 started with pid=7, OS id=2704
Tue May 12 21:48:31 2009
MMAN started with pid=9, OS id=2712
Tue May 12 21:48:31 2009
DBW0 started with pid=10, OS id=2716
Tue May 12 21:48:31 2009
LGWR started with pid=11, OS id=2720
Tue May 12 21:48:31 2009
CKPT started with pid=12, OS id=2724
Tue May 12 21:48:31 2009
SMON started with pid=13, OS id=2728
Tue May 12 21:48:31 2009
RECO started with pid=14, OS id=2732
Tue May 12 21:48:31 2009
MMON started with pid=15, OS id=2736
Tue May 12 21:48:31 2009
MMNL started with pid=16, OS id=2740
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:57:09 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:09
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63722))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:12 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:12
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63736))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:15 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:15
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63762))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:18 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:18
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63766))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 22:32:56 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 22:32:56
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.180)(PORT=54039))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 09:30:02 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 09:30:02
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=54835))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 10:09:59 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 10:09:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 11:16:06 2009
Shutting down instance (abort)
License high water mark = 3
USER (ospid: 5376): terminating the instance
Instance terminated by USER, pid = 5376
Wed May 13 11:16:09 2009
Instance shutdown complete
Wed May 13 11:17:37 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Wed May 13 11:17:40 2009
PMON started with pid=2, OS id=4124
Wed May 13 11:17:40 2009
VKTM started with pid=3, OS id=652 at elevated priority
VKTM running at (20)ms precision
Wed May 13 11:17:40 2009
DIAG started with pid=5, OS id=5584
Wed May 13 11:17:40 2009
DBRM started with pid=4, OS id=5580
Wed May 13 11:17:40 2009
PSP0 started with pid=6, OS id=1880
Wed May 13 11:17:40 2009
DIA0 started with pid=8, OS id=4448
Wed May 13 11:17:41 2009
MMAN started with pid=7, OS id=4488
Wed May 13 11:17:41 2009
DBW0 started with pid=10, OS id=5068
Wed May 13 11:17:41 2009
LGWR started with pid=11, OS id=2332
Wed May 13 11:17:41 2009
CKPT started with pid=12, OS id=5432
Wed May 13 11:17:41 2009
SMON started with pid=13, OS id=5996
Wed May 13 11:17:41 2009
RECO started with pid=9, OS id=2376
Wed May 13 11:17:41 2009
MMON started with pid=15, OS id=4480
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
Wed May 13 11:17:41 2009
MMNL started with pid=14, OS id=4956
ORACLE_BASE from environment = D:\Oracle\Ora11G
Wed May 13 11:17:43 2009
ALTER DATABASE MOUNT
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796242263
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed May 13 11:17:48 2009
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
1898 redo blocks read, 356 data blocks need recovery
Started redo application at
Thread 1: logseq 140, block 74382
Recovery of Online Redo Log: Thread 1 Group 5 Seq 140 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Completed redo application of 0.75MB
Wed May 13 11:17:50 2009
Running KSFV I/O slave I101 os pid=2044
Completed crash recovery at
Thread 1: logseq 140, block 76280, scn 1710686
356 data blocks read, 356 data blocks written, 1898 redo blocks read
Wed May 13 11:17:51 2009
Thread 1 advanced to log sequence 141 (thread open)
Thread 1 opened at log sequence 141
Current log# 1 seq# 141 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG1NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed May 13 11:17:51 2009
Running KSFV I/O slave I201 os pid=3140
Wed May 13 11:17:51 2009
SMON: enabling cache recovery
The problem is faced around 21:57:09 on 12 MAY.
Thanks
With Regards
Hemant. -
'Maximum Performance' protection in oracle 11g
Hi,
I am working on dataguard setup in oracle 11g maximum
'Maximum Performance' mode requires Standby redo logs
i was doing switch over test and i am getting this error appreciated for your inputs.
DGMGRL> show configuration verbose;
Configuration
Name: qecgpoce_DG
Enabled: YES
Protection Mode: MaxPerformance
Databases:
qecgpoce - Primary database
qecgpoca - Physical standby database
Fast-Start Failover: DISABLED
Current status for "qecgpoce_DG":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose qecgpoce;
Database
Name: qecgpoce
Role: PRIMARY
Enabled: YES
Intended State: TRANSPORT-ON
Instance(s):
qecgpoce
Properties:
DGConnectIdentifier = 'qecgpoce'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'ieedc-vzdb17'
SidName = 'qecgpoce'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoce/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoce":
Warning: ORA-16789: standby redo logs not configured
DGMGRL> show database verbose qecgpoca;
Database
Name: qecgpoca
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: APPLY-ON
Instance(s):
qecgpoca
Properties:
DGConnectIdentifier = 'qecgpoca'
ObserverConnectIdentifier = ''
LogXptMode = 'ARCH'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'usadc-vzdb32'
SidName = 'qecgpoca'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoca/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoca":
Error: ORA-16766: Redo Apply is stoppedThanks
PrakashHi,
secondary parameter file;
SQL> show parameter _
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 0
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
audit_file_dest string /u01/app/oracle/admin/qecgpoca
/adump
audit_sys_operations boolean FALSE
NAME TYPE VALUE
audit_syslog_level string
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
NAME TYPE VALUE
cell_offload_compaction string ADAPTIVE
cell_offload_parameters string
cell_offload_plan_display string AUTO
cell_offload_processing boolean TRUE
cell_partition_large_extents string DEFAULT
circuits integer
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
NAME TYPE VALUE
commit_logging string
commit_point_strength integer 1
commit_wait string
commit_write string
compatible string 11.0.0.0.0
control_file_record_keep_time integer 7
control_files string /mounts/qecgpoca_data/oradata/
qecgpoca/dbfiles/control.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
core_dump_dest string /u01/app/oracle/admin/qecgpoca
/cdump/
NAME TYPE VALUE
cpu_count integer 16
create_bitmap_area_size integer 8388608
create_stored_outlines string
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
NAME TYPE VALUE
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 168M
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 61
db_file_name_convert string /mounts/qecgpoce_data/oradata/
qecgpoce/dbfiles, /mounts/qecg
poca_data/oradata/qecgpoca/dbf
iles
db_files integer 200
db_flashback_retention_target integer 1440
db_keep_cache_size big integer 0
db_lost_write_protect string NONE
db_name string qecgpoce
NAME TYPE VALUE
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
db_recycle_cache_size big integer 0
db_securefile string PERMITTED
db_ultra_safe string OFF
db_unique_name string qecgpoca
db_writer_processes integer 4
dbwr_io_slaves integer 0
ddl_lock_timeout integer 0
dg_broker_config_file1 string /u01/app/oracle/product/11.1.0
.7/dbs/dr1qecgpoca.dat
NAME TYPE VALUE
dg_broker_config_file2 string /u01/app/oracle/product/11.1.0
.7/dbs/dr2qecgpoca.dat
dg_broker_start boolean TRUE
diagnostic_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 1472
drs_start boolean FALSE
enable_ddl_logging boolean FALSE
NAME TYPE VALUE
event string
fal_client string qecgpoca
fal_server string qecgpoce
fast_start_io_target integer 0
fast_start_mttr_target integer 300
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string asynch
fixed_date string
gc_files_to_locks string
NAME TYPE VALUE
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string qecgpoca
instance_number integer 0
NAME TYPE VALUE
instance_type string RDBMS
java_jit_enabled boolean TRUE
java_max_sessionspace_size integer 0
java_pool_size big integer 152M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 0
large_pool_size big integer 4M
ldap_directory_access string NONE
ldap_directory_sysauth string no
license_max_sessions integer 0
license_max_users integer 0
NAME TYPE VALUE
license_sessions_warning integer 0
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_config string dg_config=(qecgpoce,qecgpoca)
log_archive_dest string
log_archive_dest_1 string location="/u01/app/oracle/admi
n/qecgpoca/arch", valid_for=(
ALL_LOGFILES,ALL_ROLES)
log_archive_dest_10 string
log_archive_dest_2 string service=qecgpoce lgwr async va
NAME TYPE VALUE
lid_for=(online_logfiles,prima
ry_role) db_unique_name=qecgpo
ce
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string ENABLE
NAME TYPE VALUE
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string qecgpoc%s%t%r.arc
NAME TYPE VALUE
log_archive_local_first boolean TRUE
log_archive_max_processes integer 4
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 4197376
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string /u01/app/oracle/admin/qecgpoce
/arch, /u01/app/oracle/admin/q
NAME TYPE VALUE
ecgpoca/arch
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
max_shared_servers integer
memory_max_target big integer 0
memory_target big integer 0
nls_calendar string
nls_comp string BINARY
nls_currency string
NAME TYPE VALUE
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
NAME TYPE VALUE
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 300
open_links integer 4
open_links_per_instance integer 4
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
NAME TYPE VALUE
optimizer_features_enable string 11.1.0.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean FALSE
NAME TYPE VALUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 2
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 100M
NAME TYPE VALUE
plscope_settings string IDENTIFIERS:NONE
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_debug boolean FALSE
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean FALSE
processes integer 300
NAME TYPE VALUE
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string on
redo_transport_user string
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
NAME TYPE VALUE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_cpu_allocation integer 16
resource_manager_plan string SYSTEM_PLAN
result_cache_max_result integer 5
result_cache_max_size big integer 5M
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
resumable_timeout integer 0
rollback_segments string
NAME TYPE VALUE
sec_case_sensitive_logon boolean TRUE
sec_max_failed_login_attempts integer 10
sec_protocol_error_further_action string CONTINUE
sec_protocol_error_trace_action string TRACE
sec_return_server_release_banner boolean FALSE
serial_reuse string disable
service_names string qecgpoca
session_cached_cursors integer 50
session_max_open_files integer 10
sessions integer 335
sga_max_size big integer 1000M
sga_target big integer 0
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 25M
shared_pool_size big integer 500M
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
NAME TYPE VALUE
use_indirect_data_buffers boolean FALSE
user_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
utl_file_dir string
workarea_size_policy string AUTO
xml_db_events string enableThanks
Prakash -
Db_writer_process and async IO??
we have ORACLE 10Gr2 on Redhar AS LInux server version 4.X. I checked one of database init.ora have following setup:
db_writer_processes = 2
filesystemio_options = asynch
DISK_ASYNCH_IO = true
TAPE_ASYNCH_IO = true
Based on what I know "db_writer_processes " and "filesystemio_options = asynch" are exclusive. Can anyone tell me database will use whiche one?
Thanks.Based on what I know "db_writer_processes " and "filesystemio_options = asynch" are exclusiveWhere did you get the information these two parameters are exclusive?
HTH -- Mark D Powell -- -
Checkpoint not complete + db_writer_processes/dbwr_io_slaves
Hi,
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
After I noticed this error into the alert log:
Thread 2 cannot allocate new log, sequence 152831
Checkpoint not complete
Current log# 17 seq# 152830 mem# 0: +ONLINELOG/evodb/onlinelog/group_17.272.729333887
Thread 2 advanced to log sequence 152831
Current log# 14 seq# 152831 mem# 0: +ONLINELOG/evodb/onlinelog/group_14.269.729333871
And read a lot to understand the real cause (for the moment I increased the the redolog file from 5 to 7 (250mb each)).
As it seems I've no problem with the ARCH processes, I read that the cause can be the DBWR0 process that is not "fast" enough to write block I've into redos, and free them for archiving.
I read then something about the asynchronous I/O, and how db_writer_processes/dbwr_io_slaves can simulate the async write to disk.
I think I understood the difference between db_writer_processes and dbwr_io_slaves.
My question is how I can understand if my database needs more DBWR process.
At the moment my configuration is:
db_writer_processes 1
dbwr_io_slaves 0
Thanks in advance,
SamuelHi Samuel,
There is still a major confusion on your side concerning the DBWR. It will NOT write data from your redo buffers to the redo logs, since it is the job of the LGWR.
When a log switch occurs (so, you will use a different redo group), then it is the job of the ARCn process(es) to backup the 'used' redo log to a archive log.
When your ARCn process(es) are not fast enough, and a log swicth occurs, it may happen that you have no inactive (read archived) redo group.... then Oracle 'hangs' till it can find such a redo group available.
So, you may want to add 1 (or more) redo group, or increase the size of the redo log files, or have more archiver processes.
DBWr job is to write dirty database blocks back to datafiles.
CKPT also works independently of the LGWR and DBWR.
Check this:
http://www.dbasupport.com/forums/archive/index.php/t-5351.html
And another couple of links:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm
Concepts of checkpoint, dbwr, lgwr processes
HTH,
Thierry
Edited by: Urgent-IT on Feb 10, 2011 5:33 PM
Added mote about CKPT + link
Edited by: Urgent-IT on Feb 10, 2011 5:37 PM
Added another 2 links -
Hello!
We have Solaris 10 box with latest patches connected to Storedge 6130 by FC.
Storedge disks configured as RAID5
Our Oracle 10g (10.2.0.4) DB performance is terrible.
Write speed reported by "zpool iostat" about 5 MB/s and "iostat" showing 100% load for data pool.
Redo logs and data files placed on different pools. Recordsize for log - 128k, for data files 8k.
I have no idea what else i can tune. There are guides for tuning zfs for oracle (best practices guide and evil tuning guide) but nothing for tuning oracle for zfs.
I'm also worried about fact that simple
dd if=/dev/zero of=/zpool1 bs=8192k count=10240
gives 40MB/s in zpool iostat
Maybe Oracle settings are wrong?
Current settings are:
filesystemio_options=asynch
db_writer_processes=2
db_file_multiblock_read_count=8
Does ZFS support DirectIO and/or asynchronous writes like UFS?
Please help.
Thanks in advance!
(and sorry for my English)tolik2525 wrote:
I'm also worried about fact that simple
dd if=/dev/zero of=/zpool1 bs=8192k count=10240
gives 40MB/s in zpool iostatThis means that I/O itself is simply slow.
Maybe Oracle settings are wrong?How can Oracle be at fault when your diagnosis of the underlying file system shows it to perform poorly? How is Oracle support to rectify the storage system's poor performance?
Note that RAID5 requires a parity calculation for every single write() to that storage system. If that calculation is not done asynchronously via something like ASICs (Application Specific Integrated Circuits), it means that the I/O latency includes the parity calculation.
Obviously this will severely impact performance. (search for BAARF via your favourite search engine for more details). -
Using 11.2.0.3.0 on sun unix sprac server, 8 cpus. Due to OS bug we can not run in asynch i/o mode (we set disk_asynch_io = false). Our next window for OS fix is June.
in meantime DBA says that setting db_writer_processes = # of cpus(8) is all we need. i mentioned that docs say that dbrw_io_slaves should be set to > 0 but he says that that setting is depreciated and not needed that db_writer_processes is all we need. In fact he says that he doesn't think that going back to async i/o is going to make much difference. now management is thinking if it aint broke why fix it, why risk OS upgrade if things aren't broken. I brought that on our db log file synchs are 100 to 1 to db sequential and scattered reads and that that is not good, and that we are about to hit our busiest time.
So is db_writer_processes setting all we need to deal with running in synch I/O mode or will setting dbrw_io_slaves be a plus. Unfortunately we do hav a window to test different settings and their impact on performance. I respect the people here and so do my bosses.Hi,
Could you please use the code tags to format your code? Read about how to do that in the [url https://forums.oracle.com/forums/help.jspa]FAQs. It makes it a lot easier for everyone and you will get more responses.
You mean the top 5 sessions over the last 3 days for the log file sync wait event? I assume you've said 3 days because you are looking at the v$system_event view which is cumulative since startup? Please confirm.
The response times look pretty bad for the log file sync event - I'm looking at the average_wait time there, which is in milliseconds. On my system, for example, we have 1ms response time and we generate 5MB of REDO a second. Obviously there are many factors to consider but you wnat to get it as low as possible.
How does the load on the disks look? Do you have your REDO logs on the same drives as your data files?
Feel free for someone else to correct me if you think I'm wrong on this but my thoughts are that you have two issues.
1) Async vs sync for I/O. I would say async is better but you'd have to test it for your application and load profile
2) High log file sync wait event, which is synchronous because of what I mentioned earlier so I don't rhink running in async mode would help here
Do you have an AWR report you can paste out here (using the code tags)? Not the whole thing, just the key parts at the top of the report.
Rob -
Db_writer_processes alert log message
Oracle 11.2.0.3 running on HP-UX Itanium RX8640 with 16 CPUs and OS B.11.31
Upgraded to 11.2.0.3 last night and now I am receiving the following message in alert.log when starting database:
"NOTE: db_writer_processes has been changed from 4 to 1 due to NUMA requirements"
Any thoughts on what this means?Is your system NUMA-enabled?
In a NUMA-enabled box, the minimum number of DBWR process is the number of processor groups, oracle MUST start this minimum of DBWR no matter the parameter you set.
You seem to have the opposite case, as in oracle is forcing it to 1. In this case, I'm led to believe that maybe oracle is mistakenly identifiying your system as NUMA perphaps.
Upload the results for this:
select a.ksppinm "Parameter",
b.ksppstvl "Session Value",
c.ksppstvl "Instance Value"
from x$ksppi a, x$ksppcv b, x$ksppsv c
where a.indx = b.indx and a.indx = c.indx
and a.ksppinm = '_db_block_numa';You may try to do this:
- Set the following OS variable in your database OS owner user profile: DISABLE_NUMA = true
- Set the DBWR to 4 in the SPFILE and bounce the database.
- Verify if the issue continues. In the OS: ps -ef | grep dbwr to see how many dbwr the instance spawned.
Maybe you are looking for
-
Report toolkit et erreur 41110
Bonjour à tous et toutes, Je voudrais essayer d'utiliser le module tookitreport, en particulier pour excel. J'ai un soucis, en retour j'ai le code erreur 41110, en regardant de plus près l'erreur se situe au niveau de mon excel template. Je ne vois p
-
Ethernet down on AP1142 (IT IS CONNECTED)
Hello everyone, This is my 1st ever post to the community. I have a weird problem. The set-up is as follows. WLC 5508 software version 7.0.116.0 DHCP server on windows 2008 R2 (works like a charm, invc. option 43, and 60) As soon as I connect AP 1142
-
Yesterday I try to purchase a subscription. I wrote my credit cart data and I received a charge, but I can not download anything. I run purchase process again and get another charge but I can not download anything. I look up for help but it was late
-
Restoring smtp, postfix, imap, and pop after upgrade to Tiger
Dear Fellow Mac users: I was a party to a number of discussions in this and other fora regarding how to fix mail server software which is disrupted by an upgrade from OS 10.2 to OS 10.4. After some months and some pain, I have finally restored these
-
I can't find the screen recording in the QuickTime Pro I just bought and downloaded
Hi everyone out there! I just bought QuickTime Pro becuase I was told it had a simple to use screen recording then editing process. I have a Windows 7 OS and would love to figure out where this feature is. Thanks! MsNerdyBlond