Query against DBA_EXTENTS slow after upgrade to 11.2.0.3 (Doc ID 1453425.1)
Query against DBA_EXTENTS slow after upgrade to 11.2.0.3 (Doc ID 1453425.1)
In this Document
Applies to:Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterInformation in this document applies to any platform. Symptoms
Queries on DBA_EXTENTS are much slower due to the presence of a merge join cartesian.
Document 556610.1 Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql) .
Running script on version 11.2.0.1 prior to upgrade, there was no performance issue.
Prompt ===========================================
Prompt Tablespace and the owner of the aud$ table Prompt =========================================== select owner,tablespace_name from dba_extents where segment_name='AUD$' group by owner,tablespace_name;
ChangesAn execution plan regression occurs if there are a large number of records in the X$KTFBUE table. Gathering of dictionary or fixed object stats does not improve performance as this table is intentionally omitted from those packages. Cause
The Cost Based Optimizer uses a cardinality estimate of 100,000 rows for this table, and the 11.2.0.3 execution plan is doing a full table scan. If you have a large number of extents, this query can take more than 1 hour to complete.
Bug 13542477: ON 11.2.0.3 QUERY DBA_EXTENTS IS SO SLOW
Bug 14221159: JOIN CARDINALITY INCORRECT CALCULATED AFTER FIX 11814428 Solution
ReferencesNOTE:1360496.1 - HCKW-0003 - Poor Storage Clauses For Object(s)NOTE:1360944.1 - HCKW-0008 - SEG$ entry has no UET$ entries (Dictionary managed) NOTE:422730.1 - Query on dba_extents Slow on 10g NOTE:556610.1 - Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql) |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1164436/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- coca SLOW QUERY
- MySQL Slow Query log(慢查詢日誌)MySql
- ntpdate會導致mysql slow query log出現很大的query timeMySql
- Poor Performance On Certain Dictionary Queries After Upgrade To 10gORMAI
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- Oracle 18c - 配置只讀 OracleHome / DBCA / Patching / Upgrade (文件 ID 2469646.1)Oracle
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- How to redirect to a specific web page after sign out from Entra IDWeb
- ElasticSearch7.3學習(二十五)----Doc value、query phase、fetch phase解析Elasticsearch
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- 從Oracle的SQL_ID到PG14引入核心的QUERY_IDOracleSQL
- 坑爹的Oracle 11.2.0.3Oracle
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- helm upgrade
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- Slow decade counter
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- 【RAC】Oracle 12c以及以上版本的diagsnap是什麼? (Doc ID 2469643.1)Oracle
- 11.2.0.4 upgrade to 19.3.0.0
- 2.3.3.3 Application UpgradeAPP
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- upgrade 10.2.0.5 to 11.2.0.4 on linuxLinux
- sqlserver docSQLServer
- 關於 Angular view Query 的 id 選擇器問題的單步除錯AngularView除錯
- oracle資料庫11.2.0.3升級到11.2.0.4Oracle資料庫