oracle修改参数

数据库服务和管理,MySQL/PostgreSQL/Oracle/Sybase 等
回复
sudan
帖子: 46
注册时间: 2008-01-20 16:39
送出感谢: 0
接收感谢: 0

oracle修改参数

#1

帖子 sudan » 2008-12-13 15:38

1,修改OEM 的SVG大小的命令:
c:> sqlplus sys/* as sysdba
sql>
ALTER SYSTEM SET sga_max_size = 83886080 COMMENT='internally adjusted' SCOPE=SPFILE
ALTER SYSTEM SET sga_target = 83886080 SCOPE=BOTH
2,直接登录web 的OEM修改也可以:
详见图片SVG1.JPG
3,修改spfile(sid).ora
test.__java_pool_size=4194304
test.__large_pool_size=4194304
test.__shared_pool_size=67108864
test.__streams_pool_size=0
*.audit_file_dest='D:\oracle\product\10.2.0/admin/test/adump'
*.background_dump_dest='D:\oracle\product\10.2.0/admin/test/bdump'
*.compatible='10.2.0.1.0'
*.control_files='D:\oracle\product\10.2.0\oradata\test\control01.ctl','D:\oracle\product\10.2.0\oradata\test\control02.ctl','D:\oracle\product\10.2.0\oradata\test\control03.ctl'
*.core_dump_dest='D:\oracle\product\10.2.0/admin/test/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='test'
*.db_recovery_file_dest='D:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=testXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_max_size=83886080#internally adjusted //修改该参数就可以了
*.sga_target=88080384
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\oracle\product\10.2.0/admin/test/udump'



svg1
oracle10g OEM的SVG参数修改3方法
上一篇 / 下一篇 2007-01-15 12:43:11 / 个人分类:Oracle入门与提高
查看( 41 ) / 评论( 3 ) / 评分( 5 / 0 )
oracle10g OEM的SVG参数
由于我的笔记本的内存是512M,每次开机其他程序和Oracle 共计占了450M,可以修改SVG内存来为系统释放更多的空间。SVG默认为160M,修改后为80M,
1,修改OEM 的SVG大小的命令:
c:> sqlplus sys/* as sysdba
sql>
ALTER SYSTEM SET sga_max_size = 83886080 COMMENT='internally adjusted' SCOPE=SPFILE
ALTER SYSTEM SET sga_target = 83886080 SCOPE=BOTH
2,直接登录web 的OEM修改也可以:
详见图片SVG1.JPG
3,修改spfile(sid).ora
test.__java_pool_size=4194304
test.__large_pool_size=4194304
test.__shared_pool_size=67108864
test.__streams_pool_size=0
*.audit_file_dest='D:\oracle\product\10.2.0/admin/test/adump'
*.background_dump_dest='D:\oracle\product\10.2.0/admin/test/bdump'
*.compatible='10.2.0.1.0'
*.control_files='D:\oracle\product\10.2.0\oradata\test\control01.ctl','D:\oracle\product\10.2.0\oradata\test\control02.ctl','D:\oracle\product\10.2.0\oradata\test\control03.ctl'
*.core_dump_dest='D:\oracle\product\10.2.0/admin/test/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='test'
*.db_recovery_file_dest='D:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=testXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_max_size=83886080#internally adjusted //修改该参数就可以了
*.sga_target=88080384
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\oracle\product\10.2.0/admin/test/udump'
回复

回到 “数据库管理”