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.

C H A P T E R 6<strong>Exadata</strong> Parallel Operations<strong>Exadata</strong> doesn’t have a special way of executing parallel operations that is not available on otherplatforms running 11gR2. However, parallel processing is a key component of <strong>Exadata</strong> because efficienthandling of Data Warehouse workloads was a primary design goal for <strong>Exadata</strong>. In addition, becauseOffloading/Smart Scan depends on direct path reads, which are used by parallel query slaves, paralleloperations take on a whole new importance. Traditionally, the use of parallel query has required carefulcontrol of concurrency in order to maximize the use of available resources without overwhelming thesystem. <strong>Oracle</strong>’s previous attempts at throttling parallel operations to allow them to be used in multiuserenvironments have not been entirely successful. 11gR2 provides some new capabilities for controllingparallel operations. In particular, a queuing mechanism has been introduced that allows the number ofconcurrent parallel processes to be managed more effectively. This approach appears to be much bettersuited to allowing a high degree of parallelism without overwhelming the available resources thanprevious attempts. 11gR2 also introduced the ability for <strong>Oracle</strong> to automatically calculate a degree ofparallelism on a statement-by-statement basis.This chapter is about parallel query. Other forms of parallelism provided by the database, such asrecovery parallelism, will not be covered here. We will briefly cover parallel query mechanics anddemonstrate specifically how the queuing mechanism and automatic degree of parallelism work with<strong>Exadata</strong>. This chapter will also briefly cover the new 11gR2 In-Memory Parallel Execution feature anddiscuss how <strong>Exadata</strong> storage parallelizes I/O operations. It will not cover all the details of parallel queryor parallel DML and assumes that the reader is familiar with basic <strong>Oracle</strong> parallel concepts. Note alsothat the discussion and examples will refer to behavior in <strong>Oracle</strong> Database 11g Release 2 (11.2.0.2). Inmost cases, the comments apply equally to version 11.2.0.1 as well. Exceptions are explicitly called out.ParametersBefore describing the various new features and how they apply to <strong>Exadata</strong>, you should review theparameters that affect how parallel queries are handled by the database. Table 6-1 shows the parametersalong with a brief description of each one’s purpose.143

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

Saved successfully!

Ooh no, something went wrong!