Oracle Automatic Storage Management (ASM)
Anil Nair
Product Manager – Oracle RAC, ASM, AC
@RACMasterPM
http://www.linkedin.com/in/anil-nair-01960b6
http://www.slideshare.net/AnilNair27/
The Simple Idea for addressing the complexity of storage management
ASM History 101
Copyright © 2024, Oracle and/or its affiliates
2
Provide an integrated
cluster volume
manager
Stripe and mirror files
across disks in ASM
Disk Groups
Automatic rebalances
after storage
configuration changes
Built on the reliable
Oracle instance
architecture
I/O operations DO
NOT go through the
ASM instance!
Manages storage as a
global cluster of
shared Disk Groups
ACFS extends the
ASM management for
non-database data
ASM along with ACFS
define the Oracle
Storage Stack
Oracle Stack versus Other Host-based Alternatives
Copyright © 2024, Oracle and/or its affiliates
3
ALL database files are striped and mirrored
automatically across all ASM Disks
Individual file mount points are created for each
database. Organizations may have hundreds or
even thousands of file systems and virtual
volumes to manage.
Host-based LVM/FS
ASM
Efficient Storage Management of Mission Critical Databases
Evolution of the Oracle Storage Stack
Copyright © 2024, Oracle and/or its affiliates
4
Data
Mobility
9i
Database
objects
bound to
physical
storage
10g
Automation
of storage
management
ASM
11.2
ASM
Storage
Management for
Engineered
Systems
12.1
Flex ASM
Grid Infrastructure:
Integration with
Clusterware
19c
Database Oriented Storage
Management
Data
Reliability
Management
Efficiency
Time
Before Oracle 12c
ASM History 101
Copyright © 2024, Oracle and/or its affiliates
5
1-1 ASM to DB Server
Shared Diskgroups
Wide file Striping
Oracle 12c Release 1
Eliminates the requirement for an ASM
instance on every server
‱ Database instances connect to any
ASM instance in the cluster
‱ Database instances can failover to a
secondary ASM instance
‱ Administrators specify the cardinality
of ASM instances (default is 3)
‱ Clusterware ensures ASM cardinality
is maintained
Flex ASM
Copyright © 2024, Oracle and/or its affiliates
6
12.1 Diskgroup Organization
‱ Diskgroups contain files striped across disks
and optionally mirrored.
‱ No distinction between individual databases.
‱ Easy to manage, but made consolidation
difficult.
Diskgroup-oriented Storage Management (12.1)
Copyright © 2024, Oracle and/or its affiliates
7
Diskgroup
DB3 : File 1
DB2 : File 2 DB1 : File 3
DB3 : File 3
DB2 : File 1
DB1 : File 1
DB1 : File 2
DB2 : File 3
DB3 : File 2
DB2 : File 4
Diskgroup
Flex Diskgroup organization (19c and higher)
‱ New Diskgroup type: Flex Diskgroups
‱ Flex Diskgroups provide File Groups
‱ A File Group is the collection of files belonging
to individual databases or PDBs
‱ A File Group’s name defaults to the database
or PDB name
Database-oriented Storage Management (19c)
Copyright © 2024, Oracle and/or its affiliates
8
File Group File Group
File 2
File 3
File 1
File 1
File 1
File 2
File 3
File 4
File 2
File 3
DB1 DB2 DB3
Diskgroup
Flex Diskgroup quota management
Flex Diskgroups enable
‱ Quota Management - limit the space
databases can allocate in a diskgroup and
thereby improve the customers’ ability to
consolidate databases into fewer DGs
‱ Redundancy Change – utilize lower
redundancy for less critical databases
‱ ASM Database Clones to easily and
dynamically create database clones
for test/dev or production databases
ASM File Group Flexibility and Availability
Copyright © 2024, Oracle and/or its affiliates
9
File 2
File 3
File 1
File 1
File 1
File 2
File 3
File 4
File 2
File 3
DB1 DB2 DB3
Quota Group A Quota Group B
File 1
File 2
File 3
DB3
Clone
Extreme Availability
‱ Previously, Extended RAC supported
two Failure Groups
Oracle RAC on Extended Clusters
Copyright © 2024, Oracle and/or its affiliates
10
Extreme Availability
‱ Previously, Extended RAC supported
two Failure Groups
‱ New Diskgroup type:
Extended Diskgroup
‱ Multiple FGs per site
‱ Support for 3 Sites
‱ Survive loss of Failure Group
‱ Survive loss of site
‱ Supports Exadata
‱ Built on Flex ASM
‱ Flex Diskgroups
‱ Supported by Oracle installer
Oracle RAC on Extended Clusters
Copyright © 2024, Oracle and/or its affiliates
11
Key Benefits of Oracle ASM
Copyright © 2024, Oracle and/or its affiliates
12
Oracle ASM greatly simplified Oracle Database Storage Management.
Implements Stripe and Mirror Everything (SAME).
Available on all platforms including Engineered Systems.
New Database-oriented Storage Management for efficient management,
data reliability and mobility.
Scrubbing capabilities by diskgroup, file or Extent.

asm-presentation-19c-presentation-doc.pdf

  • 1.
    Oracle Automatic StorageManagement (ASM) Anil Nair Product Manager – Oracle RAC, ASM, AC @RACMasterPM http://www.linkedin.com/in/anil-nair-01960b6 http://www.slideshare.net/AnilNair27/
  • 2.
    The Simple Ideafor addressing the complexity of storage management ASM History 101 Copyright © 2024, Oracle and/or its affiliates 2 Provide an integrated cluster volume manager Stripe and mirror files across disks in ASM Disk Groups Automatic rebalances after storage configuration changes Built on the reliable Oracle instance architecture I/O operations DO NOT go through the ASM instance! Manages storage as a global cluster of shared Disk Groups ACFS extends the ASM management for non-database data ASM along with ACFS define the Oracle Storage Stack
  • 3.
    Oracle Stack versusOther Host-based Alternatives Copyright © 2024, Oracle and/or its affiliates 3 ALL database files are striped and mirrored automatically across all ASM Disks Individual file mount points are created for each database. Organizations may have hundreds or even thousands of file systems and virtual volumes to manage. Host-based LVM/FS ASM
  • 4.
    Efficient Storage Managementof Mission Critical Databases Evolution of the Oracle Storage Stack Copyright © 2024, Oracle and/or its affiliates 4 Data Mobility 9i Database objects bound to physical storage 10g Automation of storage management ASM 11.2 ASM Storage Management for Engineered Systems 12.1 Flex ASM Grid Infrastructure: Integration with Clusterware 19c Database Oriented Storage Management Data Reliability Management Efficiency Time
  • 5.
    Before Oracle 12c ASMHistory 101 Copyright © 2024, Oracle and/or its affiliates 5 1-1 ASM to DB Server Shared Diskgroups Wide file Striping
  • 6.
    Oracle 12c Release1 Eliminates the requirement for an ASM instance on every server ‱ Database instances connect to any ASM instance in the cluster ‱ Database instances can failover to a secondary ASM instance ‱ Administrators specify the cardinality of ASM instances (default is 3) ‱ Clusterware ensures ASM cardinality is maintained Flex ASM Copyright © 2024, Oracle and/or its affiliates 6
  • 7.
    12.1 Diskgroup Organization ‱Diskgroups contain files striped across disks and optionally mirrored. ‱ No distinction between individual databases. ‱ Easy to manage, but made consolidation difficult. Diskgroup-oriented Storage Management (12.1) Copyright © 2024, Oracle and/or its affiliates 7 Diskgroup DB3 : File 1 DB2 : File 2 DB1 : File 3 DB3 : File 3 DB2 : File 1 DB1 : File 1 DB1 : File 2 DB2 : File 3 DB3 : File 2 DB2 : File 4
  • 8.
    Diskgroup Flex Diskgroup organization(19c and higher) ‱ New Diskgroup type: Flex Diskgroups ‱ Flex Diskgroups provide File Groups ‱ A File Group is the collection of files belonging to individual databases or PDBs ‱ A File Group’s name defaults to the database or PDB name Database-oriented Storage Management (19c) Copyright © 2024, Oracle and/or its affiliates 8 File Group File Group File 2 File 3 File 1 File 1 File 1 File 2 File 3 File 4 File 2 File 3 DB1 DB2 DB3
  • 9.
    Diskgroup Flex Diskgroup quotamanagement Flex Diskgroups enable ‱ Quota Management - limit the space databases can allocate in a diskgroup and thereby improve the customers’ ability to consolidate databases into fewer DGs ‱ Redundancy Change – utilize lower redundancy for less critical databases ‱ ASM Database Clones to easily and dynamically create database clones for test/dev or production databases ASM File Group Flexibility and Availability Copyright © 2024, Oracle and/or its affiliates 9 File 2 File 3 File 1 File 1 File 1 File 2 File 3 File 4 File 2 File 3 DB1 DB2 DB3 Quota Group A Quota Group B File 1 File 2 File 3 DB3 Clone
  • 10.
    Extreme Availability ‱ Previously,Extended RAC supported two Failure Groups Oracle RAC on Extended Clusters Copyright © 2024, Oracle and/or its affiliates 10
  • 11.
    Extreme Availability ‱ Previously,Extended RAC supported two Failure Groups ‱ New Diskgroup type: Extended Diskgroup ‱ Multiple FGs per site ‱ Support for 3 Sites ‱ Survive loss of Failure Group ‱ Survive loss of site ‱ Supports Exadata ‱ Built on Flex ASM ‱ Flex Diskgroups ‱ Supported by Oracle installer Oracle RAC on Extended Clusters Copyright © 2024, Oracle and/or its affiliates 11
  • 12.
    Key Benefits ofOracle ASM Copyright © 2024, Oracle and/or its affiliates 12 Oracle ASM greatly simplified Oracle Database Storage Management. Implements Stripe and Mirror Everything (SAME). Available on all platforms including Engineered Systems. New Database-oriented Storage Management for efficient management, data reliability and mobility. Scrubbing capabilities by diskgroup, file or Extent.