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.

C H A P T E R 10<strong>Exadata</strong> Wait EventsThe <strong>Oracle</strong> database is a very well instrumented piece of code, and it has been so for quite a while. Itkeeps track of the amount of time spent in discrete operations via the use of wait events. While thedatabase software is quite complex, wait event analysis allows performance analysts to determineprecisely where the database is spending its time. Many difficult performance problems can be resolvedby analyzing these wait events. The introduction of <strong>Exadata</strong> has resulted in the creation of several newwait events to support the unique operations that are performed on the platform. This chapter will focuson describing these new events and how they relate to the activities actually being performed, whilecontrasting them with the wait events used by the database on non-<strong>Exadata</strong> platforms. It will alsodescribe a few wait events that aren’t specific to <strong>Exadata</strong> but play an important role on <strong>Exadata</strong>platforms.A wait event is actually a section of code that is timed and assigned a name. The pieces of codecovered by these events are quite often discrete operating system calls such as I/O requests, but somewait events cover considerably larger portions of code. The events may even include sections of codethat contain other wait events. The naming of wait events has been somewhat inconsistent over theyears, and many events have somewhat misleading names. Even though some of the event names areacknowledged to be potentially misleading, <strong>Oracle</strong> has been understandably reluctant to change them.The <strong>Exadata</strong> platform has provided an excuse to rename some of the I/O-related events, and as you’ll seeshortly, the developers took the opportunity to do just that.Events Specific to <strong>Exadata</strong>There are actually no events that exist exclusively on the <strong>Exadata</strong> platform. Wait events are built into thedatabase code, and since the compute nodes on <strong>Exadata</strong> run standard <strong>Oracle</strong> Database software, all thewait events that are used when invoking <strong>Exadata</strong>-specific features are available in databases that arerunning on non-<strong>Exadata</strong> platforms as well. But because the <strong>Exadata</strong> features are only available on the<strong>Exadata</strong> platform, no time is ever allocated to those events on other platforms. By way of proof, considerthe following example, which compares the events from V$EVENT_NAME (which exposes the valid waitevents) first on an <strong>Exadata</strong> Database Machine and then on a standard 11gR2 database on a non-<strong>Exadata</strong>platform:SYS@EXDB> select count(*) from v$event_name;COUNT(*)----------1118319

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

Saved successfully!

Ooh no, something went wrong!