佔用資源狂高的select min(bitmapped) from ts$ where dflmaxext =:1 and bitand(flags, 1024) = 1024
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 1024
- 又是1024
- CSDN 1024
- where to start, from where the end
- 1024 開源首發 | SQL 稽核工具 SQLESQL
- 1024 Python 要訣Python
- HDU1024(dp)
- 查詢佔用資源高的JAVA程式碼Java
- 1024|推薦一個開源免費的Spring Boot教程Spring Boot
- 1024徽章點亮不了
- 1024程式設計師段位大挑戰,贏1024現金大獎!程式設計師
- 一個在校大學生的開源之路:從0到1024
- 1024 科學計數法
- 程式猿1024節快樂
- 試用期沒過,因在公司上了1024網站。。。網站
- select into from 和 insert into select 的用法和區別
- 【Python實戰】用程式碼來訪問1024網站Python網站
- 歡慶1024程式設計師節,開源茁壯成長程式設計師
- where 1=1有什麼用?
- 1024.SHarmonyOS 鴻蒙,先行者鴻蒙
- 這個 1024,再也不用加班了!
- 1024程式猿節,吹噓下自己
- insert into select語句與select into from語句
- 1024程式設計師節,向1G棒的程式設計師致敬!程式設計師
- 今天 1024,為了不 996,Lombok 用起來以及避坑指南996Lombok
- 1024,快速打造你的文件庫/靜態部落格
- SQL-Hive中的Select From解析SQLHive
- #1024程式設計師節#之最近感想....程式設計師
- 20241029每日一題洛谷P1024每日一題
- ORA-00923: FROM keyword not found where expected
- 資源記憶體佔用記憶體
- 阿里面試題: (a,b,c)組合索引, 查詢語句select...from...where a=.. and c=..走索引嗎?阿里面試題索引
- CPU飆升?教你1分鐘抓取佔用系統資源的程式
- 1024 看到程式設計師的朋友圈說說程式設計師
- 1024:寫給還活著的研發工程師們工程師
- 1024為什麼是程式設計師日程式設計師
- 2021 Gopher Meetup 杭州站與你相約 1024Go
- 1024•假如程式設計師心想事成程式設計師