|
ppropriate values
prompt for LOG_CHECKPOINT_INTERVAL and LOG_CHECKPOINT_TIMEOUT
prompt check the size and number of redo log groups
prompt confirm that the archive device is not full
prompt add redo log groups
prompt increase the number of buffers to archive and reducing the size of buffers by setting
prompt LOG_ARCHIVE_BUFFERS and LOG_ARCHIVE_BUFFER_SIZE
prompt <<<<<<<<<<<<<<<<<<< NOTE: >>>>>>>>>>>>>>>>>>>>>>
prompt
ttitle off
prompt
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt + 4.0 Share Pool Size - Gets and Misses (Library Cache) +
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt
column "Executions" format 9,999,999,990
column "Cache Misses Executing" format 9,999,999,990
column "Data Dictionary Gets" format 9,999,999,999
column "Get Misses" format 9,999,999,999
column "% Ratio" format 999.99
ttitle left skip 1 -
left "*** Shared Pool Size (Execution Misses) ***" skip 1
select sum(pins) "Executions",
sum(reloads) "Cache Misses Executing",
(sum(reloads)/sum(pins)*100) "% Ratio"
from v$librarycache
/
prompt
prompt <<<<<<<<<<<<<<<<<<< NOTE: >>>>>>>>>>>>>>>>>>>>>>
prompt 4.0 Investigation
prompt If % Ratio is above 1% , increase SHARE_POOL_SIZE.
prompt <<<<<<<<<<<<<<<<<<< NOTE: >>>>>>>>>>>>>>>>>>>>>>
prompt
ttitle off
prompt
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt + 4.1 Share Pool Size - Gets and Misses (Data Dictionary) +
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt
ttitle left "*************** Shared Pool Size (Dictionary Gets) ***********" skip 1
select sum(gets) "Data Dictionary Gets",
sum(getmisses) "Get Misses",
100*(sum(getmisses)/sum(gets)) "Ratio"
from v$rowcache
/
prompt
prompt <<<<<<<<<<<<<<<<<<< NOTE: >>>>>>>>>>>>>>>>>>>>>>
prompt 4.1 Investigation
prompt If % Ratio is above 12% , increase SHARED_POOL_SIZE.
prompt <<<<<<<<<<<<<<<<<<< NOTE: >>>>>>>>>>>>>>>>>>>>>>
prompt
ttitle off
prompt
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt + 5.0 Check Which SQL is the most cost SQL +
prompt ++++++++++++++++++++++++++++++++++ Item ++++++++++++++++++++++++++++++++++
prompt
ttitle off
ttitle left "*** V$SQL Check ***" Skip 1
column SQL_TEXT Format A5 上一页 [1] [2] [3] [4] 下一页 没有相关教程
|