Oracle Development Unleashed (3rd Edition)

Previous Table of Contents Next

Page 551

Page 552

view the current configuration of these interprocess communications (IPC) settings by issuing the UNIX ipcs(1) command.

CAUTION
It is not advisable to change the operating system priority of the Oracle background processes. If these values are altered , the database might process information less efficiently . If you must modify them, set all the database processes to the same value.

Page 553

Parallel Processing

There are two options available with Oracle that immensely enhance overall database application performance. The two options discussed in this section are the parallel server option and the parallel query option. Both of these options ”although each serves its own purpose ”maximize use of system resources to achieve very much improved database performance, especially on very large queries.

Parallel Server Option

You can use the parallel server option (which can be purchased separately from the Oracle server software) to access common data files on a server from databases on two or more servers. Each server has its own CPU and memory, but share the same disk drives . In turn , databases on these servers share the same set of database files. As a result, many benefits are experienced , ranging from high database availability to increased performance.

Suppose that you had a cluster of two servers, each server housing a database and each database sharing common data files. If database 1 fails for some reason (for example, hardware failure), the users of database 1 can be redirected to database 2. Database 2 may be used as a backup to database 1, and vice versa.

Gains in performance will also be experienced because the processing for each database occurs on each individual server. The two similar databases live on a server with their own memory and CPU; thus, they utilize their own resources. Memory contention and CPU usage are drastically decreased and may be decreased further in the future by adding another server to the cluster. The only things shared are the data files.

Parallel Query Option

The parallel query option is the option of taking advantage of the availability of more than one CPU on a server. By using this option with multiple CPUs, database queries can be divided by Oracle into several smaller queries and assigned to multiple processes. Each process resolves its query and then merges the results into a single result set. This process is know as parallelization , or parallelism. The parallel query option is particularly useful in a data warehousing or decision-support environment, where complicated and summarized queries are run and batch transactions are involved in populating the database.

NOTE
Oracle8 supports the capability of performing INSERT, UPDATE, and DELETE transactions in parallel in addition to the SELECT statement in previous releases. Performing data manipulation in parallel provides the potential for data to be populated in batch, in a fraction of the time compared to that of not using the parallel option.
Previous Table of Contents Next

Категории