实用的数据库检查程序(3)[1]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 black_snail 的 blog

prompt

prompt ++++++++++++++++++++++++++++++++++ item ++++++++++++++++++++++++++++++++++

prompt + 7.0 sort area size                                                     +

prompt ++++++++++++++++++++++++++++++++++ item ++++++++++++++++++++++++++++++++++

prompt

 

ttitle left "*** sort area ***" skip 1

 

select substr(name,1,25)  "sort area name",

     substr(value,1,15) "value"

from v$sysstat

where name like 'sort%'

/

 

prompt

prompt <<<<<<<<<<<<<<<<<<< note: >>>>>>>>>>>>>>>>>>>>>>

prompt 7.0 invesigation

prompt the lower the value of the sorts to disk ,

prompt the better the sort is performing .

prompt sort_area_size can't be increase large enough to elimate sorts to disk

prompt the sorts on a database are low-maintenance items

prompt usually , sort_area_size and sort_area_retained_size should be set to the same value

prompt the optimal value of sort_area_size and sort_area_retained_size is 1m

本文关键:ORACEL DBA SCRIPT
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top