01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

72<br />

CHAPTER 4 PLANNING<br />

resources and all of them suffer. The easiest solution is <strong>to</strong> increase the number of CPUs<br />

and the amount of RAM, but large and powerful computers are also very expensive.<br />

Real Application Clusters is a technology that combines the resources of more than<br />

one computer. Two or more <strong>Oracle</strong> <strong>Database</strong> instances share access <strong>to</strong> the same set of<br />

disks and coordinate with each other over a fast network. Additional instances can be<br />

added <strong>to</strong> the cluster as the workload increases. This allows us <strong>to</strong> start with cheap commodity<br />

hardware and “scale out” as the workload increases instead of “scaling up” <strong>to</strong><br />

a more powerful (and more expensive) computer.<br />

RAC also has implications for database availability. For example, any single instance<br />

can be shut down for hardware maintenance or OS patching without affecting the availability<br />

of the database. In some cases, it is even possible <strong>to</strong> apply <strong>Oracle</strong> patches in rolling<br />

upgrade fashion.<br />

Standby <strong>Database</strong><br />

A standby database can improve application availability. In this scenario, redo information<br />

from the main database is shipped and applied <strong>to</strong> another database, called the standby.<br />

In the event of a primary database outage, applications can use the standby database.<br />

Applications can also be switched <strong>to</strong> the standby database when hardware maintenance<br />

or operating system maintenance needs <strong>to</strong> be performed on the primary database; even<br />

the outages associated with <strong>Oracle</strong> patch sets and upgrades can be avoided. Note that the<br />

maintenance of the standby database can be au<strong>to</strong>mated and simplified using an <strong>Oracle</strong><br />

product called Data Guard, which is part of Enterprise Edition.<br />

To save money, it is typical for the standby database <strong>to</strong> have fewer hardware resources<br />

(CPU and memory) than the primary database; it is also typical <strong>to</strong> use a non-RAC standby<br />

database for an RAC primary database. Another interesting option is <strong>to</strong> use an active-active<br />

configuration of two or more computers. A typical active-active configuration has two<br />

databases, each on a separate server; the standby database of the first database is placed<br />

on the second server and the standby database of the second database is placed on the<br />

first server. Each server thus hosts a primary database as well as a standby database. If one<br />

server suffers an outage, the standby database on the other node can be activated; this is a<br />

very cost-effective way of using hardware resources.<br />

Maximum Available Architecture (MAA)<br />

Maximum Available Architecture (MAA) can be used when both availability and performance<br />

are important and budgets are generous. The typical standby configuration uses<br />

fewer hardware resources for the standby database since the probability of a switchover is<br />

low; that is, there will be some amount of degradation in performance if the applications<br />

are pointed <strong>to</strong> the standby database. The MAA configuration combines RAC technology

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

Saved successfully!

Ooh no, something went wrong!