Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE 8.0.3.0.0 is extremely slow vs SQL7 for medium database
Here is the file Initorcl.ora
#
# $Header: init.ora 05-jun-97.14:56:46 hpiao Exp $
#
# Copyright (c) 1991, 1997 by Oracle Corporation
#
############################################################################
##
# Example INIT.ORA file
#
# This file is provided by Oracle Corporation to help you customize
# your RDBMS installation for your site. Important system parameters
# are discussed, and example settings given.
#
# Some parameter settings are generic to any size installation.
# For parameters that require different values in different size
# installations, three scenarios have been provided: SMALL, MEDIUM
# and LARGE. Any parameter that needs to be tuned according to
# installation size will have three settings, each one commented
# according to installation size.
#
# Use the following table to approximate the SGA size needed for the
# three scenarious provided in this file:
#
# -------Installation/Database Size------
# SMALL MEDIUM LARGE
# Block 2K 4500K 6800K 17000K
# Size 4K 5500K 8800K 21000K
#
# To set up a database that multiple instances will be using, place
# all instance-specific parameters in one file, and then have all
# of these files point to a master file using the IFILE command.
# This way, when you change a public
# parameter, it will automatically change on all instances. This is
# necessary, since all instances must run with the same value for many
# parameters. For example, if you choose to use private rollback segments,
# these must be specified in different files, but since all gc_*
# parameters must be the same on all instances, they should be in one file.
#
# INSTRUCTIONS: Edit this file and the other INIT files it calls for
# your site, either by using the values provided here or by providing
# your own. Then place an IFILE= line into each instance-specific
# INIT file that points at this file.
############################################################################
###
# replace "oracle" with your database name
db_name=oracle
db_files = 1024 # INITIALLARGE control_files = D:\ORANT\DATABASE\ctl1orcl.ora
# db_files = 80 #
SMALL
# db_files = 400 #
MEDIUM
# db_files = 1000 #
db_file_multiblock_read_count = 8 # INITIAL
# db_file_multiblock_read_count = 8 #
SMALL
# db_file_multiblock_read_count = 16 #
MEDIUM
# db_file_multiblock_read_count = 32 #
LARGE
db_block_buffers = 200 # INITIALLARGE
# db_block_buffers = 100 #
SMALL
# db_block_buffers = 550 #
MEDIUM
# db_block_buffers = 3200 #
shared_pool_size = 10000000 # INITIALLARGE log_checkpoint_interval = 10000
# shared_pool_size = 3500000 #
SMALL
# shared_pool_size = 5000000 #
MEDIUM
# shared_pool_size = 9000000 #
processes = 59 # INITIALLARGE
# processes = 50 #
SMALL
# processes = 100 #
MEDIUM
# processes = 200 #
parallel_max_servers = 5 # SMALLLARGE
# parallel_max_servers = 4 x (number of CPUs) #
MEDIUM
# parallel_max_servers = 4 x (number of CPUs) #
log_buffer = 8192 # INITIALLARGE
# log_buffer = 8192 #
SMALL
# log_buffer = 32768 #
MEDIUM
# log_buffer = 163840 #
sequence_cache_entries = 10 # INITIALLARGE
# sequence_cache_entries = 10 #
SMALL
# sequence_cache_entries = 30 #
MEDIUM
# sequence_cache_entries = 100 #
sequence_cache_hash_buckets = 10 # INITIALLARGE
# sequence_cache_hash_buckets = 10 #
SMALL
# sequence_cache_hash_buckets = 23 #
MEDIUM
# sequence_cache_hash_buckets = 89 #
# Uncommenting the line below will cause automatic archiving if archiving
has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = %ORACLE_HOME%\database\archive
# log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
# rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions /
transactions_per_rollback_segment
# In this example each instance will grab 40/10 = 4:
# transactions = 40
# transactions_per_rollback_segment = 10
# Global Naming -- enforce that a dblink has same name as the db it connects
to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address
after
# the '@' is a good candidate for this parameter value.
# db_domain = us.acme.com # global database name is db_name.db_domain
# 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=%RDBMS80%\trace
user_dump_dest=%RDBMS80%\trace
db_block_size = 2048
remote_login_passwordfile = shared
text_enable = TRUE
# The following parameters are needed for the Advanced Replication Option
job_queue_processes = 2 job_queue_interval = 10 job_queue_keep_connections = false
distributed_lock_timeout = 300
distributed_transactions = 5
open_links = 4
and here is the file Initseed.ora
#
# $Header: init.ora 05-jun-97.14:56:46 hpiao Exp $
#
# Copyright (c) 1991, 1997 by Oracle Corporation
#
############################################################################
##
# Example INIT.ORA file
#
# This file is provided by Oracle Corporation to help you customize
# your RDBMS installation for your site. Important system parameters
# are discussed, and example settings given.
#
# Some parameter settings are generic to any size installation.
# For parameters that require different values in different size
# installations, three scenarios have been provided: SMALL, MEDIUM
# and LARGE. Any parameter that needs to be tuned according to
# installation size will have three settings, each one commented
# according to installation size.
#
# Use the following table to approximate the SGA size needed for the
# three scenarious provided in this file:
#
# -------Installation/Database Size------
# SMALL MEDIUM LARGE
# Block 2K 4500K 6800K 17000K
# Size 4K 5500K 8800K 21000K
#
# To set up a database that multiple instances will be using, place
# all instance-specific parameters in one file, and then have all
# of these files point to a master file using the IFILE command.
# This way, when you change a public
# parameter, it will automatically change on all instances. This is
# necessary, since all instances must run with the same value for many
# parameters. For example, if you choose to use private rollback segments,
# these must be specified in different files, but since all gc_*
# parameters must be the same on all instances, they should be in one file.
#
# INSTRUCTIONS: Edit this file and the other INIT files it calls for
# your site, either by using the values provided here or by providing
# your own. Then place an IFILE= line into each instance-specific
# INIT file that points at this file.
############################################################################
###
# replace "oracle" with your database name
db_name=oracle
db_files = 1024 # INITIALLARGE control_files = D:\ORANT\DATABASE\ctl1orcl.ora
# db_files = 80 #
SMALL
# db_files = 400 #
MEDIUM
# db_files = 1000 #
db_file_multiblock_read_count = 8 # INITIAL
# db_file_multiblock_read_count = 8 #
SMALL
# db_file_multiblock_read_count = 16 #
MEDIUM
# db_file_multiblock_read_count = 32 #
LARGE
db_block_buffers = 200 # INITIALLARGE
# db_block_buffers = 100 #
SMALL
# db_block_buffers = 550 #
MEDIUM
# db_block_buffers = 3200 #
shared_pool_size = 10000000 # INITIALLARGE log_checkpoint_interval = 10000
# shared_pool_size = 3500000 #
SMALL
# shared_pool_size = 5000000 #
MEDIUM
# shared_pool_size = 9000000 #
processes = 59 # INITIALLARGE
# processes = 50 #
SMALL
# processes = 100 #
MEDIUM
# processes = 200 #
parallel_max_servers = 5 # SMALLLARGE
# parallel_max_servers = 4 x (number of CPUs) #
MEDIUM
# parallel_max_servers = 4 x (number of CPUs) #
log_buffer = 8192 # INITIALLARGE
# log_buffer = 8192 #
SMALL
# log_buffer = 32768 #
MEDIUM
# log_buffer = 163840 #
sequence_cache_entries = 10 # INITIALLARGE
# sequence_cache_entries = 10 #
SMALL
# sequence_cache_entries = 30 #
MEDIUM
# sequence_cache_entries = 100 #
sequence_cache_hash_buckets = 10 # INITIALLARGE
# sequence_cache_hash_buckets = 10 #
SMALL
# sequence_cache_hash_buckets = 23 #
MEDIUM
# sequence_cache_hash_buckets = 89 #
# Uncommenting the line below will cause automatic archiving if archiving
has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = %ORACLE_HOME%\database\archive
# log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
# rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions /
transactions_per_rollback_segment
# In this example each instance will grab 40/10 = 4:
# transactions = 40
# transactions_per_rollback_segment = 10
# Global Naming -- enforce that a dblink has same name as the db it connects
to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address
after
# the '@' is a good candidate for this parameter value.
# db_domain = us.acme.com # global database name is db_name.db_domain
# 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=%RDBMS80%\trace
user_dump_dest=%RDBMS80%\trace
db_block_size = 2048
remote_login_passwordfile = shared
text_enable = TRUE
#
# When installing the starter database, we can't have
# snapshot_refresh_processes or job_queue_processes set, since the
# 'alter database oracle character set ...' statements in createdb.sql will
# fail.
#
# job_queue_processes = 2
# The following parameters are needed for the Advanced Replication Option
job_queue_interval = 10
job_queue_keep_connections = false
distributed_lock_timeout = 300
distributed_transactions = 5
open_links = 4 Received on Thu Mar 25 1999 - 07:31:45 CST