90 likes | 114 Views
ASM Database Clones New to ASM for Oracle Database 18c. Jim Williams ASM Product Manager February, 2018. Simple Idea to Address Storage Management Complexity. Provide an integrated cluster volume m anager and file s ystem Stripe and mirror files across disks in ASM Disk Groups
E N D
ASM Database ClonesNew to ASM for Oracle Database 18c Jim Williams ASM Product Manager February, 2018
Simple Idea to Address Storage Management Complexity Provide an integrated cluster volume manager and file system Stripe and mirror files across disks in ASM Disk Groups Automatic rebalance after storage configuration changes Build on the Oracle instance architecture I/O operations DO NOT go through the ASM instance! Manage storage as a global cluster of shared Disk Groups
Diskgroup Oriented Storage Management before 12.2 Pre-12.2 Diskgroup Organization • Disk Groups contain files striped across disks and optionally mirrored • No distinction between individual databases • Easy to manage, but made database oriented management impossible Diskgroup DB1 : File 1 DB3 : File 3 DB2 : File 1 DB3 : File 1 DB1 : File 3 DB2 : File 2 DB2 : File 3 DB3 : File 2 DB2 : File 4 DB1 : File 2
12.2 Introduced Database Oriented Storage Management 12.2 Flex Diskgroup Organization File Group Flex Diskgroup File Group • New Disk Group type: Flex Disk Groups • Flex Disk Groups 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 DB2 DB3 DB1 File 1 File 1 File 1 File 2 File 2 File 2 File 3 File 3 File 3 File 4
ASM File Group Flexibility and Availability • Flex Disk Groups enable • Quota Management - limit the space databases can allocate in a Disk Group and thereby improve the customers’ ability to consolidate databases into fewer Disk Groups • Redundancy Change – utilize lower redundancy for less critical databases • ASM Database Clones to easily and dynamically create database clones for test and development, or production databases
Steps to Creating ASM Clone • Set compatibility to 18 (ASM instance) • alter diskgroup data set attribute 'compatible.asm' = '18.0'; • alter diskgroup data set attribute 'compatible.rdbms' = '18.0'; • Prepare database clone (database instance) • alter pluggable database pdb prepare mirror copy pdbcopy; • Split PDB clone into independent PDB (database instance) • create pluggable database pdb1 from pdb using mirror copy pdbcopy; • Show new File Groups (ASM instance) • asmcmdlsfg • Optionally change Quota Group of Clone (ASM instance) • asmcmdmkqg -G data testqg quota 200g • asmcmdmvfg -G data --filegrouppdbcopytestqg Confidential – Oracle Internal/Restricted/Highly Restricted
ASM Administration Guide https://docs.oracle.com/database/122/OSTMG/OSTMG.pdf