Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
DEPTNO COUNT(*)
---------- ----------
30 49152
20 40960
10 21
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | | | 145 (100)| |
|* 1 | TABLE ACCESS FULL| EMP2 | 30044 | 1085K| 145 (2)| 00:00:02 |
--------------------------------------------------------------------------
1 - filter("DEPTNO"=:B1)
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
1 - filter("DEPTNO"=:B1)
21 filas seleccionadas.
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
-
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | | | 145 (100)| |
|* 1 | TABLE ACCESS FULL| EMP2 | 30044 | 1085K| 145 (2)| 00:00:02 |
--------------------------------------------------------------------------
1 - filter("DEPTNO"=:B1)
Sistema modificado.
21 filas seleccionadas.
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
-----
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
-----------------------------------------------------------------------------------
-----
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
|
-----------------------------------------------------------------------------------
-----
| 0 | SELECT STATEMENT | | | | 2 (100)|
|
| 1 | TABLE ACCESS BY INDEX ROWID| EMP2 | 12 | 444 | 2 (0)|
00:00:01 |
|* 2 | INDEX RANGE SCAN | X_EMP2_DEPTNO | 12 | | 1 (0)|
00:00:01 |
-----------------------------------------------------------------------------------
-----
2 - access("DEPTNO"=:B1)
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
-----
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
-----------------------------------------------------------------------------------
-----
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
|
-----------------------------------------------------------------------------------
-----
| 0 | SELECT STATEMENT | | | | 2 (100)|
|
| 1 | TABLE ACCESS BY INDEX ROWID| EMP2 | 12 | 444 | 2 (0)|
00:00:01 |
|* 2 | INDEX RANGE SCAN | X_EMP2_DEPTNO | 12 | | 1 (0)|
00:00:01 |
-----------------------------------------------------------------------------------
-----
2 - access("DEPTNO"=:B1)
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------
-----
SQL_ID cs9w5qy6bww0h, child number 0
-------------------------------------
select * from emp2 where deptno=:B1
-----------------------------------------------------------------------------------
-----
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
|
-----------------------------------------------------------------------------------
-----
| 0 | SELECT STATEMENT | | | | 2 (100)|
|
| 1 | TABLE ACCESS BY INDEX ROWID| EMP2 | 12 | 444 | 2 (0)|
00:00:01 |
|* 2 | INDEX RANGE SCAN | X_EMP2_DEPTNO | 12 | | 1 (0)|
00:00:01 |
-----------------------------------------------------------------------------------
-----
2 - access("DEPTNO"=:B1)
19 filas seleccionadas.