Oracle ASM Interview Questions (Basic to Advanced)
1. What is Oracle ASM?
Oracle ASM (Automatic Storage Management) is Oracle's integrated volume manager and file
system for managing database files. It simplifies database storage by managing disks in disk
groups.
2. What are ASM disk groups?
Disk groups are logical containers for ASM-managed disks. ASM stripes and mirrors files across
disks in the disk group according to redundancy settings.
3. What types of redundancy does ASM support?
- External Redundancy: No ASM mirroring.
- Normal Redundancy: Two-way mirroring.
- High Redundancy: Three-way mirroring.
4. What is an ASM instance?
An ASM instance is a special Oracle instance that manages ASM disk groups. It uses background
processes like RBAL and ARBn to manage disk storage.
5. What is striping in ASM?
Striping is the distribution of file data evenly across all disks in a disk group to enhance
performance. ASM supports fine and coarse striping.
6. How does ASM rebalance work?
ASM rebalances data when a disk is added or dropped from a disk group. It redistributes data to
maintain balance and optimize performance.
7. What is ASM Power Limit?
Power limit determines the speed of a rebalance operation. Higher values mean faster rebalancing
but higher resource consumption.
8. What is the use of ASMLIB?
ASMLIB is a support library for ASM that simplifies disk discovery and provides persistent device
names.
9. How do you add a new disk to a disk group?
Use SQL: ALTER DISKGROUP <name> ADD DISK '<disk_path>';
10. Can ASM be used for non-database files?
Yes, with Oracle ACFS (ASM Cluster File System), non-database files can be stored.
11. What are Failgroups in ASM?
Failgroups define how ASM mirrors data across disks to avoid data loss in case of hardware failure.
Disks in the same failgroup are considered to fail together.
12. How do you monitor ASM performance?
Use V$ASM views like V$ASM_DISKGROUP, V$ASM_DISK, V$ASM_CLIENT, and
V$ASM_OPERATION.
13. What is the role of RBAL and ARBn processes?
RBAL opens all devices and coordinates rebalancing. ARBn (ASM Rebalance) performs the actual
rebalancing of data across disks.
14. Can ASM be used in Oracle RAC?
Yes, ASM is the preferred storage management solution in Oracle RAC environments as it provides
shared access to disk groups.
15. What is a Rolling Upgrade in ASM?
Rolling upgrades allow patching or upgrading ASM without shutting down the database instances,
ensuring continuous availability.