What is OPAQUE_TRANSFORM Hint and how to Control it [ID 780503.1]
What is OPAQUE_TRANSFORM. Hint and how to Control it [ID 780503.1] | |||||
| |||||
修改時間 12-SEP-2010 型別 HOWTO 狀態 PUBLISHED |
In this Document
Goal
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.3 and later [Release: 10.2 and later ]Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: 10.2.0.3
Goal
What is OPAQUE_TRANSFORM. usage :
The OPAQUE_TRANSFORM. hint is to help with the transformation of datatype when certain type of operations are done within the database. For example object types .
It is also used for a insert-as-remote-select operation on a remote database
Example : insert into emp (select * from emp@rep102b) ;
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.50 0 0 0 0
Execute 1 0.00 0.51 0 1 44 12
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 1.01 0 1 44 12
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 57 (SCOTT)
Rows Row Source Operation
------- ---------------------------------------------------
12 REMOTE EMP (cr=0 pr=0 pw=0 time=508808 us)
Rows Execution Plan
------- ---------------------------------------------------
0 INSERT STATEMENT MODE: ALL_ROWS
12 REMOTE OF 'EMP' (REMOTE) [REP102B]
SELECT /*+ OPAQUE_TRANSFORM. */ "EMPNO","ENAME","JOB","MGR",
"HIREDATE","SAL","COMM","DEPTNO" FROM "EMP" "EMP"
Note : This hint should not interfere with the query optimizer plan.
Solution
The below event can be set on the client (local) in order to turn the opaque_transform. hint on and off..
- To switch on :
alter session set events '22825 trace name context off' ;
- To switch off :
1) alter session set events '22825 trace name context forever, level 1' ;
2) or using the following hint : /*+ NO_QUERY_TRANSFORMATION */
3) using RULE hint.
on the remote database and OPAQUE_TRANSFORM. hint gives DX LOCK deadlock.
- If the local is 10g client and remote is 11g server, this opens 1 session on
the remote and no DX deadlock.
References
BUG:5565178 - ORA-07445 [EVAOPN2()+220] ON SELECT WITH HINTBUG:7417255 - /*+ OPAQUE_TRANSFORM. */ HINT BEING REWRITTEN INTO QUERY AND CAUSING SLOWNESS
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/756652/viewspace-710962/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 設計模式 what? why? how?設計模式
- How to Specify an INDEX Hint oracle官方文件IndexOracle
- Web效能優化:What? Why? How?Web優化
- SAP PP What is MRP Area And How Is It defined
- How Can We Maintain Decanter Centrifuge for Mud Solids Control?AISolid
- 白板程式設計淺談——Why, What, How程式設計
- How to recover windows volume control?Windows
- 【GC】How to Install Grid Control Agents on RAC Clusters? [ID 378037.1]GC
- What is a deadlock and how does one fix deadlock errors?Error
- Linux的3W(What/Why/How)註解(轉)Linux
- How To Configure Notification Rules in Enterprise Manager Grid Control_429422.1
- OPAQUE_TRANSFORM提示的產生OpaqueORM
- How To Drop, Create And Recreate DB Control In A 10g DatabaseDatabase
- How to check EMC Celerra Control Station ip address.
- What is the different between ALE, IDOC and BAPI?API
- There are many solid-control methods from OGEM Solids ControlSolid
- How To Kill Good IdeasGoIdea
- OGEM Solids Control Mud Mixing Tank & Solids Control to IndonesiaSolid
- What are general rules when deciding on index?Index
- GoldenGate - What is supported and what is not ....Go
- How to Download and Apply the Recommended WLS patch WDJ7 on WLS for 11g Grid Control Installation oAPP
- How to compile Invalid Object?CompileObject
- What’s New in TiDB 3.0.0-rc.1TiDB
- PostgreSQL DBA(180) - What is locktype=transactionidSQL
- Solid control system to KorlaSolid
- 安裝Grid Control
- GoldenGate , Grid ControlGo
- What is it?
- oracle sql hint提示_BITMAP CONVERSION FROM ROWIDSOracleSQL
- oracle hintOracle
- Heibei solids control presenting the 2012 OTC with the Largest Solids ControlSolid
- 安裝10.2.0.4 Grid Control之前需要安裝 10.2.0.3.0 Grid Control
- How to Prepare Storage for ASM (Doc ID 452924.1)ASM
- How to Troubleshoot Grid Infrastructure Startup IssuesASTStruct
- How to find the UDID for an iPhone/iPod touchiPhone
- How to Brainstorm New IdeasAIORMIdea
- How to tacktrace In Android for Java codeAndroidJava
- Solids Control System to UkraineSolidAI