68. You have a disk group, DGROUP1, with three disks and NORMAL redundancy. You execute the
following command to create a template for the disk group:
ALTER DISKGROUP dgroup1
ADD TEMPLATE my_temp
ATTRIBUTES (MIRROR FINE);
Which statement is true?
A.When a file is created in DGROUP1 with the template, it would have threeway
mirroring.
B.When a file is created in DGROUP1, the MY_TEMP template becomes the default template.
C.When a file is created in DGROUP1 with the template, it would have two-way mirroring and file striping.
D.When a file is created in DGROUP1 with the template, it would have three-way mirroring and file striping.
E.When a file is created in DGROUP1 with the template, it would have two-way mirroring but no file striping.
Answer: C
diskgroup_template_clauses
A template is a named collection of attributes. When you create a disk group, Automatic Storage Management associates a set of initial system default templates with that disk group. The attributes defined by the template are applied to all files in the disk group. The table that follows lists the system default templates and the attributes they apply to the various file types. The diskgroup_template_clauses
described following the table let you change the template attributes and create new templates.
You cannot use this clause to change the attributes of a disk group file after it has been created. Instead, you must use Recovery Manager (RMAN) to copy the file into a new file with the new attributes.
Table 10-2 Automatic Storage Management System Default File Group Templates
Template Name | File Type | External Redundancy | Normal Redundancy | High Redundancy | Striped |
---|---|---|---|---|---|
|
Control files |
Unprotected |
2-way mirror |
3-way mirror |
Fine |
|
Datafiles and copies |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Online logs |
Unprotected |
2-way mirror |
3-way mirror |
Fine |
|
Archive logs |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Tempfiles |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Datafile backup pieces, datafile incremental backup pieces, and archive log backup pieces |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
SPFILEs |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Disaster recovery configurations (used in standby databases) |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Flashback logs |
Unprotected |
2-way mirror |
3-way mirror |
Fine |
|
Block change tracking data (used during incremental backups) |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Data Pump dumpset |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Cross-platform converted datafile |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
|
Automatic backup files |
Unprotected |
2-way mirror |
3-way mirror |
Coarse |
ADD TEMPLATE Use this clause to add one or more named templates to a disk group. To determine the names of existing templates, query theV$ASM_TEMPLATE
dynamic performance view.
ALTER TEMPLATE Use this clause to modify the attributes of a system default or user-defined disk group template. Only the specified attributes are altered. Unspecified properties retain their current values.
template_name Specify the name of the template to be added or modified. Template names are subject to the same naming conventions and restrictions as database schema objects. Please refer to "Schema Object Naming Rules" for information on database object names.
Redundancy Level Specify the redundancy level of the newly added or modified template:
UNPROTECTED
: Files to which this template are applied are not protected by Automated Storage Management from media failures. Disks taken offline, either through system action or by user command, can cause loss of unprotected files. UNPROTECTED
is the only valid setting for external redundancy disk groups. UNPROTECTED
may not be specified for templates in high redundancy disk groups. Oracle discourages the use of unprotected files in high and normal redundancy disk groups.
MIRROR
:Files to which this template are applied are protected by mirroring their data blocks. In normal redundancy disk groups, each primary extent has one mirror extent (2-way mirroring). For high redundancy disk groups, each primary extent has two mirror extents (3-way mirroring). You cannot specify MIRROR
for templates in external redundancy disk groups.
Disk Striping Specify how the files to which this template are applied will be striped:
FINE
:Files to which this template are applied are striped every 128KB.
COARSE
: Files to which this template are applied are striped every 1MB.