Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
92 views2 pages

Explain Plan

The SQL query retrieves data from the HCM_LOOKUPS table where the lookup_code is equal to 'ORA_HWM_PAY_XFR_NONE'. The explain plan shows this will be done with two nested loops operations with a full table scan of the fnd_lookup_values_b table and an index unique scan of the FND_LOOKUP_VALUES_TL_U1 index to retrieve the row from the fnd_lookup_values_tl table. The query is estimated to take 1 second with 1 row and 237 bytes returned.

Uploaded by

ezhilendhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views2 pages

Explain Plan

The SQL query retrieves data from the HCM_LOOKUPS table where the lookup_code is equal to 'ORA_HWM_PAY_XFR_NONE'. The explain plan shows this will be done with two nested loops operations with a full table scan of the fnd_lookup_values_b table and an index unique scan of the FND_LOOKUP_VALUES_TL_U1 index to retrieve the row from the fnd_lookup_values_tl table. The query is estimated to take 1 second with 1 row and 237 bytes returned.

Uploaded by

ezhilendhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

<SQL_EXPLAIN_PLAN>

<DATA_DS>
<![CDATA[
Datamodel SQL Explain Plan Report
================================================================
Driver Details:JDBC Driver:Oracle JDBC
driver:weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection:11.2.0
.3.0
DBName:Oracle
DBVersion:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit
Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Advanced Analytics and Real Application Testing options
SQLQuery:EXPLAIN PLAN SET STATEMENT_ID = 'dm_plan_Q_200324_093439' FOR
select /* QUERY_SRC('datamodel: _datamodel.xdm,dataset:Q') */ *
from HCM_LOOKUPS
where lookup_code='ORA_HWM_PAY_XFR_NONE'
SQL Query Timeout: 600
Number of SQL Executions: 1
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
------------------
Plan hash value: 2361263452

-----------------------------------------------------------------------------------
---------------------
| Id | Operation | Name | Rows | Bytes |
Cost (%CPU)| Time |
-----------------------------------------------------------------------------------
---------------------
| 0 | SELECT STATEMENT | | 1 | 237 |
800 (1)| 00:00:01 |
| 1 | NESTED LOOPS | | 1 | 237 |
800 (1)| 00:00:01 |
| 2 | NESTED LOOPS | | 1 | 237 |
800 (1)| 00:00:01 |
|* 3 | TABLE ACCESS STORAGE FULL | fnd_lookup_values_b | 1 | 60 |
798 (1)| 00:00:01 |
|* 4 | INDEX UNIQUE SCAN | FND_LOOKUP_VALUES_TL_U1 | 1 | |
1 (0)| 00:00:01 |
| 5 | TABLE ACCESS BY INDEX ROWID| fnd_lookup_values_tl | 1 | 177 |
2 (0)| 00:00:01 |
-----------------------------------------------------------------------------------
---------------------

Predicate Information (identified by operation id):


---------------------------------------------------

3 - storage("LOOKUP_CODE"='ORA_HWM_PAY_XFR_NONE' AND "VIEW_APPLICATION_ID"=3 AND


"SANDBOX_ID"='1' AND "ENTERPRISE_ID"=1)
filter("LOOKUP_CODE"='ORA_HWM_PAY_XFR_NONE' AND "VIEW_APPLICATION_ID"=3 AND
"SANDBOX_ID"='1' AND "ENTERPRISE_ID"=1)
4 - access("LOOKUP_TYPE"="LOOKUP_TYPE" AND "VIEW_APPLICATION_ID"=3 AND
"LOOKUP_CODE"='ORA_HWM_PAY_XFR_NONE' AND "SET_ID"="SET_ID" AND
"LANGUAGE"=USERENV('LANG') AND
"ENTERPRISE_ID"=1 AND "SANDBOX_ID"='1')

Note
-----
- this is an adaptive plan

]]>
</DATA_DS>
</SQL_EXPLAIN_PLAN>

You might also like