installing oracle database 10 g
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 PresentationTRANSCRIPT
![Page 1: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/1.jpg)
2Copyright © 2004, Oracle. All rights reserved.
Installing Oracle Database 10g
![Page 2: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/2.jpg)
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
![Page 3: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/3.jpg)
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.
![Page 4: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/4.jpg)
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
![Page 5: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/5.jpg)
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
![Page 6: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/6.jpg)
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
![Page 7: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/7.jpg)
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.
![Page 8: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/8.jpg)
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
![Page 9: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/9.jpg)
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
![Page 10: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/10.jpg)
2-11 Copyright © 2004, Oracle. All rights reserved.
Preinstallation Checks
![Page 11: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/11.jpg)
2-12 Copyright © 2004, Oracle. All rights reserved.
Oracle Universal Installer
![Page 12: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/12.jpg)
2-13 Copyright © 2004, Oracle. All rights reserved.
Selecting the Installation Method
![Page 13: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/13.jpg)
2-14 Copyright © 2004, Oracle. All rights reserved.
Specifying Inventory and Group Name
![Page 14: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/14.jpg)
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.
![Page 15: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/15.jpg)
2-16 Copyright © 2004, Oracle. All rights reserved.
Specifying File Locations
![Page 16: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/16.jpg)
2-17 Copyright © 2004, Oracle. All rights reserved.
Selecting the Installation Type
![Page 17: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/17.jpg)
2-19 Copyright © 2004, Oracle. All rights reserved.
Prerequisite Checks
![Page 18: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/18.jpg)
2-20 Copyright © 2004, Oracle. All rights reserved.
Selecting a Starter Database
![Page 19: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/19.jpg)
2-21 Copyright © 2004, Oracle. All rights reserved.
Specifying Configuration and Management
![Page 20: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/20.jpg)
2-22 Copyright © 2004, Oracle. All rights reserved.
Specifying File Storage and Backups
![Page 21: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/21.jpg)
2-23 Copyright © 2004, Oracle. All rights reserved.
Specifying Passwords and Summary Page
![Page 22: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/22.jpg)
2-24 Copyright © 2004, Oracle. All rights reserved.
Installation
![Page 23: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/23.jpg)
2-25 Copyright © 2004, Oracle. All rights reserved.
Configuration Assistants
![Page 24: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/24.jpg)
2-27 Copyright © 2004, Oracle. All rights reserved.
End of Installation
![Page 25: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/25.jpg)
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)
![Page 26: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/26.jpg)
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.
![Page 27: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/27.jpg)
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.
![Page 28: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/28.jpg)
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)
![Page 29: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/29.jpg)
2-33 Copyright © 2004, Oracle. All rights reserved.
Database Configuration Assistant (DBCA): Overview
![Page 30: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/30.jpg)
2-34 Copyright © 2004, Oracle. All rights reserved.
Creating a Database
![Page 31: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/31.jpg)
2-35 Copyright © 2004, Oracle. All rights reserved.
Database Identification
![Page 32: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/32.jpg)
2-36 Copyright © 2004, Oracle. All rights reserved.
Specifying Management Options
![Page 33: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/33.jpg)
2-37 Copyright © 2004, Oracle. All rights reserved.
Specifying Passwords and Storage
![Page 34: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/34.jpg)
2-38 Copyright © 2004, Oracle. All rights reserved.
Specifying File Locationsand Backup Options
![Page 35: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/35.jpg)
2-39 Copyright © 2004, Oracle. All rights reserved.
Viewing File Location Variables
![Page 36: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/36.jpg)
2-40 Copyright © 2004, Oracle. All rights reserved.
Content and Initialization Parameters
![Page 37: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/37.jpg)
2-42 Copyright © 2004, Oracle. All rights reserved.
Database Storage
![Page 38: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/38.jpg)
2-43 Copyright © 2004, Oracle. All rights reserved.
Creation Options and Create
![Page 39: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/39.jpg)
2-44 Copyright © 2004, Oracle. All rights reserved.
Performing Other Actions with DBCA
![Page 40: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/40.jpg)
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
![Page 41: Installing Oracle Database 10 g](https://reader036.vdocument.in/reader036/viewer/2022062315/56814f08550346895dbc9a77/html5/thumbnails/41.jpg)
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