|
以下2个SQL在11.2.0.3下都能正常运行,11.1.0.7可能会遭遇错误,具体原因还没深入研究 select p.sql_id, extractvalue(h.column_value,'/info') lvl from v$sql_plan p , table(xmlsequence(extract(xmltype(p.other_xml),'/other_xml/info'))) h where p.other_xml is not null and extractvalue(h.column_value,'/info/@type') = 'dynamic_sampling';
|
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22034023/viewspace-773587/ ,如需转载,请注明出处,否则将追究法律责任。