Академический Документы
Профессиональный Документы
Культура Документы
Option 1
IBM Solution
DR Center
DB replications
Site A
A
B1(idle)
site B
A1(idle)
A2 (idle)
B2 (idle)
Pros
Built-in DR engine without additional components
Simple architecture, no data consistency handling across sites
Cons
Required double storage spaces
Standby supports only read only or idle configuration
Data need to be partitioned for site A and site B
IBM Solution
Option 2
Geographically Dispersed Cluster (GDPC)
IBM Solution
Site 2
DR
(Active)
(Active)
(Passive)
M1, M2
M3, M4
M1, M2
M3, M4
Database
Replication
HADR
Pros
Database handles all data synchronization across site1, site2 and DR
Single database
Cons
Require dark fibre or 10GB Ethernet between site 1 and site 2
Require additional site ( site3 ) as judge to split brain
IBM Solution
BCOM
- Internet Payment System, Inter-banks payment systems
- Cross site cluster
Infiniband
Mbr
1
Mbr
3
N kms
CF
prim
site
tie-breaker
Ethernet
Log
CF
sec
3rd
Log
Mbr
2
Mbr
4
Fiber Channel
Log
Log
Database
IBM Solution
BTMU
- Retail Banking Application
- 1TB compressed database size
- 3 years production
2core
84GB Memory
2core
84GB Memory
12GB RAM
VRAID0
VRAID1
RSS1
RSS2
DB2 achieved
30% more transaction
than Oracle per min
On same hardware
7
LUN1-A
LUN1-A
LUN1-A
LUN1-A
LUN0
LUN0
LUN0
LUN0
LUN1-B
LUN1-B
LUN1-B
LUN1-B
LUN0
LUN0
LUN0
LUN0
IBM Solution
IBM Solution
Features
BLU
pureScale
Data Partitioning Feature
Optim Performance Manager Extended Edition
Optim Query Workload Tuner
Optim Configuration Manager
InfoSphere Optim pureQuery Runtime for LUW
Warehouse Model Packs
WHS SQW
WHS Mining & text Analytics
Cognos 10.2 5 Users
WHS Cubing Services
InfoSphere Data Architect Capabilities
solidDB & solidDB UC
IBM Mobile Database Sync
pureXML Storage
Time Travel Query
Compression
Row & Column Access Control
Label Based Access Control
SQL Replication
Federation Capabilities
Websphere MQ
High Availability Disaster Recovery
Tivoli System Automation
Multi-temperature Storage
Materialized Query Tables
Multi-Dimensional Clustering
Table Partitioning
Scan Sharing
DB2 Workload Management (WLM)
MQ Replication / CDC
Desription
In-memory columnar capabilities
Active-Active
Database partitioning
Performance monitoring
Workload monitoring
Configuration Admin
Query optimization
Data Warehouse Model
ETL tool
Data Minining
BI front end
BI Cube
Data Modeler
In memory database cache
Mobile database
XML database
Database auditing
Compression
Security
Security
Replication
DB Feberation cross database
Message Queue
Log shipping
Clustering software
Hot/Warm/Cold multi-tierdata storage
MQT
Storage clustering
Table Partition
Scan result sharing
Query workload priorization
CDC
IBM Solution
Virtualization Licensing
With SQL Server you have two options
1. License all virtual cores for a VM (min 4 core licenses) can end up licensing more
cores than exist on a machine
2. License all physical cores on a machine (Enterprise Edition only)
With DB2
Sub-Capacity Licensing allows for licensing of only the physical cores used by DB2
With Workgroup can run unlimited VMs of DB2 on up to 16 sockets
10
IBM Solution
HA pair
Small applications
Idle
HA pair
DR or remote site
requirement
IBM Solution
Data node
Data node
PPRC/Q-rep
Data node
Continous availbility
SAN
SAN
Data node
IBM Solution
IBM Solution
IBM Solution
Data
Admin
Software
Roll-Your-Own
Hardware
15
Data
Admin
No Guesswork
Smallest Risk
Guaranteed Uptime
No Tuning
Truly Agile
Appliance Simplicity
Data
Layer
Data
Warehouse
Database
Data Warehouse
as a Service
as a Service
Software
Hosted
IBM Solution
Performance
IBM Solution
10 times
performance
increase to 30,000
orders per second
IBM Solution
Benchmark Result
Goal : Achieve not less than 30k/sec with 100000000 records
Result from IBM : 97k/sec
IBM Solution
Table
Compression
No Comp
(MB)
Rows
Comp
(MB)
Ratio
(%)
tblOrder_cm
22,224,000
5,428
880
84
tblTlog1_cm
5,556,000
1,551
225
85
tblTlog2_cm
5,556,000
1,551
225
85
tblTlog3_cm
5,556,000
1,551
225
85
tblTlog4_cm
5,556,000
1,551
225
85
tblTlog5_cm
5,556,000
1,551
225
85
tblTlog6_cm
5,556,000
1,551
225
85
tblTlog7_cm
5,556,000
1,551
225
85
tblTlog8_cm
5,556,000
1,551
225
85
tblTrade_cm
11,112,000
2,413
510
79
Total
77,784,000
20,249
3,190
84
IBM Solution
Database Management
IBM Solution
Deep Compression
Adaptive Compression is an enhancement to the Classic Row Compression
Benefits
*60% storage space savings over Classic
Row Compression
TABLE
Reduce I/O
Static table
DB2 page
Faster queries
level
Dynamic page
level dictionary
DB2 page
Dynamic page
level dictionary
dictionary
DB2 page
Dynamic page
level dictionary
IBM Solution
SQL/XML
Relational
Interface
DB2 Client /
Client
Application
DB2 Storage:
Hybrid
Relational
DB2
Engine
XQuery
XML
Interface
XML
IBM Solution
DB2 Server
SQL PL
DB2
Compiler
PL/SQL
PL/SQL
Compiler
DB2 Engine
IBM Solution
Workload Management
Map statement to service class (Predictive)
SQL compiler predicts what data (and table spaces) will be touched by the SQL
statement and builds the list of data tags
List of data tag will define the initial service class placement
Tablespace
Hot
Superclass MAINSC
1,2,3
Default
Workload
Work
action set
4,5,6
7,8,
9
Subclass
SCHIGH
Subclass
SCMED
Tablespace
Warm
Subclass
SCLOW
Tablespace
Cold
IBM Solution
Partition
Automatic
Storage
Table
space
2012Q1
Table Space 14
Storage
Group
2011Q3
2011Q2
Table Space 13
Table Space 12Table Space 11
spath: /hot/fs1
New
2011Q4
SG_HOT
spath: /warm/fs1
spath: /warm/fs2
SG_WARM
spath: /cold/fs1
spath: /cold/fs2
spath: /cold/fs3
SG_COLD
Physical Disk
SSD RAID Array