Académique Documents
Professionnel Documents
Culture Documents
Application Layer
APPs Host
/ O.S.
data
Volumes
data Host STORAGE/IP
/ O.S. NETWORK
Array
Applications Host
Storage Networks
Layer / O.S. Layer
Storage
Layer
Efficiency
Effectiveness
Quality System Oriented
Timeliness Service Oriented
Productivity
Cost
Email
Very similar to OLTP
MS exchange known for its 60-40 read-write ratio
Distributed
Databases, On-line back-up
Warehousing
SQL via Services
JDBC or Data
ODBC Storage
Logic and
Reporting
B2B
Partner
Gateways,
Payment Network or Internet
RMI EDI, Web Services,
servers etc.
Messaging XML over HTTP etc,
CORBA
Supplier
Integration
Page-based organization
Storage organized into fixed size Pages (or disk blocks)
Memory buffers organized into similarly sized Page frames
Disk pages brought into memory, loaded into a page frame
Typical database page sizes: 2KB, 4KB, 8KB
Opportunity for
Reinvention
IP-Based Storage
Thousands of Servers
Thousands of Users Application Virtualization
NFS Authentication
CIFS Authentication Global File Management
ILM Tiered Storage Grids, Simulations, Database
Email, Web, Collaboration
Need High Performance
Need Single Namespace
2007 EMC Corporation. All rights reserved.
SAN & NAS Comparison
SAN NAS
A
C
LAN
DB Server Array
Volumes
A
Array
E
LAN
Volumes
DB Server
B
C
D
NAS Device
2007 EMC Corporation. All rights reserved.
SAN Database I/O Access
Client/App server
C LAN
DB Server
SAN
Array
B
Volumes
2007 EMC Corporation. All rights reserved.
Technology Decision for Database Application
Items to Consider:
Application Workload
Organizational issues
l
ca
Data
iti
Multi-protocol
Cr
Centers
n
io
Point in time copies FC-SAN
ss
$$$
Mi
3TB
Multi-vendor Storage
Performance IP-SAN
Departments
Ease of use
rta n
NAS
nt
po io
Im iss
1TB
Growth $$
M
NAS/DAS
Workgroups
User applications
Threads
Database
Volume manager
File system
Operating systems
Host devices
Device drivers
Multipathing
HBAs Ports
Zones
Response time LUN Masking
measured here Response time
Ports Host buses measured here
Directors/CPUs
Cache
Instance
Process or collection of processes that work on a set of data files to
store and retrieve information
Sequential operations
Database performs read-ahead for sequential I/O operations
Non-sequential access uses smaller I/Os (4K)
Mirror Data
Ensures high availability
Host Layer
APPs Host
/ O.S.
data
Volumes
data Host STORAGE/IP
/ O.S. NETWORK
Array
Volumes
Storage
Layer
Host & HBA
Layer
2007 EMC Corporation. All rights reserved.
Host File Systems
Present logical (abstract) view of files and
directories
Hide complexity of hardware devices
Application
Facilitate efficient use of Storage devices File System
optimize access, i.e., to disk Volume Manager
Support sharing Virtual Memory
Provide protection HBA/Driver
File system resides on a single logical disk or Storage Controller
partition
Cache
A partition can be viewed as a linear array of
blocks Back-end
block represents the granularity of space
allocation for files
a disk block is 512 bytes * some power of 2
physical block number identifies a block on a
given disk partition
physical block number can be translated into
physical location on a partition
hardware:
Any problems?
Alignment
64 KB write split into 48KB & 16KB
Disk 1 Disk 2
Limitations
Use of host CPU resources
Every active and passive path requires an initiator.
Active paths increase the time to failover in some cases.
Storage Layer
APPs Host
/ O.S.
data
Volumes
data Host STORAGE/IP
/ O.S. NETWORK
Array
Storage
Layer
If write cache is on, parity stripe optimization can happen for certain
combinations of element size, RAID group size and cache page size
RAID 5 can deliver the highest read bandwidth from a small number
of disks
All disks of the RAID group participate in reads
For RAID 3 and, RAID 5 larger raid groups deliver higher write
bandwidth
Less parity overhead per unit of host data
RAID 5 can deliver the highest read bandwidth from a small number
of disks
All disks of the RAID group participate in reads
For RAID 3 and, RAID 5 larger raid groups deliver higher write
bandwidth
Less parity overhead per unit of host data
RAID RAID
Group 10 Group 11 RAID
SP A SP B RAID
Group 10 Group 11
LUN sizing
RAID considerations
Other Considerations
Back-up/recovery
DR
Operation Schedules
2007 EMC Corporation. All rights reserved.
ESG Considerations - 1
RAID 5
Higher usable capacity per RAID group
Effective for environment with large mailbox sizes and low IOPS
4 physical I/O operations for each write requested
(BASE IOPS x READ %age) + (BASE IOPS x WRITE %age x RAID PENALTY) =
RAID-ADJUSTED BACK-END IOPS
Users / Drive
USER IOPS PER DRIVE/ IOPS PER USER
3+3 3+3
ESG 2
ESG 1
Meta LUN
Meta LUN