WEB开发网
开发学院数据库Oracle 一次ORA-4030问题诊断及解决(二) 阅读

一次ORA-4030问题诊断及解决(二)

 2008-09-08 12:51:16 来源:WEB开发网   
核心提示: [oracle@bjtestdata]$sqlplusjiangsu/jiangsuSQL*Plus: Release 9.2.0.4.0 - Production on 星期四 5月 1 03:02:11 2008Copyright(c)1982,2002,OracleCorporati

   [oracle@bjtestdata]$sqlplusjiangsu/jiangsu

SQL*Plus: Release 9.2.0.4.0 - Production on 星期四 5月 1 03:02:11 2008

   Copyright(c)1982,2002,OracleCorporation.Allrightsreserved.

连接到: 

   Oracle9iEnterpriseEditionRelease9.2.0.4.0-64bitProduction
  WiththePartitioning,OLAPandOracleDataMiningoptions
  JServerRelease9.2.0.4.0-Production
  SQL>ALTERSESSIONSETEVENTS'10053TRACENAMECONTEXTFOREVER,LEVEL1';

会话已更改。

   SQL>EXPLAINPLANFORSELECT*FROMORD_HIT_COMMWHEREENABLE_FLAG=1;

已解释。  

   SQL>HOST
  [oracle@bjtestudump]$more/opt/oracle/admin/bjtest/udump/bjtest_ora_5933.trc
  /opt/oracle/admin/bjtest/udump/bjtest_ora_5933.trc
  Oracle9iEnterpriseEditionRelease9.2.0.4.0-64bitProduction
  WiththePartitioning,OLAPandOracleDataMiningoptions
  JServerRelease9.2.0.4.0-Production
  ORACLE_HOME=/opt/oracle/product/9.2
  Systemname:Linux
  Nodename:bjtest
  Release:2.6.18-8.el5xen
  Version:#1SMPTueJun523:53:34EDT2007
  Machine:x86_64
  Instancename:bjtest
  Redothreadmountedbythisinstance:1
  Oracleprocessnumber:10
  Unixprocesspid:5933,image:oracle@bjtest(TNSV1-V3)
  ***2008-05-0103:03:02.106
  ***SESSIONID:(25.3298)2008-05-0103:03:02.084
  QUERY
  EXPLAINPLANFORSELECT*FROMORD_HIT_COMMWHEREENABLE_FLAG=1
  ***************************************
  PARAMETERSUSEDBYTHEOPTIMIZER
  ********************************
  OPTIMIZER_FEATURES_ENABLE=9.2.0
  OPTIMIZER_MODE/GOAL=Choose
  .
  .
  .
  _CPU_TO_IO=0
  _PRED_MOVE_AROUND=TRUE
  ***************************************
  BASESTATISTICALINFORMATION
  ***********************
  TablestatsTable:ORD_HIT_COMMAlias:ORD_HIT_COMM
  TOTAL::CDN:1681983NBLKS:89780AVG_ROW_LEN:733
  _OPTIMIZER_PERCENT_PARALLEL=0
  ***************************************
  SINGLETABLEACCESSPATH
  Column:ENABLE_FLACol#:21Table:ORD_HIT_COMMAlias:ORD_HIT_COMM
  NDV:2NULLS:0DENS:2.9971e-07
  NOHISTOGRAM:#BKT:1#VAL:2
  TABLE:ORD_HIT_COMMORIGCDN:1681983ROUNDEDCDN:1CMPTDCDN:1
  Accesspath:tscResc:8636Resp:8636
  BEST_CST:8636.00PATH:2Degree:1
  ***************************************
  OPTIMIZERSTATISTICSANDCOMPUTATIONS
  ***************************************
  GENERALPLANS
  ***********************
  Joinorder[1]:ORD_HIT_COMM[ORD_HIT_COMM]
  Bestsofar:TABLE#:0CST:8636CDN:1BYTES:733
  Final:
  CST:8636CDN:1RSC:8636RSP:8636BYTES:733
  IO-RSC:8636IO-RSP:8636CPU-RSC:0CPU-RSP:0
  PLAN
  Costofplan:8636
  Operation...........Objectname.....Options.........Id...Pid..
  SELECTSTATEMENT0
  TABLEACCESSORD_HIT_COMMFULL1

上一页  1 2 3 4 5  下一页

Tags:一次 ORA 问题

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接