Top Banner
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database
27

Oracle 10g Admin workshops PPT Less 03

Apr 10, 2015

Download

Documents

mahiroux
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Oracle 10g Admin workshops PPT  Less 03

3Copyright © 2004, Oracle. All rights reserved.

Creating an Oracle Database

Page 2: Oracle 10g Admin workshops PPT  Less 03

3-2 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

Page 3: Oracle 10g Admin workshops PPT  Less 03

3-3 Copyright © 2004, Oracle. All rights reserved.

Database Architecture

Data files Online redo log files

Password fileParameter file Archive log files

Control files

Page 4: Oracle 10g Admin workshops PPT  Less 03

3-4 Copyright © 2004, Oracle. All rights reserved.

Exploring the Storage Structure

Click on the links to view detailed information

Page 5: Oracle 10g Admin workshops PPT  Less 03

3-5 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

Page 6: Oracle 10g Admin workshops PPT  Less 03

3-6 Copyright © 2004, Oracle. All rights reserved.

Redo Log Files

• Record changes to the database

• Multiplex to protect against loss

Redo log buffer

LogwriterLGWR

Group 1 Group 2 Group 3

Page 7: Oracle 10g Admin workshops PPT  Less 03

3-7 Copyright © 2004, Oracle. All rights reserved.

Tablespaces and Datafiles

• Tablespaces consist of one or more data files

• Data files belong to only one tablespace

USERS Tablespace

Data file 1 Data file 2

Page 8: Oracle 10g Admin workshops PPT  Less 03

3-8 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 blocks

OS blocks

Page 9: Oracle 10g Admin workshops PPT  Less 03

3-9 Copyright © 2004, Oracle. All rights reserved.

Oracle Instance Management

SystemMonitorSMON

DatabaseWriterDBW0

LogWriterLGWR

ProcessMonitorPMON

ArchiverARC0

SGA

Java Pool

Shared Pool Large PoolStreams Pool

DatabaseBuffer Cache

Redo Log Buffer

CheckpointCKPT

Page 10: Oracle 10g Admin workshops PPT  Less 03

3-10 Copyright © 2004, Oracle. All rights reserved.

Oracle Memory Structures

Java PoolDatabase

Buffer CacheRedo Log

Buffer

Shared Pool Large Pool

SGA

Streams Pool

ServerProcess

1PGA

ServerProcess

2PGA

Back-groundProcess

PGA

Page 11: Oracle 10g Admin workshops PPT  Less 03

3-12 Copyright © 2004, Oracle. All rights reserved.

Oracle Processes

SystemMonitorSMON

DatabaseWriterDBWn

CheckpointCKPT

LogWriterLGWR

ProcessMonitorPMON

ArchiverARCn

ServerProcess

ServerProcess

ServerProcess

ServerProcess

System Global AreaSGA

Background Processes

Page 12: Oracle 10g Admin workshops PPT  Less 03

3-13 Copyright © 2004, Oracle. All rights reserved.

Data Dictionary

Page 13: Oracle 10g Admin workshops PPT  Less 03

3-14 Copyright © 2004, Oracle. All rights reserved.

Database Control

Database control

Page 14: Oracle 10g Admin workshops PPT  Less 03

3-15 Copyright © 2004, Oracle. All rights reserved.

Grid Control

Grid control

Management server

Management repository

Database control

DatabaseOS/third-party

applicationApplication

serverApplication

server control

Managed targets

Agent AgentAgent

Page 15: Oracle 10g Admin workshops PPT  Less 03

3-16 Copyright © 2004, Oracle. All rights reserved.

Database Configuration Assistant (DBCA) Overview

Page 16: Oracle 10g Admin workshops PPT  Less 03

3-17 Copyright © 2004, Oracle. All rights reserved.

Creating a Database

Page 17: Oracle 10g Admin workshops PPT  Less 03

3-18 Copyright © 2004, Oracle. All rights reserved.

Database Identification

Page 18: Oracle 10g Admin workshops PPT  Less 03

3-19 Copyright © 2004, Oracle. All rights reserved.

Management Options

Page 19: Oracle 10g Admin workshops PPT  Less 03

3-20 Copyright © 2004, Oracle. All rights reserved.

Passwords and Storage

Page 20: Oracle 10g Admin workshops PPT  Less 03

3-21 Copyright © 2004, Oracle. All rights reserved.

File Locations and Backup Recovery

Page 21: Oracle 10g Admin workshops PPT  Less 03

3-22 Copyright © 2004, Oracle. All rights reserved.

File Location Variables

Page 22: Oracle 10g Admin workshops PPT  Less 03

3-23 Copyright © 2004, Oracle. All rights reserved.

Content and Initialization Parameters

Page 23: Oracle 10g Admin workshops PPT  Less 03

3-25 Copyright © 2004, Oracle. All rights reserved.

Database Storage

Page 24: Oracle 10g Admin workshops PPT  Less 03

3-26 Copyright © 2004, Oracle. All rights reserved.

Creation Options and Create

Page 25: Oracle 10g Admin workshops PPT  Less 03

3-27 Copyright © 2004, Oracle. All rights reserved.

Other Actions with DBCA

Page 26: Oracle 10g Admin workshops PPT  Less 03

3-28 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

Page 27: Oracle 10g Admin workshops PPT  Less 03

3-29 Copyright © 2004, Oracle. All rights reserved.

Practice 3: Creating an Oracle Database

This practice covers creating an Oracle database by using DBCA.