+ All Categories
Home > Documents > Oracle RAC vs DB2 LUW pureScale

Oracle RAC vs DB2 LUW pureScale

Date post: 27-Oct-2021
Category:
Upload: others
View: 18 times
Download: 1 times
Share this document with a friend
30
1 22 nd November 2011 • 10:30 Platform: DB2 LUW Udo Brede Quest Software Session: Oracle RAC vs DB2 LUW pureScale
Transcript
Page 1: Oracle RAC vs DB2 LUW pureScale

1

22nd November 2011 • 10:30

Platform: DB2 LUW

Udo Brede

Quest Software

Session:

Oracle RAC vs DB2 LUW pureScale

Page 2: Oracle RAC vs DB2 LUW pureScale

2

Agenda

• Marketing Message

• Clustering/Scalability

• Technology Overview

• Basic Components

• Available

• Installation

• Administration and Monitoring

• Summary

Page 3: Oracle RAC vs DB2 LUW pureScale

3

Marketing Messages pureScale RAC (Real Application Clusters)

• Unlimited Capacity • Buy only what you need, add

capacity as your needs grow

• Application Transparency • Avoid the risk and cost of

application changes

• Continuous Availability • Deliver uninterrupted access to

your data with consistent

performance

• 24/7 availability • Provide continuous uptime for database

applications

• On-demand scalability • Expand capacity by simply adding servers to

your cluster

• Lower computing costs • Use low-cost commodity hardware and

reduce cost of downtime

• World-record performance • Runs faster than the fastest mainframe

Page 4: Oracle RAC vs DB2 LUW pureScale

4

Marketing Message RAC

Page 5: Oracle RAC vs DB2 LUW pureScale

5

Marketing Message pureScale

Page 6: Oracle RAC vs DB2 LUW pureScale

6

Clustering/Scalability: Oracle RAC

Application

server 1

Application

server 2

Application

server 3

Node 1

Instance 1

Node 1 Node 1

Instance 2 Instance 3

RAC

Database

Page 7: Oracle RAC vs DB2 LUW pureScale

7

Clustering/Scalability: DB2 pureScale

GBP

Group Lock

Manager

Member 1

PRODDB1

Catalog DBCONFIG

Log

Catalog

Log

DBCONFIG PRODDB2

BPs

BPs

Member 2

PRODDB3

Catalog DBCONFIG

Log

Catalog

Log

DBCONFIG PRODDB4

BPs

BPs

DATA

Page 8: Oracle RAC vs DB2 LUW pureScale

8

DB2B

BSDS

Log

Workfile

DB

DB2A

BSDS

Log

Workfile

DB

DB2

Catalog

DATA

Member 1 Member 2

Clustering/Scalability: DB2 z/OS

Data Sharing SYSPLEX

GBP

BP

SCA

Lock

Structure

BP

Page 9: Oracle RAC vs DB2 LUW pureScale

9

Technology Overview - RAC

• Oracle„s High Availability Solution

• RAC is a “shared disk” clustered database • All instances share a common set of database files

• Many instances sharing a single physical database

• Many instances of Oracle running on many nodes

• Each instance in the cluster has it‟s own SGA and dedicated sessions • At any instant, a user session is connected to only one instance

• All instances having common data and control files

• Each instance has individual log files and undo segments

• All instances can simultaneously execute transactions against the single physical database

• The “global” cache is the combination of each local buffer cache; it

is maintained via a high-speed dedicated network called the cluster

interconnect

Page 10: Oracle RAC vs DB2 LUW pureScale

10

Technology Overview - RAC

Page 11: Oracle RAC vs DB2 LUW pureScale

11

Technology Overview - pureScale • Clients connect anywhere and see single database

• Clients connect into any member

• Automatic workload balancing and client reroute may change underlying physical member to which

client is connected

• DB2 engine runs on several host computers • Co-operate with each other to provide coherent access to the database from any member

• Integrated cluster services • Failure detection, recovery automation, cluster file system

• Tivoli SA MP, STG RSCT and GPFS

• Low latency, high speed interconnect • For example InfiniBand network

• PowerHA pureScale technology/Cluster caching facility (CF) • Efficient global locking and buffer management

• Synchronous duplexing to secondary ensures availability

• Data sharing architecture • Shared access to database

• Members write to their own logs on shared disk

• Logs accessible from another host (used during recovery)

Page 12: Oracle RAC vs DB2 LUW pureScale

12

Technology Overview - pureScale

Page 13: Oracle RAC vs DB2 LUW pureScale

13

Basic Components

RAC • Node

• Cache Fusion

• Global Cache

• LMON/Global Enqueue Service Monitor

• Fast Application Notification (FAN) and Transparent Application

Failover (TAF)

• Global Database

• Cluster Interconnect

• Grid Infrastructure

• Global Filesystem, Cluster File System, Automatic Storage

Management (ASM)

Page 14: Oracle RAC vs DB2 LUW pureScale

14

Basic Components

pureScale • Member

• Coupling Facility

• Group Bufferpool (GBP)

• Global Lock Management (GLM)

• Shared Communication Area (SCA)

• PowerHA pureScale Server

• Cluster Interconnect

• DB2 Cluster Services

• General Parallel File System (GPFS), Automatic Storage

Page 15: Oracle RAC vs DB2 LUW pureScale

15

Basic Components of DBMS

Oracle • Instance

• File

• Database

• Tablespace

• Schema

• Table

• Index

• View

• Trigger

• Rollback Segment

• Stored Procedures

• SQL Plus

• Packages

DB2 LUW • Instance

• Container

• Database

• Tablespace

• Schema

• Table

• Index

• View

• Trigger

• NA

• Stored Procedures

• DB2 CLP

• Modules

Page 16: Oracle RAC vs DB2 LUW pureScale

16

Different Terms - Similar Meaning

Oracle

• Data Guard

• Package

• Data Block

• Dictionary

• Alert Log

• Redo Log

• Archive log

• Segments

• Statement Cache

• System Global Area (SGA)

DB2 LUW

• HADR

• Module (9.7)

• Data Page

• Catalog

• Diag log

• Log Files

• Archival Logging

• Space Consuming Objects

• Package Cache

• Instance shared memory / DB

shared memory

Page 17: Oracle RAC vs DB2 LUW pureScale

17

Instance & Database

Oracle • Instance

• A collection of Processes

• One data dictionary

• one active database

• Init.ora parameter file

DB2

• Instance

• Logical database server

environment

• Also referred to as a Node

• 1 to many databases

• Database Manager

Configuration File

Page 18: Oracle RAC vs DB2 LUW pureScale

18

Instance

DB2

D

B

M

C

O

N

F

I

G

D

B

M

C

O

N

F

I

G

Instance_1

PRODDB1

Catalog DBCONFIG

Log

Catalog

Log

DBCONFIG PRODDB2

BP’s

BP’s

Instance_2

TESTDB1

Catalog DBCONFIG

Log

Catalog

Log

DBCONFIG TESTDB2

BP’s

BP’s

SID Oracle Database

Control

files

Data

files

Redo

log

files

Data

Dictionary

Page 19: Oracle RAC vs DB2 LUW pureScale

19

Product Options

• Express Edition • 1 CPU/1GB RAM

• 4 GB max DB size

• Windows/Linux only

• Standard Edition • 4 sockets

• Unlimited scalability

• RAC (but only with ASM)

• Enterprise Edition • Unlimited scalability

• Table Partitioning

• RAC

• Express-C • 2 CPU/2GB RAM

• Windows/Linux/Solaris/Mac

• Express Edition • 4 CPU/ 4GB RAM max

• Workgroup Edition • 4 CPUs/ 16 GB RAM

• Enterprise Server Edition • Unlimited scalability

• Data partitioning (DPF)

• pureScale

Oracle DB2

Page 20: Oracle RAC vs DB2 LUW pureScale

20

Basic Components

pureScale • Shared Disk Architecture

RAC • Shared Everything Architecture

Page 21: Oracle RAC vs DB2 LUW pureScale

21

Available

• Platform • Linux (also z/Linux!)

• Unix (Aix, HP UX, Solaris)

• Windows

• http://www.oracle.com/tech

network/database/clustering

/overview/index.html

• Please check: • Network

• Server

• Cluster

• Storage

• Platform • AIX

• Linux

• http://publib.boulder.ibm.com/inf

ocenter/db2luw/v9r8/index.jsp

• Please check: • Network

• Server

• Cluster

• Storage

Oracle RAC DB2 pureScale

Page 22: Oracle RAC vs DB2 LUW pureScale

22

Overview of Install steps of RAC

Page 23: Oracle RAC vs DB2 LUW pureScale

23

Install Steps of RAC

• Oracle Clusterware runinng by Cluster Ready Services (CRS)

• Oracle RAC installation

• Virtual Internet Protocol Configuration Assistant (VIPCA)

• Running the Oracle Net Configuration Assistant (netca)

• Database Configuration Assistant (DBCA)

Page 24: Oracle RAC vs DB2 LUW pureScale

24

Overview of Install steps of pureScale

Page 25: Oracle RAC vs DB2 LUW pureScale

25

Install Steps of pureScale • Installing DB2 ESE pureScale 9.8

• Setup Instance

• Set User Information (instance owner, fenced user)

• DB2 Cluster File System

• Host List

• Cluster Caching Facility

Page 26: Oracle RAC vs DB2 LUW pureScale

26

Administration and Monitoring of RAC

• Command line

• Oracle Enterprise Manager Grid Control

• 3rd party vendors

Page 27: Oracle RAC vs DB2 LUW pureScale

27

Administration and Monitoring of pureScale

• DB2 commands

• IBM Optim

• 3rd party vendors

Page 28: Oracle RAC vs DB2 LUW pureScale

28

Summary

Oracle or DB2 LUW or both:

• DB2 Compatibility Vector enable Oracle

Compatibility Features (db2set

DB2_COMPATIBILITY_VECTOR=ORA)

• With DB2 9.7 most Oracle data types are available

• PL/SQL is available also for DB2 LUW since 9.7

• Oracle RAC and DB2 pureScale

• Migration tools and support are available (MEET

DB2, Data Movement Tool, …)

Page 29: Oracle RAC vs DB2 LUW pureScale

29

Before you go for it: There are some Restrictions for pureScale

• InifiniBand network requirement

• Limited OS support (AIX, Linux)

• Only one database is allowed per instance

• No HADR support

• Several system table functions are not supported

• REORGCHK_TB_STATS

• REORGCHK_IX_STATS

• No support for data partitioned tables

Page 30: Oracle RAC vs DB2 LUW pureScale

30

Udo Brede Quest Software

[email protected]

Session

Oracle RAC vs DB2 LUW pureScale


Recommended