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

SQL Monitor

The document provides an SQL Explain Plan report for a query that retrieves employee and department information from an Oracle database. It details the execution plan, including operations, costs, and the estimated number of rows returned. The report indicates the use of nested loops and specific table access methods for efficient data retrieval.
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)
5 views2 pages

SQL Monitor

The document provides an SQL Explain Plan report for a query that retrieves employee and department information from an Oracle database. It details the execution plan, including operations, costs, and the estimated number of rows returned. The report indicates the use of nested loops and specific table access methods for efficient data retrieval.
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:oracle.jdbc.driver.T4CConnection:19.19.0.0.0
DBName:Oracle
DBVersion:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit
Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing
options
SQLQuery:EXPLAIN PLAN SET STATEMENT_ID = 'dm_plan_Employee_240926_064509' FOR
select "EMPLOYEES"."EMPLOYEE_ID" as "EMPLOYEE_ID",
"EMPLOYEES"."DEPARTMENT_ID" as "DEPARTMENT_ID",
"EMPLOYEES"."MANAGER_ID" as "MANAGER_ID",
"EMPLOYEES"."SALARY" as "SALARY",
"EMPLOYEES"."JOB_ID" as "JOB_ID",
"EMPLOYEES"."HIRE_DATE" as "HIRE_DATE",
"EMPLOYEES"."PHONE_NUMBER" as "PHONE_NUMBER",
"EMPLOYEES"."EMAIL" as "EMAIL",
"EMPLOYEES"."LAST_NAME" as "LAST_NAME",
"EMPLOYEES"."FIRST_NAME" as "FIRST_NAME",
"DEPARTMENTS"."DEPARTMENT_NAME" as "DEPARTMENT_NAME",
"DEPARTMENTS"."MANAGER_ID" as "MANAGER_ID_1"

from "OE"."DEPARTMENTS" "DEPARTMENTS",


"OE"."EMPLOYEES" "EMPLOYEES"

where "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID"

SQL Query Timeout: 500


Number of SQL Executions: 1
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
------------------
Plan hash value: 919050303

-----------------------------------------------------------------------------------
---------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
Time |
-----------------------------------------------------------------------------------
---------
| 0 | SELECT STATEMENT | | 106 | 9328 | 3 (0)|
00:00:01 |
| 1 | NESTED LOOPS | | 106 | 9328 | 3 (0)|
00:00:01 |
| 2 | NESTED LOOPS | | 107 | 9328 | 3 (0)|
00:00:01 |
| 3 | TABLE ACCESS FULL | EMPLOYEES | 107 | 7383 | 3 (0)|
00:00:01 |
|* 4 | INDEX UNIQUE SCAN | DEPT_ID_PK | 1 | | 0 (0)|
00:00:01 |
| 5 | TABLE ACCESS BY INDEX ROWID| DEPARTMENTS | 1 | 19 | 0 (0)|
00:00:01 |
-----------------------------------------------------------------------------------
---------
Predicate Information (identified by operation id):
---------------------------------------------------

4 - access("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID")

]]>
</DATA_DS>
</SQL_EXPLAIN_PLAN>

]]>
</DATA_PROCESSOR_LOG>
</DIAGNOSTIC_OUT>

You might also like