个老外的技术文章中找到解决问题的方法:
The solution is (as proposed on this thread):
alter system set events \'10046 trace name context off\';
alter system set timed_statistics=false;
执行完这两条脚本,问题果然解决。
注:
timed_staticstices 用于启动或禁止对定时统计信息(如CUP时间、占用时间),以及动态性能表中多种统计信息的收集功能。
(http://www.diybl.com/course/4_webprogram/asp.net/netjs/20090521/167635.html)
The solution is (as proposed on this thread):
alter system set events \'10046 trace name context off\';
alter system set timed_statistics=false;
执行完这两条脚本,问题果然解决。
注:
timed_staticstices 用于启动或禁止对定时统计信息(如CUP时间、占用时间),以及动态性能表中多种统计信息的收集功能。
(http://www.diybl.com/course/4_webprogram/asp.net/netjs/20090521/167635.html)
本文介绍了一种通过禁用Oracle数据库的定时统计功能来解决性能问题的方法。具体操作包括执行两条SQL命令:一是设置事件跟踪上下文关闭;二是设置定时统计为false。这些步骤有助于减轻由统计信息收集引起的性能负担。

828

被折叠的 条评论
为什么被折叠?



