运行速度不快的oracle数据库的解决方案?

解决方案 »

  1.   

    运行速度不快的oracle产生的因素有很多,如:未对表建立主关键字、未对表建立索引、机器硬件不足(内存太小、cpu主频不高、硬盘已近满)、Oracle配置不合理等等。
      

  2.   

       eg:
        select f.procinsid,f.sqmc,f.lxrname,c.state,c.applydate,c.completedate,a.organization_name,f.xmgyxx,f.lxrmobile,f.lxrphone,f.lxremail,f.lxraddr from cwt_wf_casedata t, cm_casetimer c, tformcommondata f,app_organization a
       ,(select * from app_organization o where o.parent_organization = -1) ta,cm_state s 
       where t.fprocinstid = c.procinsid
       and c.procinsid = f.procinsid
       and c.deptid = ta.organization_id
       and c.state = s.id
       and t.fprocinstid = '1371181' ---表ID号
       and t.fexaminecodeinst like 'ZX08%';---表示流水号
    如何给这个Oracle9i PLSQL Developer 中运行的SQL语句加上倒序查询关键与条件,加快它的查询效率?