10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 2 OFFLOADING / SMART SCANSQL Plan Monitoring Details (Plan Hash Value=2684249835)======================================================================================| Id | Operation | Name | ... | Activity | Activity Detail || | | | | (%) | (# samples) |======================================================================================| 0 | SELECT STATEMENT | | | | || 1 | SORT AGGREGATE | | | 41.38 | Cpu (24) || 2 | TABLE ACCESS STORAGE FULL | SKEW3 | | 58.62 | Cpu (11) || | | | | | direct path read (23) |======================================================================================SYS@SANDBOX1> @ss_onSYS@SANDBOX1> alter session set cell_offload_processing=true;Session altered.SYS@SANDBOX1> @avgskew3AVG(PK_COL)-----------16093750.2SYS@SANDBOX1> @fsx4Enter value for sql_text: %skew3%Enter value for sql_id:SQL_ID CHILD OFFLOAD IO_SAVED_% AVG_ETIME SQL_TEXT------------- ------ ------- ---------- ---------- ----------------------------------------6uutdmqr72smc 0 Yes 71.85 34.54 select /* avgskew3.sql */ avg(pk_col) frSYS@SANDBOX1> @report_sql_monitorEnter value for sid:Enter value for sql_id: 6uutdmqr72smcEnter value for sql_exec_id:REPORT----------------------------------------------------------------------------------------SQL Monitoring ReportSQL Text------------------------------select /* avgskew3.sql */ avg(pk_col) from kso.skew3 a where col1 > 0Global Information------------------------------Status: DONE (ALL ROWS)Instance ID : 1Session : SYS (3:5467)SQL ID: 6uutdmqr72smcSQL Execution ID : 16777219Execution Started : 03/15/2011 15:36:1160

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

Saved successfully!

Ooh no, something went wrong!