420 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			420 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								exo 1
							 | 
						||
| 
								 | 
							
								sqlplus "raban@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=lorien.arda.lan)(Port=1521))(CONNECT_DATA=(SID=ORCLIUT)))"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								EXEC DBMS_STATS.GATHER_TABLE_STATS(USER, 'CLIENT')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								select TABLE_NAME, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, CHAIN_CNT ,
							 | 
						||
| 
								 | 
							
								AVG_ROW_LEN, SAMPLE_SIZE, LAST_ANALYZED
							 | 
						||
| 
								 | 
							
								FROM user_tables
							 | 
						||
| 
								 | 
							
								WHERE TABLE_NAME='CLIENT';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exo 2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								select * FROM COMMANDE3 WHERE REFERENCE = 008084;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SET AUTOTRACE ON
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 1042069817
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								-------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								| Id  | Operation	  | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
							 | 
						||
| 
								 | 
							
								-------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT  |	      |     1 |   164 |     6	(0)| 00:00:01 |
							 | 
						||
| 
								 | 
							
								|*  1 |  TABLE ACCESS FULL| COMMANDE3 |     1 |   164 |     6	(0)| 00:00:01 |
							 | 
						||
| 
								 | 
							
								-------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									  0  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									 23  consistent gets
							 | 
						||
| 
								 | 
							
									  0  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
									513  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 41  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  2  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									  0  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									  1  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								rien ne change
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exo3
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SELECT ID,
							 | 
						||
| 
								 | 
							
								ROWID,
							 | 
						||
| 
								 | 
							
								DBMS_ROWID.ROWID_RELATIVE_FNO(rowid) FICHIER,
							 | 
						||
| 
								 | 
							
								DBMS_ROWID.ROWID_BLOCK_NUMBER(rowid) BLOC,
							 | 
						||
| 
								 | 
							
								DBMS_ROWID.ROWID_ROW_NUMBER(rowid) NUMLIGNE
							 | 
						||
| 
								 | 
							
								FROM COMMANDE3
							 | 
						||
| 
								 | 
							
								WHERE id = 10;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID ROWID		 FICHIER       BLOC   NUMLIGNE
							 | 
						||
| 
								 | 
							
								---------- ------------------ ---------- ---------- ----------
							 | 
						||
| 
								 | 
							
									 1 AAAzOFAAIAAAPz4AAA	       8      64760	     0
							 | 
						||
| 
								 | 
							
									 2 AAAzOFAAIAAAPz4AAB	       8      64760	     1
							 | 
						||
| 
								 | 
							
									 3 AAAzOFAAIAAAPz4AAC	       8      64760	     2
							 | 
						||
| 
								 | 
							
									 4 AAAzOFAAIAAAPz4AAD	       8      64760	     3
							 | 
						||
| 
								 | 
							
									 5 AAAzOFAAIAAAPz4AAE	       8      64760	     4
							 | 
						||
| 
								 | 
							
									 6 AAAzOFAAIAAAPz4AAF	       8      64760	     5
							 | 
						||
| 
								 | 
							
									 7 AAAzOFAAIAAAPz4AAG	       8      64760	     6
							 | 
						||
| 
								 | 
							
									 8 AAAzOFAAIAAAPz4AAH	       8      64760	     7
							 | 
						||
| 
								 | 
							
									 9 AAAzOFAAIAAAPz4AAI	       8      64760	     8
							 | 
						||
| 
								 | 
							
									10 AAAzOFAAIAAAPz4AAJ	       8      64760	     9
							 | 
						||
| 
								 | 
							
									11 AAAzOFAAIAAAPz4AAK	       8      64760	    10
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID ROWID		 FICHIER       BLOC   NUMLIGNE
							 | 
						||
| 
								 | 
							
								---------- ------------------ ---------- ---------- ----------
							 | 
						||
| 
								 | 
							
									12 AAAzOFAAIAAAPz4AAL	       8      64760	    11
							 | 
						||
| 
								 | 
							
									13 AAAzOFAAIAAAPz4AAM	       8      64760	    12
							 | 
						||
| 
								 | 
							
									14 AAAzOFAAIAAAPz4AAN	       8      64760	    13
							 | 
						||
| 
								 | 
							
									15 AAAzOFAAIAAAPz4AAO	       8      64760	    14
							 | 
						||
| 
								 | 
							
									16 AAAzOFAAIAAAPz4AAP	       8      64760	    15
							 | 
						||
| 
								 | 
							
									17 AAAzOFAAIAAAPz4AAQ	       8      64760	    16
							 | 
						||
| 
								 | 
							
									18 AAAzOFAAIAAAPz4AAR	       8      64760	    17
							 | 
						||
| 
								 | 
							
									19 AAAzOFAAIAAAPz4AAS	       8      64760	    18
							 | 
						||
| 
								 | 
							
									20 AAAzOFAAIAAAPz4AAT	       8      64760	    19
							 | 
						||
| 
								 | 
							
									21 AAAzOFAAIAAAPz4AAU	       8      64760	    20
							 | 
						||
| 
								 | 
							
									22 AAAzOFAAIAAAPz4AAV	       8      64760	    21
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID ROWID		 FICHIER       BLOC   NUMLIGNE
							 | 
						||
| 
								 | 
							
								---------- ------------------ ---------- ---------- ----------
							 | 
						||
| 
								 | 
							
									23 AAAzOFAAIAAAPz4AAW	       8      64760	    22
							 | 
						||
| 
								 | 
							
									24 AAAzOFAAIAAAPz4AAX	       8      64760	    23
							 | 
						||
| 
								 | 
							
									25 AAAzOFAAIAAAPz4AAY	       8      64760	    24
							 | 
						||
| 
								 | 
							
									26 AAAzOFAAIAAAPz4AAZ	       8      64760	    25
							 | 
						||
| 
								 | 
							
									27 AAAzOFAAIAAAPz4AAa	       8      64760	    26
							 | 
						||
| 
								 | 
							
									28 AAAzOFAAIAAAPz4AAb	       8      64760	    27
							 | 
						||
| 
								 | 
							
									29 AAAzOFAAIAAAPz4AAc	       8      64760	    28
							 | 
						||
| 
								 | 
							
									30 AAAzOFAAIAAAPz4AAd	       8      64760	    29
							 | 
						||
| 
								 | 
							
									31 AAAzOFAAIAAAPz4AAe	       8      64760	    30
							 | 
						||
| 
								 | 
							
									32 AAAzOFAAIAAAPz4AAf	       8      64760	    31
							 | 
						||
| 
								 | 
							
									33 AAAzOFAAIAAAPz4AAg	       8      64760	    32
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID ROWID		 FICHIER       BLOC   NUMLIGNE
							 | 
						||
| 
								 | 
							
								---------- ------------------ ---------- ---------- ----------
							 | 
						||
| 
								 | 
							
									34 AAAzOFAAIAAAPz4AAh	       8      64760	    33
							 | 
						||
| 
								 | 
							
									35 AAAzOFAAIAAAPz4AAi	       8      64760	    34
							 | 
						||
| 
								 | 
							
									36 AAAzOFAAIAAAPz4AAj	       8      64760	    35
							 | 
						||
| 
								 | 
							
									37 AAAzOFAAIAAAPz4AAk	       8      64760	    36
							 | 
						||
| 
								 | 
							
									38 AAAzOFAAIAAAPz4AAl	       8      64760	    37
							 | 
						||
| 
								 | 
							
									39 AAAzOFAAIAAAPz4AAm	       8      64760	    38
							 | 
						||
| 
								 | 
							
									40 AAAzOFAAIAAAPz4AAn	       8      64760	    39
							 | 
						||
| 
								 | 
							
									41 AAAzOFAAIAAAPz4AAo	       8      64760	    40
							 | 
						||
| 
								 | 
							
									42 AAAzOFAAIAAAPz4AAp	       8      64760	    41
							 | 
						||
| 
								 | 
							
									43 AAAzOFAAIAAAPz4AAq	       8      64760	    42
							 | 
						||
| 
								 | 
							
									44 AAAzOFAAIAAAPz4AAr	       8      64760	    43
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID ROWID		 FICHIER       BLOC   NUMLIGNE
							 | 
						||
| 
								 | 
							
								---------- ------------------ ---------- ---------- ----------
							 | 
						||
| 
								 | 
							
									45 AAAzOFAAIAAAPz4AAs	       8      64760	    44
							 | 
						||
| 
								 | 
							
									46 AAAzOFAAIAAAPz4AAt	       8      64760	    45
							 | 
						||
| 
								 | 
							
									47 AAAzOFAAIAAAPz4AAu	       8      64760	    46
							 | 
						||
| 
								 | 
							
									48 AAAzOFAAIAAAPz4AAv	       8      64760	    47
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								48 rows selected.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 2528279197
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								| Id  | Operation	     | Name	     | Rows  | Bytes | Cost (%CPU)| Time
							 | 
						||
| 
								 | 
							
								     |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT     |		     |	  48 |	1200 |	   2   (0)| 00:0
							 | 
						||
| 
								 | 
							
								0:01 |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   1 |  INDEX FAST FULL SCAN| SYS_C00136317 |	  48 |	1200 |	   2   (0)| 00:0
							 | 
						||
| 
								 | 
							
								0:01 |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Note
							 | 
						||
| 
								 | 
							
								-----
							 | 
						||
| 
								 | 
							
								   - dynamic sampling used for this statement
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									462  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									250  consistent gets
							 | 
						||
| 
								 | 
							
									 39  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
								       2014  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 74  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  5  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									 43  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									 48  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ROWID : id de l'index
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								adresse physique :  AAAzOFAAIAAAPz4AAJ
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SELECT *
							 | 
						||
| 
								 | 
							
								FROM Commande3
							 | 
						||
| 
								 | 
							
								WHERE rowid = 'AAAzOFAAIAAAPz4AAJ';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ID  CLIENT_ID DATE_ACHA
							 | 
						||
| 
								 | 
							
								---------- ---------- ---------
							 | 
						||
| 
								 | 
							
								REFERENCE
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
									10	   16 13-JAN-19
							 | 
						||
| 
								 | 
							
								004616
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 3456971742
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								--------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								| Id  | Operation		   | Name      | Rows  | Bytes | Cost (%CPU)| Ti
							 | 
						||
| 
								 | 
							
								me     |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								--------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT	   |	       |     1 |   176 |     1	 (0)| 00
							 | 
						||
| 
								 | 
							
								:00:01 |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   1 |  TABLE ACCESS BY USER ROWID| COMMANDE3 |     1 |   176 |     1	 (0)| 00
							 | 
						||
| 
								 | 
							
								:00:01 |
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								--------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									  1  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									  1  consistent gets
							 | 
						||
| 
								 | 
							
									  0  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
									513  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 41  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  2  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									  0  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									  1  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								block : 64760 non
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Exo4
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								CREATE INDEX ix_reference ON COMMANDE3(REFERENCE);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SELECT REFERENCE
							 | 
						||
| 
								 | 
							
								FROM COMMANDE3
							 | 
						||
| 
								 | 
							
								WHERE REFERENCE = 008084;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								REFERENCE
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								008084
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 88607570
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								| Id  | Operation	 | Name 	| Rows	| Bytes | Cost (%CPU)| Time
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT |		|     1 |   129 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|*  1 |  INDEX FULL SCAN | IX_REFERENCE |     1 |   129 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Predicate Information (identified by operation id):
							 | 
						||
| 
								 | 
							
								---------------------------------------------------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   1 - filter(TO_NUMBER("REFERENCE")=008084)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Note
							 | 
						||
| 
								 | 
							
								-----
							 | 
						||
| 
								 | 
							
								   - dynamic sampling used for this statement
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									  4  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									 26  consistent gets
							 | 
						||
| 
								 | 
							
									  0  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
									340  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 41  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  2  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									  0  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									  1  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								il y a l'index au lieu du tableau
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DROP INDEX ix_reference;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								CREATE INDEX ix_reference ON COMMANDE3(DATE_ACHAT, REFERENCE);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SELECT DATE_ACHAT, REFERENCE
							 | 
						||
| 
								 | 
							
								FROM COMMANDE3
							 | 
						||
| 
								 | 
							
								WHERE REFERENCE = 008084;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DATE_ACHA
							 | 
						||
| 
								 | 
							
								---------
							 | 
						||
| 
								 | 
							
								REFERENCE
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								11-JAN-19
							 | 
						||
| 
								 | 
							
								008084
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 88607570
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								| Id  | Operation	 | Name 	| Rows	| Bytes | Cost (%CPU)| Time
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT |		|     1 |   138 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|*  1 |  INDEX FULL SCAN | IX_REFERENCE |     1 |   138 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Predicate Information (identified by operation id):
							 | 
						||
| 
								 | 
							
								---------------------------------------------------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   1 - filter(TO_NUMBER("REFERENCE")=008084)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Note
							 | 
						||
| 
								 | 
							
								-----
							 | 
						||
| 
								 | 
							
								   - dynamic sampling used for this statement
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									 85  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									 64  consistent gets
							 | 
						||
| 
								 | 
							
									  0  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
									404  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 41  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  2  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									  0  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									  1  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SELECT DATE_ACHAT FROM COMMANDE3 WHERE REFERENCE = '008084';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DATE_ACHA
							 | 
						||
| 
								 | 
							
								---------
							 | 
						||
| 
								 | 
							
								11-JAN-19
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Execution Plan
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
								Plan hash value: 88607570
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								| Id  | Operation	 | Name 	| Rows	| Bytes | Cost (%CPU)| Time
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|   0 | SELECT STATEMENT |		|     1 |   138 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								|*  1 |  INDEX FULL SCAN | IX_REFERENCE |     1 |   138 |     1   (0)| 00:00:01
							 | 
						||
| 
								 | 
							
								|
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--------------------------------------------------------------------------------
							 | 
						||
| 
								 | 
							
								-
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Predicate Information (identified by operation id):
							 | 
						||
| 
								 | 
							
								---------------------------------------------------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   1 - access("REFERENCE"='008084')
							 | 
						||
| 
								 | 
							
								       filter("REFERENCE"='008084')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Note
							 | 
						||
| 
								 | 
							
								-----
							 | 
						||
| 
								 | 
							
								   - dynamic sampling used for this statement
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Statistics
							 | 
						||
| 
								 | 
							
								----------------------------------------------------------
							 | 
						||
| 
								 | 
							
									  5  recursive calls
							 | 
						||
| 
								 | 
							
									  0  db block gets
							 | 
						||
| 
								 | 
							
									 26  consistent gets
							 | 
						||
| 
								 | 
							
									  0  physical reads
							 | 
						||
| 
								 | 
							
									  0  redo size
							 | 
						||
| 
								 | 
							
									342  bytes sent via SQL*Net to client
							 | 
						||
| 
								 | 
							
									 41  bytes received via SQL*Net from client
							 | 
						||
| 
								 | 
							
									  2  SQL*Net roundtrips to/from client
							 | 
						||
| 
								 | 
							
									  0  sorts (memory)
							 | 
						||
| 
								 | 
							
									  0  sorts (disk)
							 | 
						||
| 
								 | 
							
									  1  rows processed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |