10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 2 OFFLOADING / SMART SCANEnter value for child_no:PLAN_TABLE_OUTPUT---------------------------------------------------------------------------------------SQL_ID 35tqjjq5vzg4b, child number 0-------------------------------------select count(*) from kso.temp_skew where col1_plus_pk=27998244Plan hash value: 725706675----------------------------------------------------------------------------------------| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |----------------------------------------------------------------------------------------| 0 | SELECT STATEMENT | | | | 44804 (100)| || 1 | SORT AGGREGATE | | 1 | 13 | | ||* 2 | TABLE ACCESS STORAGE FULL| TEMP_SKEW | 320K| 4062K| 44804 (2)| 00:08:58 |----------------------------------------------------------------------------------------Predicate Information (identified by operation id):---------------------------------------------------2 - storage("COL1"+"PK_COL"=27998244)filter("COL1"+"PK_COL"=27998244)20 rows selected.SYS@SANDBOX1> alter session set "_cell_offload_virtual_columns"=false;Session altered.SYS@SANDBOX1> @flush_sqlEnter value for sql_id: 35tqjjq5vzg4bPL/SQL procedure successfully completed.SYS@SANDBOX1> select count(*) from kso.temp_skew where col1_plus_pk=27998244;COUNT(*)----------21 row selected.SYS@SANDBOX1> @fsx4Enter value for sql_text: select count(*) from kso.temp_skew where col1_plus_pk=27998244Enter value for sql_id:Enter value for inst_id:SQL_ID CHILD OFFLOAD AVG_ETIME IO_SAVED_% SQL_TEXT------------- ------ ------- ------------- ---------- --------------------42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!