on 11-13-2008 2:27 AM
Hi all,
Is it OK to change DB parameter file format from PFILE to SPFILE?
Our server got CPU Idle is 0 warning everyday when running program RSDBAJOB. I'm not sure whether it's caused by the SPFILE parameter file. If not, any other possible cause?
Original PFILE:
###########################################################
(c)Copyright SAP AG, Walldorf #
###########################################################
###########################################################
PART I, TUNING PARAMETERS #
###########################################################
SYSTEM GLOBAL AREA BUFFERS
Total System Global Area = sum(bytes) of all caches
Variable Size = shared_pool_size (approx.)
Database Buffers = db_block_buffers * db_block_size
Redo Buffers = log_buffer
#
unit of shared_pool_size: bytes
unit of db_block_buffers: number of cached blocks
unit of log_buffer: bytes
log_buffer = 1048576
MANAGING SORTS
A small sort requires sort_area_retained_size in
memory. Larger sorts are allocating segments in
PSAPTEMP. They are using sort_area_size in memory.
sort_area_retained_size = 0
sort_area_size = 2097152
#sort_spacemap_size = 512
PGA-PARAMETERS
open_cursors = 800
#cursor_space_for_time = true
LOCKS
dml_locks = processes * 50
#dml_locks = 2500
dml_locks = 6250
enqueue_resources = 8000
CPU-PARAMETERS
#spin_count = 200
#_cpu_count = 4
TUNING ARCHIVING
#log_archive_buffer_size 127
#log_archive_buffers 4
USE VECTOR READ
#use_readv = true
OTHER TUNING PARAMETERS
#sequence_cache_entries = 100
#sequence_cache_hash_buckets = 89
###########################################################
PART II, CHANGEABLE PARAMETERS #
###########################################################
ONLINE ROLLBACK SEGMENTS
#rollback_segments = (PRS_1, PRS_2, PRS_3 )
transactions_per_rollback_segment = 20
CONTROL-FILES
the controlfiles should be mirrored to every new
database mount point /oracle/SHP/sapdata<#>
#control_files = (/oracle/SHP/sapdata1/cntrl/cntrlSHP.dbf, /oracle/SHP/sapdata2/cntrl/cntrlSHP.dbf, /oracle/SHP/sapdata3/cntrl/cntrlSHP.dbf)
AUTOMATICLY STARTED BACKGROUND PROCESSES
log_archive_start = true
MANAGING LOG SWITCHES
checkpoints occur only when switching logs, if
log_checkpoint_interval * size of OS blocks > size of
the actual redo log
log_checkpoint_interval = 0
#log_checkpoint_timeout = 0
PROCESS-PARAMETERS
The number of allocated semaphores is equal to the
number of processes
sessions = 1.2 * processes
#processes = 80
#sessions = 96
processes = 125
sessions = 150
AUDITING AND STATISTICS
sql_trace=TRUE
audit_trail = true
db_block_lru_extended_statistics = 1000
db_block_lru_statistics = true
###########################################################
PART III, STATIC PARAMETERS #
###########################################################
DB-NAME
db_name = SHP
DB-BLOCKSIZE
db_block_size = 8192
DB-FILES
db_files = 254
OPTIMIZER MODE
optimizer_mode = choose
#optimizer_search_limit = 3
PATHS / DESTINATIONS / TRACES
/oracle/SHP/saptrace/background: trace files of the background
processes
/oracle/SHP/saptrace/usertrace: trace files of the user processes
log_archive_dest is a destination, not a path.
The archivefiles get the name
/oracle/SHP/saparch/SHParch<thread#>_<log#>
background_dump_dest = /oracle/SHP/saptrace/background
user_dump_dest = /oracle/SHP/saptrace/usertrace
core_dump_dest = /oracle/SHP/saptrace/background
#log_archive_dest = /oracle/SHP/saparch/SHParch
log_archive_dest_1 = "location=/oracle/SHP/saparch"
#log_archive_dest_2 = "service=SHP_STDB OPTIONAL REOPEN=60"
log_archive_format = SHParch_%s.arc
OTHER
reduce_alarm only supported on HP
#reduce_alarm = TRUE
ORACLE OPS PARAMETER
remote_os_authent = true
transaction_auditing = FALSE
retention time for RMAN backup information in control file
control_file_record_keep_time = 30
include additional parameters
#IFILE = /oracle/SHP/817_32/dbs/init_817.ora
#additional parameter for Oracle 8.1.x
compatible = 9.2.0
log_checkpoints_to_alert = true
#IFILE = /oracle/SHP/817_32/dbs/initora.addon
hash_join_enabled = false
OPTIMIZER MODE
optimizer_index_cost_adj = 10
#processes = 80
AUDITING AND STATISTICS
timed_statistics = true
#shared_pool_size = 204010946
shared_pool_size = 650000000
#shared_pool_reserved_size = 20401094
#db_block_buffers = 37355
#db_block_buffers = 44000
db_block_buffers = 50000
control_files = ( /oracle/SHP/sapdata1/cntrl/cntrlSHP.dbf,/oracle/SHP/origlogA/cntrl/cntrlSHP.dbf,/oracle/SHP/saparch/cntrl/cntrlSHP.dbf )
MAX_ROLLBACK_SEGMENTS = 400
rollback_segments = (PRS_0,PRS_1,PRS_2,PRS_3,PRS_4,PRS_5,PRS_6,PRS_7,PRS_8,PRS_9,PRS_10,PRS_11,PRS_12,PRS_13,PRS_14,PRS_15,PRS_16,PRS_17,PRS_18,PRS_19)
###########################################################
PART IV, SAP RECOMMENDATION (NOTE 124361)
###########################################################
db_block_checkpoint_batch = 8 (no longer support /note 320540)
db_block_lru_latches = 2 * number of CPUs on DB
#db_block_lru_latches = 8
db_block_lru_extended_statistics = 0 (no longer support/note 320540)
db_block_lru_statistics = false (no longer support /note 320540)
db_file_multiblock_read_count = 8
db_writer_processes = 1
dbwr_io_slaves = 0
disk_asynch_io = true
#distributed_transactions = 0
#fast_start_io_target = 0
hash_join_enabled = false
#java_pool_size = 0
log_checkpoints_to_alert = true
log_simultaneous_copies = 2 * number of CPUs on DB
log_simultaneous_copies = 4 (no longer support /note 320540)
max_rollback_segments = 400
#query_rewrite_enabled = true
replication_dependency_tracking = false
row_cache_cursors = 300 (no longer support /note 320540)
timed_statistics = true
END OF PART IV ######
#Added by Seashore 20040718
optimizer_features_enable = 9.2.0
DB_DOMAIN = WORLD
btree_bitmap_plans = FALSE
pushjoin_predicate = FALSE
Current SPFILE:
*._b_tree_bitmap_plans=FALSE
*._optimizer_or_expansion='depth'
*._push_join_predicate=FALSE
*.aq_tm_processes=1
*.background_dump_dest='/oracle/SHP/saptrace/background'
*.compatible='9.2.0.0.0'
*.control_file_record_keep_time=30
*.control_files='/oracle/SHP/sapdata/cntrl/cntrlSHP01.ctl','/oracle/SHP/sapdata/cntrl/cntrlSHP02.ctl','/oracle/SHP/sapdata/cntrl/cntrlSHP03.ctl'
*.core_dump_dest='/oracle/SHP/saptrace/background'
*.db_block_size=8192
*.db_cache_size=838860800
*.DB_DOMAIN='WORLD'
*.db_file_multiblock_read_count=8
*.db_files=1024
*.db_name='SHP'
*.dml_locks=6250
*.enqueue_resources=8000
*.event='10028 trace name context forever, level 1','10027 trace name context forever, level 1','10183 trace name context forever, level 1','10191 trace name context forever, level 1','38068 trace name context forever, level 100'
*.fal_client='SHP_std'
*.fast_start_mttr_target=300
*.hash_join_enabled=false
*.instance_name='SHP'
*.java_pool_size=0
*.job_queue_processes=10
*.large_pool_size=20971520
*.log_archive_dest_1='location=/oracle/SHP/saparch'
*.log_archive_dest_2='service=SHP_std optional reopen=60 max_failure=10 delay=1440'
*.log_archive_format='SHP_%s.arc'
*.log_archive_start=TRUE
*.log_buffer=8192000
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.optimizer_features_enable='9.2.0'
*.optimizer_index_cost_adj=10
*.pga_aggregate_target=419430400
*.processes=150
*.query_rewrite_enabled='FALSE'
*.remote_os_authent=true
*.replication_dependency_tracking=false
*.shared_pool_size=524288000
*.sort_area_size=2097152
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.transaction_auditing=false
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='PSAPROLL'
*.user_dump_dest='/oracle/SHP/saptrace/usertrace'
*.utl_file_dir='/oracle/SHP/saptrace/usertrace'
hi aimee,
if you're working on SAP environment, use proper tools. For example, SAP have already provide you BRTOOLS to configure and manage your Oracle Database.
Use this tool otherwise may be some problem will happened.
ardhian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Personnaly, I prefer PFILE.
both modes are supported and the y both work. I'M not sur eit wil lfix your issue, but anyways, you can try it, it won't hurt your system..
to change to PFILE, shutdown DB, rename SPFILE, edit initSID.ora and delete the start and the dot at each line. restart DB.
good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is ok to change the DB parameter file format.
If you change the file format from SPfile to Pfile, u should delete the SPfile & vice versa.
But it hardly matters.
Regards,
Siddhartha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.