+ All Categories
Home > Documents > less_03.ppt

less_03.ppt

Date post: 04-Jun-2018
Category:
Upload: akdenizerdem
View: 216 times
Download: 0 times
Share this document with a friend

of 27

Transcript
  • 8/13/2019 less_03.ppt

    1/27

    Copyright 2004, Oracle. All rights reserved.

    Creating an Oracle Database

  • 8/13/2019 less_03.ppt

    2/27

    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

  • 8/13/2019 less_03.ppt

    3/27

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

    Database Architecture

    Data files Online redo log files

    Password fileParameter file Archive log files

    Control files

  • 8/13/2019 less_03.ppt

    4/27

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

    Exploring the Storage Structure

    Click on the links to viewdetailed information

  • 8/13/2019 less_03.ppt

    5/27

    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

  • 8/13/2019 less_03.ppt

    6/27

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

  • 8/13/2019 less_03.ppt

    7/273-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

    USERSTablespace

    Data file 1 Data file 2

  • 8/13/2019 less_03.ppt

    8/273-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 Datablocks

    OS blocks

  • 8/13/2019 less_03.ppt

    9/273-9 Copyright 2004, Oracle. All rights reserved.

    Oracle Instance Management

    System

    Monitor

    SMON

    Database

    Writer

    DBW0

    Log

    Writer

    LGWR

    Process

    Monitor

    PMON

    Archiver

    ARC0

    SGA

    Java Pool

    Shared Pool Large PoolStreams Pool

    Database

    Buffer Cache

    Redo Log

    Buffer

    Check

    point

    CKPT

  • 8/13/2019 less_03.ppt

    10/273-10 Copyright 2004, Oracle. All rights reserved.

    Oracle Memory Structures

    Java PoolDatabase

    Buffer CacheRedo Log

    Buffer

    Shared Pool Large Pool

    SGA

    Streams Pool

    Server

    Process

    1

    PGA

    Server

    Process

    2

    PGA

    Back-

    ground

    Process

    PGA

  • 8/13/2019 less_03.ppt

    11/273-12 Copyright 2004, Oracle. All rights reserved.

    Oracle Processes

    System

    Monitor

    SMON

    Database

    Writer

    DBWn

    Check

    point

    CKPT

    Log

    Writer

    LGWR

    Process

    Monitor

    PMON

    Archiver

    ARCn

    Server

    Process

    Server

    Process

    Server

    Process

    Server

    Process

    System Global AreaSGA

    Background Processes

  • 8/13/2019 less_03.ppt

    12/273-13 Copyright 2004, Oracle. All rights reserved.

    Data Dictionary

  • 8/13/2019 less_03.ppt

    13/273-14 Copyright 2004, Oracle. All rights reserved.

    Database Control

    Database

    control

  • 8/13/2019 less_03.ppt

    14/273-15 Copyright 2004, Oracle. All rights reserved.

    Grid Control

    Gridcontrol

    Management

    server

    Management

    repository

    Database

    controlDatabase

    OS/third-party

    application

    Application

    server

    Application

    server control

    Managed

    targets

    Agent AgentAgent

  • 8/13/2019 less_03.ppt

    15/273-16 Copyright 2004, Oracle. All rights reserved.

    Database Configuration Assistant (DBCA)

    Overview

  • 8/13/2019 less_03.ppt

    16/273-17 Copyright 2004, Oracle. All rights reserved.

    Creating a Database

  • 8/13/2019 less_03.ppt

    17/273-18 Copyright 2004, Oracle. All rights reserved.

    Database Identification

  • 8/13/2019 less_03.ppt

    18/273-19 Copyright 2004, Oracle. All rights reserved.

    Management Options

  • 8/13/2019 less_03.ppt

    19/273-20 Copyright 2004, Oracle. All rights reserved.

    Passwords and Storage

  • 8/13/2019 less_03.ppt

    20/273-21 Copyright 2004, Oracle. All rights reserved.

    File Locations and Backup Recovery

  • 8/13/2019 less_03.ppt

    21/273-22 Copyright 2004, Oracle. All rights reserved.

    File Location Variables

  • 8/13/2019 less_03.ppt

    22/273-23 Copyright 2004, Oracle. All rights reserved.

    Content and Initialization Parameters

  • 8/13/2019 less_03.ppt

    23/273-25 Copyright 2004, Oracle. All rights reserved.

    Database Storage

  • 8/13/2019 less_03.ppt

    24/273-26 Copyright 2004, Oracle. All rights reserved.

    Creation Options and Create

  • 8/13/2019 less_03.ppt

    25/27

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

    Other Actions with DBCA

  • 8/13/2019 less_03.ppt

    26/27

    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

  • 8/13/2019 less_03.ppt

    27/27

    Practice 3:

    Creating an Oracle Database

    This practice covers creating an Oracle database by

    using DBCA.


Recommended