ASM - Oracle Software Downloads

Session id: 40140
Simplify your Job –
Automatic Storage Management
Angelo
Storage Management Gap
Avg. Managed Capacity per Administrator
In Database Sites with >100 GB Capacity
60
50
Disk
Capacity
40
30
Capacity
/DB Adm
20
10
Mgmt Gap
0
19
97
19
98
19
99
20
00
20
01
20
02
20
03
20
04
20
05
Capacity in
Terabytes
Strategic Research Corporation
DBA Storage Challenges
 Databases are rapidly growing in size
–
DBAs have to manage thousands of data files
 Decreasing windows of scheduled downtime
 Storage resources involve many organizations
–
–
–
–
Database Admin
Systems Admin
Storage Admin
Network Admin
 Management of database storage is increasing
in complexity and cost
Automatic Storage
Management (ASM)
Automatic Storage
Management
 Portable, high performance
cluster file system
 Data is spread across disks
to balance load
 Integrated mirroring across
disks
 Removes need for thirdparty volume manager and
file system
The Operational Stack
ASM
TODAY
Tables
Tables
Tablespace
Files
0010 0010 0010 0010 0010
0010 0010 0010 0010 0010
Tablespace
Files
File System
File System
Logical Vol
Logical Vol
Disks
Oracle
ASM
Disk Group
“The best way to lower mgmt costs is to remove complexity”
Data Mirroring with ASM
 ASM can mirror data
across storage arrays
 No additional logging or
expensive NVRAM to
recover mirrors
– Database logging
recovers mirrors
 Designed to tolerate
component failures
Disk Groups & Failure Groups
Controller 1
Controller 2
 Storage resources organized into
Disk Groups and Failure Groups
 A Disk Group is a collection of disks
managed as a logical unit in which ASM
files are stored
 Disk Groups assigned by DBAs
 A Failure Group is a set of disks sharing
a common resource whose failure
needs to be tolerated
–
Redundant copies of an extent are
stored in separate Failure Groups
 Failure Groups assigned by DBAs or
automatically by ASM
Failure Group 1 Failure Group 2
Disk Group
Traditional vs ASM - Setup
1. Determine required
storage capacity
2. Install Volume Manager,
File System
3. Architect data layout to
avoid hot spot
4. Create logical volumes
5. Create file systems
6. Install database
7. Create database
1. Determine required
storage capacity
2. Install ASM
3. Create Disk Groups
4. Install database
5. Create database
Traditional vs ASM – Add Disk
1. Add Disk to OS
2. Create volume(s) with
Volume Manager
3. Create File System over
volume
4. Figure out data to move to
new disk
5. Move data to new files
6. Rename files in database
7. Re-tune I/O
1. Add Disk to OS
2. Issue the Add Disk
command
Traditional vs ASM – Remove
Disk
1. List all data that is on disk
2. Choose existing
filesystem to hold data
from dropped disk
3. Move data to new files
4. Rename files in database
5. Remove disk from OS
6. Re-tune I/O
1. Issue drop disk command
2. Remove the disk from OS
when Oracle says it is
done
Traditional vs ASM – Migrate
Data
1. Add new disks to OS
2. Figure out new location
on other disks
3. Create volume(s) with
Volume Manager
4. Create new FS
5. Move data to new files
6. Rename files in database
7. Remove old disks from
OS
8. Re-tune I/O
1. Add new disks to OS
2. Issue Add disk command
for new disks
3. Issue Drop Disk command
for old disks
4. Remove old disks from
OS when Oracle says it is
done
Traditional vs ASM – Tune I/O
1. Daily monitor I/O
performance
2. Discover hot spots
3. Figure out how to remove
hot spots
4. Move data to new files
5. Rename files in database
6. Verify that hot spot is
gone
This space intentionally left
blank
Traditional vs ASM – Manage
Space
1. Daily monitor storage
utilization
2. Discover fragmentation
3. Figure out how to remove
fragmentation
4. Move data to new files
5. Rename files in database
6. Verify that fragmentation
is gone
This space intentionally left
blank
ASM Lowers Management Costs
8
7
7
8
6
6
6
7
Nbr Steps
6
5
5
4
4
3
2
2
2
1
0
0
Traditional
ASM
0
Install
Add Storage
Remove
Storage
Migrate
Storage
Tune I/O
Manage
Space
“Best way to save costs is to remove complexity”
ASM Enables Consolidated
Clustered Storage
ASM Instance
Non – RAC
Databases
Clustered
Servers
ASM – Clustered
Pool of Storage
Oracle
DB Instance
ASM Instance
Oracle
DB Instance
ASM Instance ASM Instance ASM Instance
Oracle
DB Instance
Oracle
DB Instance
Oracle
DB Instance
ASM Improves Performance
22,648
20,418
24000
20000
TpmC
16000
12000
8000
4000
0
ASM (24 Disks)
VxVM (24 Disks, 12 s)
ASM - Integrated with Key
Storage Hardware




ASM-Lib is an Open Interface extending ASM
Vendor library for disk discovery and I/O
Efficient I/O interface
Data description allows end-to-end validation
(HARD Initiative)
 Several participating storage vendors and
others are in the process of joining
ASM - Summary
New capability in Oracle 10g Database
 Provides a vertical integration of the file system
and volume manager for Oracle database files
 Spreads database files across all available
storage for optimal performance and resource
utilization
 Enables simple and non-intrusive resource
allocation and provides automatic rebalancing
ASM Benefits
Increases the productivity of the DBA
 Simplified management interface for storage resources
 Eliminates manual I/O performance tuning tasks
 Virtualizes the storage to a set of disk groups
 Provides mainframe class performance at lower cost
Next Steps….
 Automatic Storage Management Demo in
the Oracle DEMOgrounds
–
–
Pod 5DD
Pod 5QQ
 Technical Paper on ASM – The New Best
Practice (room 103 at 1:00 today)
–
–
Steve Adams – IXORA
Rich Long – Oracle
 Watch OTN for more details on ASM
Reminder –
please complete the OracleWorld
online session survey
Thank you.
QUESTIONS
ANSWERS