select min(bitmapped) from ts$ where dflmaxext =:1 and bitand(flags, 1024) = 1024[@more@]
GOOGLE了下,发现有人说这是个bug,登陆到METALINK上查询,发现果然是个bug,描述如下:
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1 to 10.2
This problem can occur on any platform.
Symptoms
After the introduction of temporary tablespace groups following query using a lot of CPU and executed many times
select min(bitmapped) from ts$ where dflmaxext =:1 and bitand(flags, 1024) = 1024.
Cause
Temp tablespace group uses a recursive query on ts$ to get the minimum extent size among its temp tablespaces.
Solution1> Use single temp tablespace as user's temp tablespace.
Solution2> Apply patch for the bug 5455880
使用这个咚咚的优点:
防止一个临时表空间出现空间不足的问题。
同一个用户同时连接多个session时可以使用不同的临时表空间。
在并行操作中可以并行使用多个临时表空间。
最后:
Metalink 245645.1,这里有一篇介绍的文章
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25016/viewspace-991493/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25016/viewspace-991493/