Oracle Database - ASM (Automatic Storage Management)

> Database > Oracle Database

1 - About

Starting with Oracle Database 10g ( or later), Automatic Storage Management is a high-performance storage management solution. For Oracle Database files, it simplifies the management of a dynamic database environment, such as creating and laying out databases and managing disk space.

Automatic Storage Management can support multiple databases then it manages the storage of all database files, such as:

Automatic Storage Management can manage the Oracle Database executable binary files as well as any other non-database file by creating a file system with Oracle Automatic Storage Management Cluster File System. Though Oracle Automatic Storage Management Cluster File System is cluster aware it works as a file system on a single instance database also.

At a high level, implementing Automatic Storage Management involves allocating partitioned disks for Oracle Database with preferences for striping and mirroring.


3 - Striping and Mirroring

ASM will stripe across all devices you present to it in the context of a disk group. Most importantly, if and when you expand your configuration, ASM will automatically re-balance (re-stripe) the data across all devices, so that you will always benefit from all storage devices in your configuration, without running into hot spots in the storage configuration. ASM implements Oracle's S.A.M.E. methodology (Stripe And Mirror Everything using a stripe size of 1 MB) and automatically maintains it as devices are added or removed. ASM can also be used to mirror data or it can be used with hardware RAID configurations.

4 - Benefits

Automatic Storage Management manages the disk space for you. This helps avoid the need for traditional disk management tools, such as:

and the numerous commands necessary to manage both.

The synchronization between Automatic Storage Management and the database instance is handled by CSS.

5 - Installation

Automatic Storage Management can be used with single database installations, multiple database installations, and in Oracle RAC environments. It can be used with databases created in Oracle Database 10g Release 1 ( or later).

However, Oracle Database 11g Release 2 (11.2) databases must use Automatic Storage Management from Oracle Database 11g Release 2 (11.2) or later. Automatic Storage Management is installed as part of the grid infrastructure installation. If you plan to use Automatic Storage Management, then you must install the grid infrastructure before installing your database.

Oracle recommends that you have the Automatic Storage Management instance in its own Oracle home. Oracle also recommends that you run this instance before you start a database instance that uses Automatic Storage Management.

For an Oracle Database installation, you only need one Automatic Storage Management instance, regardless of the number of database instances on the computer.

6 - Component

The following are components of an Automatic Storage Management installation:

The Automatic Storage Management instance is a special Oracle instance that manages Automatic Storage Management disk groups. The Automatic Storage Management instance and the ASMSNMP account are created and started, if necessary, when you install Oracle grid infrastructure. Oracle Enterprise Manager uses this account to monitor ASM instances to retrieve data from ASM-related data dictionary views. The ASMSNMP account status is set to OPEN upon creation, and it is granted the SYSDBA privilege.


7 - Documentation / Reference

db/oracle/asm.txt · Last modified: 2018/12/07 16:00 by gerardnico