This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Can My Disks In A Diskgroup Can Be Varied Size? For Example One Disk Is Of 100gb And Another Disk Is Of 50gb. If So How Does Asm Manage The Extents? |
|
Answer» Yes, disk sizes can be varied, ORACLE ASM will manage DATA efficiently and intelligent by placing the extents PROPORTIONAL to the SIZE of the disk in the disk GROUP, bigger diskgroups have more extents than lesser ones. Yes, disk sizes can be varied, Oracle ASM will manage data efficiently and intelligent by placing the extents proportional to the size of the disk in the disk group, bigger diskgroups have more extents than lesser ones. |
|
| 2. |
What Is A Diskgroup? |
|
Answer» A disk group consists of multiple disks and is the fundamental object that ASM manages. Each disk group contains the metadata that is REQUIRED for the management of space in the disk group. The ASM instance manages the metadata about the files in a Disk Group in the same way that a file system manages metadata about its files. However, the VAST majority of I/O operations do not pass through the ASM instance. In a MOMENT we will LOOK at how file I/O works with respect to the ASM instance. A disk group consists of multiple disks and is the fundamental object that ASM manages. Each disk group contains the metadata that is required for the management of space in the disk group. The ASM instance manages the metadata about the files in a Disk Group in the same way that a file system manages metadata about its files. However, the vast majority of I/O operations do not pass through the ASM instance. In a moment we will look at how file I/O works with respect to the ASM instance. |
|
| 3. |
How Many Asm Disk Groups Can Be Created Under One Asm Instance? |
|
Answer» ASM imposed the FOLLOWING LIMITS:
ASM file size limits (database limit is 128 TB):
ASM imposed the following limits: ASM file size limits (database limit is 128 TB): |
|
| 4. |
What Is Asm Striping? |
Answer»
The data extent size is:
ASM stripes files using extents with a coarse method for load balancing or a fine method to reduce latency.
The data extent size is: ASM stripes files using extents with a coarse method for load balancing or a fine method to reduce latency. |
|
| 5. |
List Key Benefits Of Asm? |
Answer»
|
|
| 6. |
What Are The File Types That Asm Support And Keep In Disk Groups? |
|
Answer» Control files: Data files:
Temporary data files:
Online redo logs:
ARCHIVE logs:
Control files: Data files: Temporary data files: Online redo logs: Archive logs: |
|
| 7. |
Is Asm Constantly Rebalancing To Manage “hot Spots”? |
|
Answer» No, ASM PROVIDES even distribution of extents ACROSS all disks in a disk group. Since each disk will EQUAL number of extents, no single disk will be hotter than another. Thus the answer NO, ASM does not dynamically move hot SPOTS, because hot spots simply do not occur in ASM configurations. Rebalance only occurs on storage configuration changes (e.g. add, DROP, or resize disks). No, ASM provides even distribution of extents across all disks in a disk group. Since each disk will equal number of extents, no single disk will be hotter than another. Thus the answer NO, ASM does not dynamically move hot spots, because hot spots simply do not occur in ASM configurations. Rebalance only occurs on storage configuration changes (e.g. add, drop, or resize disks). |
|
| 8. |
How Does Asm Work With Multipathing Software? |
|
Answer» It WORKS GREAT! Multipathing software is at a layer lower than ASM, and THUS is transparent. You may need to ADJUST ASM_DISKSTRING to specify only the path to the multipathing PSEUDO devices. It works great! Multipathing software is at a layer lower than ASM, and thus is transparent. You may need to adjust ASM_DISKSTRING to specify only the path to the multipathing pseudo devices. |
|
| 9. |
Is It Possible To Unplug An Asm Disk Group From One Platform And Plug Into A Server On Another Platform (for Example, From Solaris To Linux)? |
|
Answer» No. Cross-platform DISK group migration not SUPPORTED. To move datafiles between endian-ness PLATFORMS, you NEED to USE XTTS, Datapump or Streams. No. Cross-platform disk group migration not supported. To move datafiles between endian-ness platforms, you need to use XTTS, Datapump or Streams. |
|
| 10. |
We Are Migrating To A New Storage Array. How Do I Move My Asm Database From Storage A To Storage B? |
|
Answer» Given that the NEW and old storage are both visible to ASM, simply ADD the new disks to the ASM disk group and drop the old disks. ASM rebalance will migrate data online. NOTE 428681.1 COVERS how to move OCR/Voting disks to the new storage array Given that the new and old storage are both visible to ASM, simply add the new disks to the ASM disk group and drop the old disks. ASM rebalance will migrate data online. Note 428681.1 covers how to move OCR/Voting disks to the new storage array |
|
| 11. |
I’m Going To Do Add Disks To My Asm Diskgroup, How Long Will This Rebalance Take? |
|
Answer» REBALANCE TIME is heavily DRIVEN by the THREE items
Rebalance time is heavily driven by the three items |
|
| 12. |
When Should I Use Rman And When Should I Use Asmcmd Copy? |
|
Answer» RMAN is the recommended and most COMPLETE and flexible method to backup and transport database files in ASM. ASMCMD copy is good for copying SINGLE files:
RMAN is the recommended and most complete and flexible method to backup and transport database files in ASM. ASMCMD copy is good for copying single files: |
|
| 13. |
How Do I Backup My Asm Instance? |
|
Answer» Not APPLICABLE! ASM has no files to BACKUP, as its does not contain CONTROLFILE,redo LOGS etc. Not applicable! ASM has no files to backup, as its does not contain controlfile,redo logs etc. |
|
| 14. |
Where Do I Run My Database Listener From; I.e., Asm Home Or Db Home? |
|
Answer» It is recommended to RUN the LISTENER from the ASM HOME. This is particularly important for RAC ENV, since the listener is a node-level resource. In this config, you can create additional [user] listeners from the DATABASE homes as needed. It is recommended to run the listener from the ASM HOME. This is particularly important for RAC env, since the listener is a node-level resource. In this config, you can create additional [user] listeners from the database homes as needed. |
|
| 15. |
Can My Rdbms And Asm Instances Run Different Versions? |
|
Answer» YES. ASM can be at a HIGHER version or at lower version than its client databases. There’s two
Diskgroup compatibility ATTRIBUTES:
Yes. ASM can be at a higher version or at lower version than its client databases. There’s two Diskgroup compatibility attributes: |
|
| 16. |
In 11g Rac We Want To Separate Asm Admins From Dbas And Create Different Users And Groups. How Do We Set This Up? |
|
Answer» For clarification:
For clarification: |
|
| 17. |
What Is The Best Lun Size For Asm? |
|
Answer» There is no best size! In most CASES the storage team will dictate to you based on their standardized LUN size. The ASM ADMINISTRATOR merely has to communicate. the ASM Best Practices and application characteristics to storage folks :
Using this info , and their standards, the storage folks should build a nice LUN group set for you. There is no best size! In most cases the storage team will dictate to you based on their standardized LUN size. The ASM administrator merely has to communicate. the ASM Best Practices and application characteristics to storage folks : Using this info , and their standards, the storage folks should build a nice LUN group set for you. |
|
| 18. |
Would It Be Better To Use Bigfile Tablespaces, Or Standard Tablespaces For Asm? |
|
Answer» The use of Bigfile tablespaces has no bearing on ASM (or vice VERSA). In FACT most database object related DECISIONS are transparent to ASM. The use of Bigfile tablespaces has no bearing on ASM (or vice versa). In fact most database object related decisions are transparent to ASM. |
|
| 19. |
We Have A New App And Don’t Know Our Access Pattern, But Assuming Mostly Sequential Access, What Size Would Be A Good Au Fit? |
|
Answer» For 11G ASM/RDBMS it is recommended to USE 4MB ASM AU for disk GROUPS. See Metalink NOTE 810484.1 For 11g ASM/RDBMS it is recommended to use 4MB ASM AU for disk groups. See Metalink Note 810484.1 |
|
| 20. |
We Have A 16 Tb Database. I’m Curious About The Number Of Disk Groups We Should Use; E.g. 1 Large Disk Group, A Couple Of Disk Groups, Or Otherwise? |
|
Answer» For VLDBs you will probably end up with different storage TIERS; e.g with some of our LARGE customers they have Tier1 (RAID10 FC), Tier2 (RAID5 FC), Tier3 (SATA), etc. Each ONE of these is mapped to a diskgroup. For VLDBs you will probably end up with different storage tiers; e.g with some of our large customers they have Tier1 (RAID10 FC), Tier2 (RAID5 FC), Tier3 (SATA), etc. Each one of these is mapped to a diskgroup. |
|
| 21. |
Why Oracle Recommends Two Disk Groups? |
|
Answer» Oracle recommends TWO disk GROUPS to PROVIDE a balance of MANAGEABILITY, UTILIZATION, and performance. Oracle recommends two disk groups to provide a balance of manageability, utilization, and performance. |
|
| 22. |
Do I Need To Define The Rdbms Filesystemio_options Parameter When I Use Asm? |
|
Answer» No. The RDBMS does I/O DIRECTLY to the raw DISK devices, the FILESYSTEMIO_OPTIONS PARAMETER is only for filesystems. No. The RDBMS does I/O directly to the raw disk devices, the FILESYSTEMIO_OPTIONS parameter is only for filesystems. |
|
| 23. |
How Does The Database Interact With The Asm Instance And How Do I Make Asm Go Faster? |
|
Answer» ASM is not in the I/O PATH so ASM does not impede the database file access. Since the RDBMS instance is performing RAW I/O, the I/O is as fast as possible. ASM is not in the I/O path so ASM does not impede the database file access. Since the RDBMS instance is performing raw I/O, the I/O is as fast as possible. |
|
| 24. |
What Init.ora Parameters Does A User Need To Configure For Asm Instances? |
|
Answer» The default parameter settings work perfectly for ASM. The only parameters NEEDED for 11G ASM:
The default parameter settings work perfectly for ASM. The only parameters needed for 11g ASM: |
|
| 25. |
How Does Database Connects To Asm Instance? |
|
Answer» The database communicates with ASM instance using the ASMB (umblicus process) process. Once the database obtains the necessary EXTENTS from extent MAP, all database IO going forward is processed through by the database processes, bypassing ASM. Thus we SAY ASM is not really in the IO PATH. The database communicates with ASM instance using the ASMB (umblicus process) process. Once the database obtains the necessary extents from extent map, all database IO going forward is processed through by the database processes, bypassing ASM. Thus we say ASM is not really in the IO path. |
|
| 26. |
Describe About Asm Architecture.? |
|
Answer» Automatic STORAGE Management (ASM) instance. Instance that MANAGES the diskgroup metadata Disk Groups:
ASM Disks:
ASM Files: Files that are stored in ASM disk groups are called ASM files, this includes database files
Automatic Storage Management (ASM) instance. Instance that manages the diskgroup metadata Disk Groups: ASM Disks: ASM Files: Files that are stored in ASM disk groups are called ASM files, this includes database files Notes: |
|
| 27. |
What Are The Key Benefits Of Asm? |
|
Answer» ASM provides filesystem and VOLUME manager capabilities built into the Oracle database kernel. Withthis capability, ASM simplifies storage management tasks, such as creating/laying out databases and disk space management. Since ASM allows disk management to be done using familiar create/alter/drop SQL statements, DBAs do not need to learn a new skill set or make crucial decisions on provisioning. The following are some key benefits of ASM:
ASM provides filesystem and volume manager capabilities built into the Oracle database kernel. Withthis capability, ASM simplifies storage management tasks, such as creating/laying out databases and disk space management. Since ASM allows disk management to be done using familiar create/alter/drop SQL statements, DBAs do not need to learn a new skill set or make crucial decisions on provisioning. The following are some key benefits of ASM: |
|
| 28. |
What Is Asm? |
|
Answer» In Oracle Database 10g/11g there are two types of instances: database and ASM instances. The ASM instance, which is generally named +ASM, is started with the INSTANCE_TYPE=ASM init.ora parameter. This parameter, when SET, signals the Oracle initialization routine to start an ASM instance and not a standard database instance. Unlike the standard database instance, the ASM instance contains no physical files; such as logfiles, controlfiles or datafiles, and only requires a few init.ora parameters for startup. Upon startup, an ASM instance will spawn all the basic background processes, plus some NEW ones that are specific to the operation of ASM. The STARTUP clauses for ASM instances are similar to those for database instances. For example, RESTRICT prevents database instances from connecting to this ASM instance. NOMOUNT starts up an ASM instance without mounting any disk group. MOUNT option simply MOUNTS all DEFINED diskgroups For RAC configurations, the ASM SID is +ASMx instance, where X represents the instance number. In Oracle Database 10g/11g there are two types of instances: database and ASM instances. The ASM instance, which is generally named +ASM, is started with the INSTANCE_TYPE=ASM init.ora parameter. This parameter, when set, signals the Oracle initialization routine to start an ASM instance and not a standard database instance. Unlike the standard database instance, the ASM instance contains no physical files; such as logfiles, controlfiles or datafiles, and only requires a few init.ora parameters for startup. Upon startup, an ASM instance will spawn all the basic background processes, plus some new ones that are specific to the operation of ASM. The STARTUP clauses for ASM instances are similar to those for database instances. For example, RESTRICT prevents database instances from connecting to this ASM instance. NOMOUNT starts up an ASM instance without mounting any disk group. MOUNT option simply mounts all defined diskgroups For RAC configurations, the ASM SID is +ASMx instance, where x represents the instance number. |
|