帮忙看一下init.ora文件 给些调整建议

[复制链接]
查看11 | 回复5 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我所看到的系统
内存 512m cpu p4 2.4
操作系统 unixware 7.11oracle 8.16
跑两个数据库在作业期间有大量的查询 插入 更新操作
表的记录 有30000条 两个数据库之间有交互操作
但两个init.ora文件配置一样 希望大家给出宝贵意见


#
# Copyright (c) 1991, 1998 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 2K4500K
6800K 17000K
#Size
4K5500K
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.
#
# NOTE: Parameter values suggested in this file are based on conservative
# estimates for computer memory availability. You should adjust values upward
# for modern machines.
#
###############################################################################
db_name = "work"
instance_name = work
service_names = work

control_files = ("/oracledata/oracle/oradata/work/control01.ctl", "/oracledata/oracle/oradata/work/control02.ctl", "/oracledata/oracle/oradata/work/control03.ctl&quot


open_cursors = 100
max_enabled_roles = 30


db_block_buffers = 20000
shared_pool_size = 256000000
large_pool_size = 614400
java_pool_size = 20971520
log_checkpoint_interval = 10000
log_checkpoint_timeout = 0
processes = 200
log_buffer = 540672
# audit_trail = false# if you want auditing
# timed_statistics = false# 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=/oracledata/oracle/admin/work/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 = 38
# 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 = /oracledata/oracle/admin/syntong/bdump
core_dump_dest = /oracledata/oracle/admin/syntong/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 = /oracledata/oracle/admin/syntong/udump
db_block_size = 8192
remote_login_passwordfile = exclusive
os_authent_prefix = ""
# The following parameters are needed for the Advanced Replication Option
job_queue_processes = 4
job_queue_interval = 60
distributed_transactions = 10
open_links = 4
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
# Uncomment the following line when your listener is configured for SSL
# (listener.ora and sqlnet.ora)
# mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
compatible = "8.1.0"
sort_area_size = 65536
sort_area_retained_size = 65536
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
自己顶
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
share_pool_size太大,你内存很大啊,控制文件最好分几个盘
日志要归档,删除多余的注释
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
将shared_pool_size改为100m差不多了
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
可以不装java,如果没有用到的话。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
多谢d.c.b.a的关注
sort_area_size需要调整吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行