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 6 MAKING PCBSSQL_ID AVG_ETIME AVG_LIO SQL_TEXT------------- ------------- ------------ ----------------------------------05cq2hb1r37tr 28.77 162,427 select avg(pk_col) from kso.skew awhere col1 > 01 rows selected.SYS@EXDB1> !cat dplan.sqlset lines 150select * from table(dbms_xplan.display_cursor('&sql_id','&child_no','typical'))/SYS@EXDB1> @dplanEnter value for sql_id: 05cq2hb1r37trEnter value for child_no: 2PLAN_TABLE_OUTPUT------------------------------------------------------------------------------------------SQL_ID 05cq2hb1r37tr, child number 2-------------------------------------select avg(pk_col) from kso.skew a where col1 > 0Plan hash value: 578366071)------------------------------------------------------------------------------------------| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |------------------------------------------------------------------------------------------| 0 | SELECT STATEMENT | | | | 6308 (100)| | || 1 | SORT AGGREGATE | | 1 | 24 | | | || 2 | PX COORDINATOR | | | | | | || 3 | PX SEND QC (RANDOM) | :TQ10000 | 1 | 24 | | | Q1,00 || 4 | SORT AGGREGATE | | 1 | 24 | | | Q1,00 || 5 | PX BLOCK ITERATOR | | 32M| 732M| 6308 (1)| 00:01:16 | Q1,00 ||* 6 | TABLE ACCESS FULL| SKEW | 32M| 732M| 6308 (1)| 00:01:16 | Q1,00 |------------------------------------------------------------------------------------------Predicate Information (identified by operation id):---------------------------------------------------6 - access(:Z>=:Z AND :Z0)Note------ automatic DOP: Computed Degree of Parallelism is 528 rows selected. )148

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

Saved successfully!

Ooh no, something went wrong!