Oracle
  Home arrow Oracle arrow Page 2 - Large Database Features In Oracle, con...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Large Database Features In Oracle, conclusion
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2005-12-15

    Table of Contents:
  • Large Database Features In Oracle, conclusion
  • RAC Architecture
  • Self-Managing Databases
  • cube
  • Analysis Functions
  • Windowing Functions
  • Project 9-2 Using Analytic SQL Functions and Models

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Large Database Features In Oracle, conclusion - RAC Architecture
    (Page 2 of 7 )

    A typical RAC implementation groups multiple Oracle database instances running on multiple machines (or nodes). These nodes communicate with each other and share a common pool of disks. The disks house all of the data files that comprise the database. This architecture is illustrated in Figure 9-9.

    Let’s look at a few of the key components in Figure 9-9:

    • Each node is connected to each other using high bandwidth communications.
    • Each node has its own set of log (redo) files.
    • The Cluster Manager monitors the status of each database instance in the cluster and enables communication between the instances. This manager known as the Cluster Synchronization Services (CSS). In previous versions of Oracle, it was just referred to as the “Cluster Manager.” When RAC was first introduced, cluster management was performed by third-party software, which is still supported by Oracle Database 10g.

    • FIGURE 9-9.  Real Application--
                   conceptual architecture
    • The Global Cache Service controls data exchange between nodes using the Cache Fusion technology.  Cache Fusion synchronizes the memory cache in each node using high-speed communications. This allows any node to access any data in the database.
    • Shared storage consists of data and index files, as well as control files.

    This architecture makes RAC systems highly available. For example, if Node 2 in Figure 9-9 fails or requires maintenance, the remaining nodes will keep the database available.

    This activity is transparent to the user or application and as long as at least one node is active, all data is available. RAC architecture also allows near-linear scalability and offers increased performance benefits. New nodes can easily be added to the cluster when needed to boost performance.

    Administering and maintaining data files on both RAC and single-node systems have always required a good deal of effort, especially when data partitioning is involved. Oracle’s solution to reducing this effort is Automatic Storage Management, which we will discuss next.

    CRITICAL SKILL 9.7

    Automatic Storage Management: Another Primer

    In previous versions of Oracle and with most other databases, management of data files for large databases consumes a good portion of the DBA’s time and effort. The number of data files in large databases can easily be in the hundreds or even thousands. The DBA must coordinate and provide names for these files and then optimize the storage location of files on the disks. The new Automatic Storage Management (ASM) feature in Oracle Database 10g Enterprise Edition addresses these issues.

    ASM simplifies the management of disks and data files by creating logical groupings of disks into disk groups. The DBA need only refer to the groups, not the underlying data files. Data files are automatically named and distributed evenly (striped) throughout the disks in the group for optimal throughput. As disks are added or removed from the disk group, ASM redistributes the files among the available disks, automatically, while the database is still running. ASM can also mirror data for redundancy.

    ASM Architecture

    When ASM is implemented, each node in the database (clustered or nonclustered) has an ASM instance and a database instance, with a communication link between them. The ASM instance manages and works with the disk groups, and the database instance works with the data files. Figure 9-10 illustrates this architecture.

    The following points address the key components in Figure 9-10:

    • The ASM instance manages the disk groups and ASM files. The names of the ASM files in each disk group are system generated. The ASM instance maintains a map of data files and disks.
    • The database instance accesses the ASM files directly, not the disk groups. In order to do this, the database instance must communicate with the ASM instance to request the names and locations of ASM data files required.
    • A database can contain both ASM and non-ASM files and the database instance can access either type.
           FIGURE 9-10.  Automatic Storage
                     Management 

    Ask the Expert

    Q: After ASM disk groups are defined, how are they associated with a table?

    A: ASM disk groups are referred to during tablespace creation, as in the following example:

    1 create tablespace ts1
    2   datafile +diskgrp1 /alias1;

    This listing creates tablespace ts1 in disk group diskgrp1. Note that this assumes that both diskgrp1 and alias1 have previously been defined.

    A table can now be created in tablespace ts1 and it will use ASM data files. While ASM can be implemented in a single-node environment, its real power and benefits are realized when used in RAC environments. This powerful
    combination is the heart of Oracle Database 10g’s grid computing database architecture.

    CRITICAL SKILL 9.8

    Grid Computing: The “g” in Oracle Database 10g

    In this chapter, we have discussed many issues and demands surrounding large databases—performance, maintenance efforts, and so on. We have also discussed the solutions offered by Oracle Database 10g. Now we will have a high-level look at Oracle Database 10g’s grid-computing capabilities.


    NOTE

    Oracle Database 10g’s grid computing applies to both database and application layers. We will just be scratching the surface of grid computing and focusing on the database components.


    The theory behind grid computing is that all parts of the grid (databases, applications, servers, disks, and so forth) work together in a highly integrated fashion, with each component being able to react appropriately to changes in other components in the grid. This results in efficient use of resources, faster response times, high availability, and so on.

    The database components of Oracle Database 10g’s grid computing provide an infrastructure that brings together multiple servers (RAC) with shared storage (ASM), all tied together using the Oracle Enterprise Manager (OEM) Grid Control. Table 9-17 shows how grid computing addresses some of the issues facing large databases.

    In order for grid computing to work, a software infrastructure layer needs to be in place to control the hardware and processes, as well as provide some automated maintenance capabilities. This is mainly the function of the OEM and is a core component of the grid. In addition, the Oracle Database 10g has the capability to perform some self-management.

    More Oracle Articles
    More By McGraw-Hill/Osborne


       · This article is an excerpt from the book "Oracle Database 10g A Beginner's Guide,"...
     

    Buy this book now. This article is excerpted from chapter nine of the book Oracle Database 10g A Beginner's Guide, written by Ian Abramson et al (Mcgraw-Hill/Osborne, 2004; ISBN: 0072230789). Check it out at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway