|
原帖由 Yong Huang 于 2009-10-30 23:13 发表 ![]()
TRACE文件里没有what? It's missing SQL trace info completely, or just the row source exec stats?
Make sure your statistics_level is not set to basic. If it was, the SQL trace file would be missing lots of info, the entire execution plan, not just row source exec stats.
Yong Huang
WHAT IS 语句执行时的执行计划。我想看哪些步骤最耗时。
你说的statistics_level,我当时没注意,但印象中,在此之前的一些SQL,作了10046时,是有执行计划的,换句话说,statistics_level的设置应该是生效的。
但就在这种环境下,有时10046的TRACE文件,却看不到SQL的执行计划。
下回遇上了,再摆出来。 |
|