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 6 MAKING PCBSSYS@EXDB1> /STATISTICVALUE------------------------------ --------Servers In Use 561 row selected.SYS@EXDB1> queued_sqlno rows selectedSYS@EXDB1> -- no queuing, lot’s of parallel slaves runningSYS@EXDB1>SYS@EXDB1> alter system set "_parallel_statement_queuing"=true; -- enable QueuingSystem altered.SYS@EXDB1> !ss.sh avgskew.sql 20 kso/ksostarting 20 copies of avgskew.sqlSYS@EXDB1> @queued_sqlSID SQL_ID SQL_EXEC_ID SQL_TEXT---- ------------- ----------- ----------------------------------------------181 05cq2hb1r37tr 16777363 select avg(pk_col) from kso.skew awhere col1 > 0216 1677736444 16777365273 16777366234 16777367160 16777368100 16777369233 1677737030 16777371138 167773727 16777373293 16777374137 1677737583 16777376251 1677737766 16777378123 16777379195 1677738018 rows selected.SYS@EXDB1> -- now we have control of which statements are parallelized and we have queuing159

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

Saved successfully!

Ooh no, something went wrong!