Oracle Automatic Storage Management has proven to be one of the most widely adopted new features in Oracle Database 10g and it has been dramatically improved in the later 11g releases. This presentation will explain what changes are solved by ASM, how these challenges are solved, what barriers there are to ASM adoptions, and how 11g Release 2 addresses these barriers.
- Successful growing business for more than 10 years
- Served many customers with complex requirements/infrastructure just like yours.
- Operate globally for 24 x 7 “always awake” services
- simplifying
- could also partition
Huge management overhead
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
Advanced features
- rebalancing and online moves
- clones / snapshots / checkpoints
- storage replication
ASM is VM + CFS = specialized FS
minimal you get is RAW device performance with manageability of FS
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Introduce diskgroup
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Easy to...
Same happens when adding new disks - ASM re-distributes equally
Previous slide - no failure groups = each disk in its own failure group
What about recovery?
Rebalancing as result of failure - enough space + enough failure groups.
What about temporary failures?
Extended clusters - even worse!
Previous slide - no failure groups = each disk in its own failure group
What about recovery?
Rebalancing as result of failure - enough space + enough failure groups.
What about temporary failures?
Extended clusters - even worse!
Previous slide - no failure groups = each disk in its own failure group
What about recovery?
Rebalancing as result of failure - enough space + enough failure groups.
What about temporary failures?
Extended clusters - even worse!
Previous slide - no failure groups = each disk in its own failure group
What about recovery?
Rebalancing as result of failure - enough space + enough failure groups.
What about temporary failures?
Extended clusters - even worse!
Previous slide - no failure groups = each disk in its own failure group
What about recovery?
Rebalancing as result of failure - enough space + enough failure groups.
What about temporary failures?
Extended clusters - even worse!
ASM compat - metadata format. RDBMS compat - files content format.
11gR2 - COMPATIBLE.ADVM
Default 10.1 - no new features. Defined per disk group.
Case study - upgrade to 11g & downgrade, smooth upgrade path, transportable tablespaces.
select i.ksppinm, v.ksppstvl from x$ksppi i, x$ksppcv v where i.ksppinm in ('_rdbms_compatibility','_asm_compatibility') and i.indx=v.indx;
1. start rolling migration
2. upgrade all instances one by one
ASM provides limited services
3. stop rolling migration
AU - smallest chunk of space that Oracle can allocate; coarse stripe size
problem - inflexible physical layout + high overhead for VLDB
10g - underscore parameter - instance-wide + undocumented/unsupported
11g - official way to change AU size per diskgroup. AU 1-8 MB - compat 10.1 but 16-64 MB - compat 11.1.
Fine striping is not changed!
Fully automatic. Explain how it works.
Main purpose - reduce overhead on disk mount and file open for huge files, sga overhead for extent maps.
10g - disk failure -> BROKEN & rebalancing
11g FMR - disk failure -> OFFLINE -> wait for disk_repair_time (3.6h default) -> rebalancing if too log or ALTER DISKGROUP DISK ... ONLINE;
* can do manual ALTER DISKGROUP DISK ... OFFLINE;
FMR - case study SAN firmware update, FMR - case study extended clusters
FB - case study - rebalancing takes days and impacts performance but night can be offline
Case study - extended clusters - in addition to Fast Mirror Resync
Works on single node as well.
Size - 256M increments
Redundancy - unprotected
Stripe Columns - 1 to 8
Stripe Width - 4K - 1MB in powers of two
Primary/Secondary extents - hot/cold (Intelligent Data Placement)
Usage - comment text
ACFS - general purpose POSIX/X-OPEN standard FS
All ASM features are leveraged like mirroring and striping
new ASMCMD commands
- find and cp in R1
- disk/group/volume management in R2, instance stop/start and etc.