1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Oracle Workshop - Upgrade to 11g P2 pdf

20 421 1
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Upgrade to 11g P2
Chuyên ngành Oracle Database
Thể loại Upgrade guide
Năm xuất bản 2009
Định dạng
Số trang 20
Dung lượng 735,98 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

¢ Database ¢ Enterprise Edition ¢ Standard Edition ¢ Personal Edition Windows ¢ Client ¢ Clusterware ¢ Extra: Examples formerly known as companion Required Products Oracle Globali

Trang 1

a External 11g References

National United

Facility

Luxemburg)

« Travel Japan ond Media 11gR1 10 1 IBM AIX ASM

Servicio

Electronico

S.A

ORACLE

25-Jan-2009

Trang 2

a Upgrade Paths

CTAS, COPY

WN) Downtime >45min?

SQL Apply

v Oracle Streams l4

Transportable Tablespaces

t

Transportable Database

SQL> @catupgrd

ORACLE

Trang 3

Preparation

¢ Get INVALID Objects:

Recompile invalid objects in SYS and SYSTEM with utlrp.sql

¢ Compare invalid objects from before and after the upgrade

Beginning with 11.1.0.7 the comparison has been automated registrySsys_inv_objs, registry$nonsys_inv_objs => utluiobj.saql

¢ Get accurate performance statistics

¢ Comparison: before < after

¢ Time specific queries and batches

¢- Test upgrade of the database

¢ Functional tests

¢ Performance tests with real life loads!!!

ORACLE

Trang 4

Preparation

¢ Possibilities for performance analysis:

¢ STATSPACK — export Perfstat user!!!

- Note:394937.1 STATSPACK guide

¢ AWR - extract the AWR

¢ Do AWR diff reports comparing before/after upgrade

¢ Real Application Testing

¢ SQL Performance Analyzer

¢ Database Replay

ORACLE

Trang 5

Preparation

¢ Create dictionary statistics prior to the upgrade - otherwise

it will take significantly longer

SQL> EXECUTE dbms stats.gather schema _ stats

('SYS',

estimate percent => DBMS STATS.AUTO SAMPLE SIZE,

cascade => TRUE) ;

¢ Detailed scripts can be found here:

Oracle® Database Upgrade Guide Appendix B

¢ Orin

SQL> EXECUTE dbms stats.gather dictionary stats; |

ORACLE

Trang 6

Preparation

¢ Switch off DATABASE VAULT (if used/installed)

¢ Oracle® Database Vault Administrator's Guide: Appendix B

¢ UNIX: (simplified)

¢ Relinking without Database Vault

[S$ make -f ins rdbms.mk dv_off |]

°_ Windows:

° Rename oradv10 d11 In ORACLE_ HOME\bin

¢ Upon restart:

° _ Affer upgrading relink with dv_on or rename the DLL and enable Database Vault again:

ORACLE

Trang 7

Preparation

- Drop SYS.PLAN TABLES and SYS.PLAN TABLE

¢ See Note: 605317.1 and Note: 736353 1

¢ Otherwise the component "Oracle Server" can be INVALID after the upgrade

¢ Introduced with DBMS _ SQLPA

¢ Steps to solve this issue if it has happened:

° @catplan.sgl recreate the plan table

@domsxpln.sql reload dbms_ xplan spec

@prvtxpln.plb reload dbms xplan implementation G@prvtspao.plb reload dbms_ sqlpa

ORACLE

Trang 8

Installation

¢ Space / resource requirements

° Software installation:

¢ 150-200 MB in /tmp or \TEMP necessary

¢ Seed database: > 1,6 GB

¢ Seed databases are always prebuilt EE databases with all options!!!

- RAM: > 1GB

° SWapspace

¢ RAM between 513Mb and 2048Mb > 1.5x RAM

¢ RAM between 2049Mb and 8192Mb > 1x RAM

¢ RAM more than 8192Mb —> 0.75x RAM

ORACLE

Trang 9

Installation

¢ How to access the software?

htto://otn.oracle.com/software/index.html

¢ Metalink:

_ ———= —=—= —-——

^ SR Search SR Create GR Profles SRManagementReports Collaborative Support

Create a SR - Brief Description

ØTịp Requesting a product update? Go to Patches & Updates to download licensed products

*Type of problem:

issues withithis procict® will slows

SR resolution

http://edelivery.oracie.com/

ORACLE E-Delivery

Trang 10

Installation

¢ Download from OTN:

Download the Complete Files

O linux 11gR1 database.zip (1,844,533,232 bytes) (cisum - 4231932775)

Directions

1 All filles are inthe zip format There is an unzip utility here if you need one

2 Installation guides and general Oracle Database 119 documentation are here

3 Review the certification matrix for this product here

Oracle Database 11g Release 1 Client (11.1.0.6.0) for Linux x86

CO) linux 11gR1 client.zip (453,677,395 bytes) (cksum - 2693183676)

Oracle Database 11g Examples (formerly Companion)

) linux 11gR1 examples.zip (457 209,469 bytes) (cksum - 606940067)

Oracle Clusterware Release 1 (11.1.0.6.0) for Linux x86

) linux 11gR1 clusterware.zip (244,654,895 bytes) (cksum - 3625236068)

Oracle Database Gateways 11g Release 1 (11.1 0.6.0) for Linux x86

© linux 11gR1_ gateways.zip (451,064,474 bytes) (cksum - 1541243104)

ORACLE

Trang 11

Installation

¢ DVD contents?

¢ Database

¢ Enterprise Edition

¢ Standard Edition

¢ Personal Edition (Windows)

¢ Client

¢ Clusterware

¢ Extra: Examples (formerly known as companion)

Required Products Oracle Globalization Support Demos Oracle Multimedia Demos

Oracle Precompiler Demos Oracle Spatial Demos

Oracle SQLJ Demos Oracle XML Demos Oracle JDBC Development Drivers Oracle Text Knowledge Base

ORACLE

Trang 12

Installation

¢ Pre-installation checks:

starting Oracle Universal Installer

Checking Swap space: must be greater than 566 MB Actual 518 MB eet

monitor: must be configured to display at least 256 colors Higher than

Actual 4294967296 Passed

I1 TT to launch Oracle Universal Installer from C:\DOKUME™1\ORACLE™1\LOKALE

^*1xTenp`Oralnstall2807-88-14_84-84-54PH Please ualt

¢ Warning: 50OMB swap space needed — also on Windows!!!

¢ Ask support before installing with:

./runInstaller -ignoreSysPrereqs

ORACLE

Trang 13

Installation - Loopback Adapter for DBcontrol #

>

y? Search @ Network Cannertinns >

¢ Choose Yes, I've already connected the hardware

Have you already connected this hardware to your computer?

Soe tala alge i= a

(* es, | have already connected the hardware

¢ Scoll down to Add a new hardware device

co Generic USB Hub

4dd 4 new hardware device

¢ Choose /nstall the hardware that | manually select

What do you want the wizard to do?

( Search for and install the hardware automatically (Recommended)

¢ Click on Manufacturer Microsoft

° Install the Loopback Adapter Manufacturer |^| Network Adapter:

Cisco Systems Sf Bluetooth Device (RFCOMM Pro

° M a ke th e Loo p back Ad a pte r rel) Corporation Microsoft Loopback Adapter

the F | RST netwo rk ca rd in Microsoft Sử Microsoft Tun Miniport Adapter

TCP/IP properties!!

ORACLE

Trang 14

Installation

& Oracle Database 11g Installation - Select a Product to’

ORACLE 1 1 g

Select a Product to Install KPT CIO BE

® Oracle Database 11g

Installs an optional preconfigured starter database, product options, management tools, networking

services, utilities, and basic client software for an Oracle Database server This option also supports

Automatic Storage Management database configuration

“ Oracle Client

Installs enterprise managementtools, networking services, utilities, developmenttools and precompilers,

and basic client software

‘ Oracle Clusterware

Installs the Oracle Clustenvare components that provide the required infrastructure for Oracle Real

Application Clusters Oracle Clusterware also enables the management of Oracle Database and other

applications within the cluster

ORACLE

Trang 15

Installation

= (oi xj

ORACLE T1 1£

DATABASE

“Oracle Universal Installer: Select Installation Type

Select Installation Type

Oracle Database 1ig 11.1.0.6.0

What type of installation do you want?

® Enterprise Edition (2.69GB)

Oracle Database 11g Enterprise Edition, the First database designed for the grid, is a self-managing database that has

the scalability, performance, high availability and security features required to run the most demanding, mission critical

applications,

© Standard Edition (2.67G6B)

Oracle Database 119 Standard Edition is ideal for workgroups, departments and small-to-medium sized businesses looking

for a lower-cost offering

C Personal Edition (2.696B)

Supports single user development and deployment that require full compatibility with Oracle Enterprise Edition 11g and

Oracle Standard Edition 11g

C Custom

Enables you to choose individual components to install,

Product Languages |

ORACLE

Trang 16

Installation

»⁄#4 Oracle LIiniyersal Installer: Select Installation Type

=l=I xị

ORACLE’ 1 1 Ø8

DATABASE

Select Installation Type

Oracle Database lig 11.1.0.6.0

What type of j

tabase 119 Standard Edition is ideal for workgroups, departments and small-to-medium sized businesses looking er-cost offering

al Edition (2.696B)

orts single user development and deployment that require Full compatibility with Oracle Enterprise Edition 11g and

le Standard Edition 119

C Custom

Enables you to choose individual components to install,

Product Languages )

Help ] Installed Products J Back | - Next a ) Install Cancel )

ORACLE

Trang 17

Installation

¢ Custom installation:

¢ 10qR2 doc installation quide

Note:

If you purchased a Standard Edition license, and you perform a Custom installation, then ensure that you install only the components covered by the Standard Edition license

¢ 11qR1 doc installation quide

Note:

If you perform a Custom Installation, then ensure that you install only the components covered by your license You

can not install Standard Edition using Custom Installation

ORACLE

Trang 18

ma Patch Set Installation

° Install patch sets and patches before you start the upgrade

Patchset 6890831

Simple Search | Advanced Search | Quick Links | Saved Searches|

Description 11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER

Product Oracle Database Family

Release 11.1.0.7.0

Platform or Language {2 —_E Linux x86 hl

Last Updated 18-SEP-2008

Support Level £) General Support

Classification General

Download | View Readme | View Digest

ORACLE

Trang 19

a Unattended Installation/Configuration

¢ Two options:

¢ Oracle Universal Installer OUI

¢ /runinstaller -record -destinationFile

¢ /runinstaller -silent -noconsole -responseFile

¢ But this has to be done for a patch set, too

¢ Home Cloning (script or Provisioning Pack)

¢ Prepare a fully patched Oracle Home

¢ Create an archive consisting of all files

¢ Exclude “log, “dbf, tnsnames/listener/sqlinet.ora

¢ /runinstaller -silent -clone -

¢ Listener Configuration

¢ /netca /silent /responseFile

ORACLE

Trang 20

Installation

¢ Overview on differences of database editions and available

options by edition

¢ Feature differences:

Note.465465.1

Differences Between Enterprise, Standard and Personal Editions on Oracle 10.2

¢ Oracle® Database Licensing Information

11g Release 1 (11.1)

Part Number B28287-01

httop://download.oracle.com/docs/cd/B28359 O1/license.111/b2828//editions.htm

ORACLE

Ngày đăng: 13/12/2013, 03:15

TỪ KHÓA LIÊN QUAN