AUTOTRACE TRACEONLY的影响

时间:2016-10-14 07:19:56

标签: oracle11g performance-testing sqlplus

在oracle 11g上,使用function addMenuItem($items, $args) { if( $args->theme_location == 'header-menu' ) { $hithere = '<li class="hithere">Hi</li>'; $newmenu = $hithere . $items; return $newmenu; } } 执行查询与执行查询本身相比有什么影响?

在生产环境中运行它有任何风险吗?例如,是否会出现死锁或其他任何问题?

1 个答案:

答案 0 :(得分:0)

来自a_horse_with_no_name traceonly仍会在后台执行查询,但根本不会获取结果 - 因此它与运行没有autotrace的语句具有相同的风险

相关问题