ourtest /opt/oracle/product/oracle8.1.7/dbs >>more inittest.ora
#
# Copyright (c) 1991, 2000 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.
#
# 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 = "donald"
db_domain = testinstance_name = testservice_names = donald.test# db_files = 80                                                       # SMALL
# db_files = 400                                                      # MEDIUM
# db_files = 1500                                                     # LARGEcontrol_files = ("/opt/oracle/Database/oradata/donald/control01.ctl", "/opt/oracle/Database/oradata/donald/control02.ctl", "/opt/ora
cle/Database/oradata/donald/control03.ctl")open_cursors = 300
max_enabled_roles = 30
# db_file_multiblock_read_count = 8                                   # SMALL
# db_file_multiblock_read_count = 16                                  # MEDIUM
# db_file_multiblock_read_count = 32                                  # LARGEdb_block_buffers = 13818  # INITIAL
# db_block_buffers = 100                                              # SMALL
# db_block_buffers = 550                                              # MEDIUM
# db_block_buffers = 3200                                             # LARGEshared_pool_size = 37732556  # INITIAL
# shared_pool_size = 3500000                                          # SMALL
# shared_pool_size = 5000000                                          # MEDIUM
# shared_pool_size = 9000000                                          # LARGElarge_pool_size = 614400
java_pool_size = 20971520log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800processes = 150  # INITIAL
# processes = 50                                                      # SMALL
# processes = 100                                                     # MEDIUM
# processes = 200                                                     # LARGElog_buffer = 163840  # INITIAL
# log_buffer = 32768                                                  # SMALL
# log_buffer = 32768                                                  # MEDIUM
# log_buffer = 163840                                                 # LARGE# 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=/opt/oracle/admin/donald/arch"
# log_archive_format = arch_%t_%s.arc# 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 )# 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 = false# 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 = /opt/oracle/admin/donald/bdump
core_dump_dest = /opt/oracle/admin/donald/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 = /opt/oracle/admin/donald/udumpdb_block_size = 8192remote_login_passwordfile = exclusiveos_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 = 4mts_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
看上去,好象没有超过我的SGA嘛,后来将其中的INITIAL行注释掉,换成SMALL行的配置,再以startup nomount;重启动成功,但是以startup;启动提示找不到CONTROL文件,看了一下CONTROL文件确实没有。
用dbassist将该数据库删除,再重建,发现用TYPICAL方式建立库时有两个选择,1。从光盘拷贝,这是一种快速的建库方法,也就是我初始安装ORACLE时选择的模式,2。create a new database,时间比较长,但是经过的alert提示也更加多,我没有办法再这样一直IGNORE下去了,只好又选择了第一种模式,发现情况还是一样的。怎么会这样,难道我的512M内存不适合装ORCLE8。1。7吗?

解决方案 »

  1.   

    还有我用ipcs看时,发现:
    test /opt/oracle/product/oracle8.1.7/dbs >>ipcs
    IPC status from <running system> as of Thu Dec  5 17:32:52 PST 2002
    Message Queue facility inactive.
    T         ID      KEY        MODE        OWNER    GROUP
    Shared Memory:
    m          0   0x500008c7 --rw-r--r--     root     root
    m       2001   0x5fbe1150 --rw-r-----   oracle      dba
    Semaphores:
    s    5439488   0x2f71b174 --ra-r-----   oracle      dba
    第一个root的shared memory好象也没占用多大空间,应该没什么影响