【 使用环境 】生产环境
【 OB or 其他组件 】
【 使用版本 】v3.2.3.3
【问题描述】目前发现两段sql查询语句owner的条件不同,影响的执行效率差异很大,请问这个是BUG么,后续版本有没有修复掉呢?代码如下:
1.SELECT DISTINCT A.POSITION POS, A.ARGUMENT_NAME NAME, A.DATA_TYPE TYPE, A.IN_OUT FROM SYS.ALL_ARGUMENTS A, DBA_OBJECTS D WHERE D.OBJECT_TYPE = 'PROCEDURE' AND A.OWNER = 'JGCRM' --0.6s AND D.OBJECT_NAME = 'PCX_XGLPT_MRFA' AND A.OBJECT_ID = D.OBJECT_ID AND A.DATA_LEVEL = 0 ORDER BY A.POSITION ASC;
2.SELECT DISTINCT A.POSITION POS, A.ARGUMENT_NAME NAME, A.DATA_TYPE TYPE, A.IN_OUT FROM SYS.ALL_ARGUMENTS A, DBA_OBJECTS D WHERE D.OBJECT_TYPE = 'PROCEDURE' AND A.OWNER = user --45s AND D.OBJECT_NAME = 'PCX_XGLPT_MRFA' AND A.OBJECT_ID = D.OBJECT_ID AND A.DATA_LEVEL = 0 ORDER BY A.POSITION ASC;