You are on page 1of 27

Creating an Oracle Database

Copyright © 2004, Oracle. All rights reserved.


Objectives

After completing this lesson, you should be able to do


the following:
• Describe the Oracle database architecture
• Understand the instance architecture
• Use the management framework
• Use DBCA to
– Create a database
– Configure a database
– Drop a database
– Manage templates

Copyright © 2004, Oracle. All rights reserved.


Database Architecture

Control files

Data files Online redo log files

Parameter file Password file Archive log files

Copyright © 2004, Oracle. All rights reserved.


Exploring the Storage Structure

Click on the links to view


detailed information

Copyright © 2004, Oracle. All rights reserved.


Control Files

• Contain physical database structure information


• Multiplexed to protect against loss
• Required to start the instance

Control files

Copyright © 2004, Oracle. All rights reserved.


Redo Log Files

• Record changes to the database


• Multiplex to protect against loss

Redo log
buffer

Log
writer
LGWR

Group 1 Group 2 Group 3

Copyright © 2004, Oracle. All rights reserved.


Tablespaces and Datafiles

• Tablespaces consist of one or more data files


• Data files belong to only one tablespace

Data file 1 Data file 2

USERS Tablespace

Copyright © 2004, Oracle. All rights reserved.


Segments, Extents, and Blocks

• Segments exist within a tablespace.


• Segments are made of a collection of extents.
• Extents are a collection of data blocks.
• Data blocks are mapped to OS blocks.

Segment Extents Data OS blocks


blocks

Copyright © 2004, Oracle. All rights reserved.


Oracle Instance Management
SGA

Shared Pool Streams Pool Large Pool

Database Redo Log


Java Pool
Buffer Cache Buffer

System Process Database Log


Monitor Monitor Writer Writer
SMON PMON DBW0 LGWR

Check
point Archiver
CKPT ARC0

Copyright © 2004, Oracle. All rights reserved.


Oracle Memory Structures

Server Server Back-


Process PGA Process PGA ground PGA
1 2 Process

SGA

Shared Pool Streams Pool Large Pool

Database Redo Log


Java Pool
Buffer Cache Buffer

Copyright © 2004, Oracle. All rights reserved.


Oracle Processes
Server Server Server Server
Process Process Process Process

System Global Area


SGA

System Process Database Check Log


Archiver
Monitor Monitor Writer point Writer
ARCn
SMON PMON DBWn CKPT LGWR

Background Processes

Copyright © 2004, Oracle. All rights reserved.


Data Dictionary

Copyright © 2004, Oracle. All rights reserved.


Database Control

Database
control

Copyright © 2004, Oracle. All rights reserved.


Grid Control
Grid
control

Management Management
server repository

Managed
targets

Agent Agent Agent

Database OS/third-party Application Application


Database
control application server server control

Copyright © 2004, Oracle. All rights reserved.


Database Configuration Assistant (DBCA)
Overview

Copyright © 2004, Oracle. All rights reserved.


Creating a Database

Copyright © 2004, Oracle. All rights reserved.


Database Identification

Copyright © 2004, Oracle. All rights reserved.


Management Options

Copyright © 2004, Oracle. All rights reserved.


Passwords and Storage

Copyright © 2004, Oracle. All rights reserved.


File Locations and Backup Recovery

Copyright © 2004, Oracle. All rights reserved.


File Location Variables

Copyright © 2004, Oracle. All rights reserved.


Content and Initialization Parameters

Copyright © 2004, Oracle. All rights reserved.


Database Storage

Copyright © 2004, Oracle. All rights reserved.


Creation Options and Create

Copyright © 2004, Oracle. All rights reserved.


Other Actions with DBCA

Copyright © 2004, Oracle. All rights reserved.


Summary

In this lesson, you should have learned how to:


• Describe the Oracle database architecture
• Understand the instance architecture
• Use the management framework
• Use DBCA to
– Create a database
– Configure a database
– Drop a database
– Manage templates

Copyright © 2004, Oracle. All rights reserved.


Practice 3:
Creating an Oracle Database

This practice covers creating an Oracle database by


using DBCA.

Copyright © 2004, Oracle. All rights reserved.

You might also like