奇怪的现象,这是怎么回事?
<p>硬件配置差不多,sybase安装时设置也一样,但是同一条SQL语句却有的服务器上运行快(2秒),有的服务器上运行却很慢(34秒),这是怎么回事啊!</p> 查看执行计划是否一致,更新统计信息怎么查看???
<p>谢谢回复!但是怎么查看呀,能否说的具体点。我是直接在sybase客户端上执行那条SQL的。语句如下:</p><p>select a.EntID entID,a.EntName entName, a.NoticeNumber noticeNumber,a.IndustryType,a.EntType,d.Description <br/>from TB_NameInfo_Sanction a,TH_AdInfo_AcceptStatus b,TB_EntInfo_EntStatus c,TD_Common_DICT d,TD_Common_DICT e <br/>where a.EntID=b.AdPKID and a.EntID=c.EntID and a.IndustryType=d.Code and a.EntType=e.Code and d.TableName='TD_Common_IndustryType' and e.TableName='TD_Common_EntType' <br/>and a.RegOrg='130111' and (a.AlterationFrontName is null or a.AlterationFrontName='') and substring(a.EntType,1,2)<>'94' <br/>and b.AcceptStatus='0' and c.EntStatus='1' and e.Fld1 in ('1','2','3','4','B','D','E','G','H','I','J')</p>
页:
[1]