请问ORACLE的连接使用的内存是不是SGA里面的还是操作系统的?

[复制链接]
查看11 | 回复9 | 2009-7-22 09:30:00 | 显示全部楼层 |阅读模式
公司的三个数据库的最大连接数都最大达到40-60,可是PROCESS我设置的都是150O哦,我怀疑是内存分配不足,可是机器的总内存都很大,6个G,只是SGA 小一些800多M,谁能解释一下这个问题?
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
写错了,PROCESS是150
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
连接使用的信息不是保存在sga里面
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
那你能告诉我是什么原因造成连接数目这么小吗?
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
就这么让人说
是不是太勉强人了
还有就是出错信息呢?
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
还要增加你系统参数里的信号量
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
db_name = "orc1"
instance_name = orc1
service_names = orc1

control_files = ("/data2/oradata/orc1/control01.ctl", "/data2/oradata/orc1/control02.ctl", "/data2/oradata/orc1/control03.ctl&quot


open_cursors = 300
max_enabled_roles = 30


db_block_buffers = 200480
shared_pool_size = 1004857600
large_pool_size = 614400
java_pool_size = 0
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 150
log_buffer = 163840
# 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=/data1/oracle/admin/orc1/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 = 31
# 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 = true
# 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 = /data1/oracle/admin/orc1/bdump
core_dump_dest = /data1/oracle/admin/orc1/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 = /data1/oracle/admin/orc1/udump
db_block_size = 8192
remote_login_passwordfile = exclusive
os_authent_prefix = ""
compatible = "8.0.5"
sort_area_size = 65536
sort_area_retained_size = 65536
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
你从哪里看到连接占用了很多内存?top?
session占用非sga资源的,最大的可能是sort
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
我是猜测的。。。。。
回复

使用道具 举报

千问 | 2009-7-22 09:30:00 | 显示全部楼层
有了新的进展,我在连接数达到最大之后,用TELNET 也上不了,报如下错误:
HP-UX hzmobile B.11.11 U 9000/800 (td)
login: oracle
Password:
Please wait...checking for disk quotas
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000023
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000023
应该是操作系统的问题了。。。。
但是是什么原因呢?
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行