+ All Categories
Home > Documents > Oracle RAC vs DB2 LUW pureScale010BBE... · 2015-05-04 · • Data sharing architecture • Shared...

Oracle RAC vs DB2 LUW pureScale010BBE... · 2015-05-04 · • Data sharing architecture • Shared...

Date post: 26-Jun-2018
Category:
Upload: leanh
View: 229 times
Download: 0 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

1

22nd November 2011 • 10:30

Platform: DB2 LUW

Udo Brede

Quest Software

Session:

Oracle RAC vs DB2 LUW pureScale

2

Agenda

• Marketing Message

• Clustering/Scalability

• Technology Overview

• Basic Components

• Available

• Installation

• Administration and Monitoring

• Summary

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

4

Marketing Message RAC

5

Marketing Message 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

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

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

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

10

Technology Overview - RAC

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)

12

Technology Overview - 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)

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

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

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

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

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

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

20

Basic Components

pureScale • Shared Disk Architecture

RAC • Shared Everything Architecture

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

22

Overview of Install steps of RAC

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)

24

Overview of Install steps of 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

26

Administration and Monitoring of RAC

• Command line

• Oracle Enterprise Manager Grid Control

• 3rd party vendors

27

Administration and Monitoring of pureScale

• DB2 commands

• IBM Optim

• 3rd party vendors

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, …)

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

30

Udo Brede Quest Software

[email protected]

Session

Oracle RAC vs DB2 LUW pureScale


Recommended