installing oracle database 10 g

Post on 19-Jan-2016

94 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Installing Oracle Database 10 g. Objectives. After completing this lesson, you should be able to do the following: Install Oracle Database 10 g software Use the Database Configuration Assistant (DBCA) to create a database. Performing the Upgrade. - PowerPoint PPT Presentation

TRANSCRIPT

2Copyright © 2004, Oracle. All rights reserved.

Installing Oracle Database 10g

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

Objectives

After completing this lesson, you should be able to do the following:

• Install Oracle Database 10g software

• Use the Database Configuration Assistant (DBCA) to create a database

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

Performing the Upgrade

Perform the following steps to upgrade your database:

1. Prepare the Oracle8i database.

2. Install the Oracle Database 10g software.

3. Upgrade using the selected method.

4. Perform postupgrade steps.

5. Implement new features.

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

Installing Oracle Database 10g Software

• Incompatibility– Data that cannot be processed by your previous

release– New features that behave differently in the new

environment

• Interoperability– The ability of databases in a distributed system to

communicate and work together

2-5 Copyright © 2004, Oracle. All rights reserved.

Compatibility

• Using the COMPATIBLE parameter– Control new features that would make your

database incompatible – Minimum value is 9.2.0– Default value is 10.0.0

• Irreversible compatibility issues– Data file headers are modified when database is

opened– Database cannot be downgraded

ALTER SYSTEM SET COMPATIBLE = 10.0.0

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

Using Oracle Universal Installer to Install Oracle Database 10g

Oracle Universal Installer (OUI) has several new features:

• Preinstall checking

• Support for various storage options

• Install database management options

• Silent install

• Single password

• Clean deinstallation

• Requires only one CD

• Completes in about 20 minutes

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

Using Oracle Universal Installer

• OUI enables you to:– View the Oracle software that is installed on your

machine– Install new Oracle software– Uninstall the Oracle software that you no longer

intend to use– Change the default ORACLE_HOME on Windows

• OUI provides online help.

2-8 Copyright © 2004, Oracle. All rights reserved.

Installation Prerequisites

Before installation, OUI checks:

• Availability of a minimum of 512 MB of memory

• Availability of sufficient paging space (swap space)

• Whether appropriate operating system service packs or patches are installed

• Whether the appropriate file system format is being used

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

Setting Environment Variables

• ORACLE_BASE: Specifies the base of the Oracle directory structure for Optimal Flexible Architecture (OFA)

• ORACLE_HOME: Specifies the directory containing the Oracle software

• ORACLE_SID: The initial instance name (ORCL by default)

• LD_LIBRARY_PATH: Location of shared object libraries (UNIX)

• NLS_LANG: The language, territory, and client character set settings

2-11 Copyright © 2004, Oracle. All rights reserved.

Preinstallation Checks

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

Oracle Universal Installer

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

Selecting the Installation Method

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

Specifying Inventory and Group Name

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

Executing orainstRoot.sh

# sh /u01/app/oracle/oraInventory/orainstRoot.shCreating the Oracle inventory pointer file (/etc/oraInst.loc)Changing groupname of /u01/app/oracle/oraInventory to oinstall.

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

Specifying File Locations

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

Selecting the Installation Type

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

Prerequisite Checks

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

Selecting a Starter Database

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

Specifying Configuration and Management

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

Specifying File Storage and Backups

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

Specifying Passwords and Summary Page

2-24 Copyright © 2004, Oracle. All rights reserved.

Installation

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

Configuration Assistants

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

End of Installation

2-28 Copyright © 2004, Oracle. All rights reserved.

Oracle Versions

Oracle has several versions and patch levels:

• Oracle8i – 8.1.7 last release– 8.1.7.4.2 last patch on Windows

• Oracle9i, Release 2– 9.2.0.0 initial release– 9.2.0.5.0 latest patch release on Linux x-86

• Oracle Database 10g – 10.1.0.2 initial release– 10.1.0.3 patch set (Minipack)

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

Applying Oracle Software Patches

• Patches are available from MetaLink. There are two types of patches:– Temporary patches– Patch sets

• To install the latest Oracle Database 10g release on Windows, you must apply patch set 10.1.0.3.

2-30 Copyright © 2004, Oracle. All rights reserved.

Using the Oracle Patch Utility

• Oracle Patch Utility (Opatch) is installed with Oracle Database 10g.

• For Oracle9i, install Opatch by applying temporary patch 2617419.

• Use OPatch to:– Apply other temporary patches– Roll back temporary patches– List installed Oracle components and temporary

patches– Attach an installed ORACLE_HOME to a central

inventory

$ opatch apply...OPatch succeeded.

2-32 Copyright © 2004, Oracle. All rights reserved.

Using the Oracle Relink Utility

To relink Oracle executables:

1. Verify whether ORACLE_HOME is correctly set.

2. Set LD_LIBRARY_PATH to include $ORACLE_HOME/lib.

3. Execute the appropriate relink command:– relink all (relinks all Oracle executables)– relink oracle (relinks the database executables)– relink network (relinks listener, cman, names)– relink oemagent (relinks the Intelligent Agent)– relink utilities (relinks sqlplus, imp, exp)– relink ctx (relinks Oracle Text)

2-33 Copyright © 2004, Oracle. All rights reserved.

Database Configuration Assistant (DBCA): Overview

2-34 Copyright © 2004, Oracle. All rights reserved.

Creating a Database

2-35 Copyright © 2004, Oracle. All rights reserved.

Database Identification

2-36 Copyright © 2004, Oracle. All rights reserved.

Specifying Management Options

2-37 Copyright © 2004, Oracle. All rights reserved.

Specifying Passwords and Storage

2-38 Copyright © 2004, Oracle. All rights reserved.

Specifying File Locationsand Backup Options

2-39 Copyright © 2004, Oracle. All rights reserved.

Viewing File Location Variables

2-40 Copyright © 2004, Oracle. All rights reserved.

Content and Initialization Parameters

2-42 Copyright © 2004, Oracle. All rights reserved.

Database Storage

2-43 Copyright © 2004, Oracle. All rights reserved.

Creation Options and Create

2-44 Copyright © 2004, Oracle. All rights reserved.

Performing Other Actions with DBCA

2-46 Copyright © 2004, Oracle. All rights reserved.

Summary

In this lesson, you should have learned how to:

• Install Oracle Database 10g software

• Use the DBCA to create a database

2-47 Copyright © 2004, Oracle. All rights reserved.

Practice 2 Overview:Installing Oracle Database 10g Software

This practice covers the following topics:

• Installing Oracle Database 10g software

• Applying patches to the Oracle Database 10g installation

• Creating a database to be used with Import

top related