Oracle笔记:
UNIX命令:ipcs
sql语句:show sga
--查看granule_size
select component,granule_size from v$sga_dynamic_components;
alter system set shared_pool_size = 64m;
select name,value from v$parameter;
show parameter pag
--根据pfile创建spfile
create spfile from pfile;
create spfile='$ORACLE_HOME/dbs/spfileTS.ora' from pfile=''$ORACLE_HOME/dbs/initTS.ora';
--根据spfile创建pfile
create pfile from spfile;
--修改spfile参数
alter system set parameter=value <comment='text'> <deferred> <scope=memory|spfile|both> <sid='sid|*'>
如: alter system set fast_start_mttr_target =300;
alter system set fast_start_mttr_target =300 comment='hello TS';
select name,value,update_comment from v$parameter where name ='fast_start_mttr_target';
--延迟加载的参数
select name,issys_modifiable from v$parameter where issys_modifiable='DEFERRED';
--deleting or resetting values
alter system set undo_suppress_errors=true;
alter system reset undo_suppress_errors scope=spfile sid='*';
Backgroup Process
1、Mandatory background Process
DBWn PMON CKPT LGWR SMON
2、Optional background Process
ARCn LMDn QMNn CJQ0 LMON RECO Dnnn LMS Snnn LCKn Pnnn
Non-interactive Installation
./runInstaller -responsefile myrespfile -silent
myrespfile 示例:/home/oracle/database/response/enterprise.rsp