建立EM
1、建立EM资料库
emca -repos recreate
2、配置DBCONTROL
emca -config dbcontrol db
3、启动
[oracle@localhost admin]$ emctl start dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 10g Database Control is already running.
4、关闭
emctl stop dbconsole
查看那些参数可以动态修改
select * from v$system_parameter2 where ISSYS_MODIFIABLE'FALSE';
查看那些参数是基本参数
select * from v$system_parameter2 where ISBASIC='TRUE';
ALTER SYSTEM SET ** scope=spfile 修改SPFILE文件上的参数,必须重启生效,适用所有参数
ALTER SYSTEM SET ** scope=memory 修改当前实例中的参数,立即生效,适用于ISSYS_MODIFIABLE='IMMEDIATE'的参数
ALTER SYSTEM SET ** scope=both 修改SPFILE和当前实例中的参数,立即生效,适用于ISSYS_MODIFIABLE='IMMEDIATE'的参数
ALTER SYSTEM SET SORT_AREA_SIZE=77777 DEFERRED 修改SPFILE和当前实例的参数,但是生效是对随后的会话,适用于ISSYS_MODIFIABLE='DEFERRED'的参数,这种参数非常少。
1、建立EM资料库
emca -repos recreate
2、配置DBCONTROL
emca -config dbcontrol db
3、启动
[oracle@localhost admin]$ emctl start dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 10g Database Control is already running.
4、关闭
emctl stop dbconsole
查看那些参数可以动态修改
select * from v$system_parameter2 where ISSYS_MODIFIABLE'FALSE';
查看那些参数是基本参数
select * from v$system_parameter2 where ISBASIC='TRUE';
ALTER SYSTEM SET ** scope=spfile 修改SPFILE文件上的参数,必须重启生效,适用所有参数
ALTER SYSTEM SET ** scope=memory 修改当前实例中的参数,立即生效,适用于ISSYS_MODIFIABLE='IMMEDIATE'的参数
ALTER SYSTEM SET ** scope=both 修改SPFILE和当前实例中的参数,立即生效,适用于ISSYS_MODIFIABLE='IMMEDIATE'的参数
ALTER SYSTEM SET SORT_AREA_SIZE=77777 DEFERRED 修改SPFILE和当前实例的参数,但是生效是对随后的会话,适用于ISSYS_MODIFIABLE='DEFERRED'的参数,这种参数非常少。