InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How Do You Enable The Autobackup For The Controlfile Using Rman? |
|
Answer» issue command at RMAN prompt….. RMAN> configure CONTROLFILE autobackup on; also we can configure controlfile BACKUP FORMAT…… RMAN> configure controlfile autobackup format for device TYPE disk to ‘$HOME/BACKUP/RMAN/ F.bkp’; — $HOME/BACKUP/RMAN/ this can be any desired location. issue command at rman prompt….. RMAN> configure controlfile autobackup on; also we can configure controlfile backup format…… RMAN> configure controlfile autobackup format for device type disk to ‘$HOME/BACKUP/RMAN/ F.bkp’; — $HOME/BACKUP/RMAN/ this can be any desired location. |
|
| 2. |
What Is The Difference Between Cumulative Incremental And Differential Incremental Backups? |
|
Answer» DIFFERENTIAL BACKUP: This is the default type of INCREMENTAL backup which BACKS up all blocks changed after the most RECENT backup at level n or lower. Cumulative backup: Backup all blocks changed after the most recent backup at level n-1 or lower. Differential backup: This is the default type of incremental backup which backs up all blocks changed after the most recent backup at level n or lower. Cumulative backup: Backup all blocks changed after the most recent backup at level n-1 or lower. |
|
| 3. |
How Rman Improves Backup Time? |
|
Answer» RMAN backup time CONSUMPTION is very less than COMPARED to regular online backup as RMAN COPIES only MODIFIED BLOCKS. RMAN backup time consumption is very less than compared to regular online backup as RMAN copies only modified blocks. |
|
| 4. |
How Do You Monitor Rman Backup Job Status? |
|
Answer» Use this SQL to CHECK SQL> SELECT sid totalwork sofar FROM V$session_longops WHERE sid 153; Here give SID when back START it will show SID Use this SQL to check SQL> SELECT sid totalwork sofar FROM v$session_longops WHERE sid 153; Here give SID when back start it will show SID |
|
| 5. |
How Do You See Information About Backups In Rman? |
|
Answer» RMAN> List Backup; |
|
| 6. |
What Is The Diff Between Catalog And Nocatalog? |
|
Answer» The DIFFERENCE is only who maintains the backup RECORDS like when is the last successful backup incremental differential etc.
The difference is only who maintains the backup records like when is the last successful backup incremental differential etc. |
|
| 7. |
Where Rman Keeps Information Of Backups If You Are Using Rman Without Catalog? |
|
Answer» RMAN KEEPS INFORMATION of backups in the CONTROL file. RMAN keeps information of backups in the control file. |
|
| 8. |
You Have Taken A Manual Backup Of A Datafile Using O/s. How Rman Will Know About It? Or How To Put Manual/user-managed Backup In Rman (recovery Catalog)? |
|
Answer» By using catalog COMMAND.You have to catalog that manual backup in RMAN’s repository by command By using catalog command.You have to catalog that manual backup in RMAN’s repository by command |
|
| 9. |
If Some Of The Blocks Are Corrupted Due To System Crash, How Will You Recover? |
|
Answer» USING RMAN BLOCK RECOVER COMMAND Using RMAN BLOCK RECOVER command |
|
| 10. |
When Do You Use Crosscheck Command? |
|
Answer» CROSSCHECK will be useful to check whether the catalog INFORMATION is INTACT with OS level information. Crosscheck will be useful to check whether the catalog information is intact with OS level information. |
|
| 11. |
What Is The Difference Between Obsolete Rman Backups And Expired Rman Backups? |
|
Answer» The term obsolete does not MEAN the same as expired. In short obsolete MEANS “not needed ” whereas expired means “not found.” A status of “expired” means that the backup piece or backup set is not found in the backup destination. A status of “obsolete” means the backup piece is still available, but it is no LONGER needed. The backup piece is no longer needed since RMAN has been configured to no longer need this piece after so many days have elapsed, or so many backups have been PERFORMED. The term obsolete does not mean the same as expired. In short obsolete means “not needed ” whereas expired means “not found.” A status of “expired” means that the backup piece or backup set is not found in the backup destination. A status of “obsolete” means the backup piece is still available, but it is no longer needed. The backup piece is no longer needed since RMAN has been configured to no longer need this piece after so many days have elapsed, or so many backups have been performed. |
|
| 12. |
List Some Of The Rman Catalog View Names Which Contain The Catalog Information? |
|
Answer» RC_DATABASE_INCARNATION, RC_BACKUP_COPY_DETAILS, RC_BACKUP_CORRUPTION, RC_BACKUP_DATAFILE_SUMMARY to NAME a few RC_DATABASE_INCARNATION, RC_BACKUP_COPY_DETAILS, RC_BACKUP_CORRUPTION, RC_BACKUP_DATAFILE_SUMMARY to name a few |
|
| 13. |
How Do You Install The Rman Recovery Catalog? Or List The Steps Required To Enable The Rman . Backup For A Target Database? |
|
Answer» Steps to be followed:
Steps to be followed: |
|
| 14. |
Outline The Steps For Changing The Dbid In A Cloned Environment? |
| Answer» | |
| 15. |
Explain The Steps To Perform The Point In Time Recovery With A Backup Which Is Taken Before The Resetlogs Of The Db? |
Answer»
RMAN> list incarnation of database; RMAN> list incarnation of database; |
|
| 16. |
Outline The Steps Involved In Time Based Recovery From The Full Database From Hot Backup? |
| Answer» | |
| 17. |
How Do You Identify The Expired, Active, Obsolete Backups? Which Rman Command You Use? |
|
Answer» Obsolete BACKUPS:
expired backup: Obsolete backups: expired backup: |
|
| 18. |
Is It Possible To Take Catalog Database Backup Using Rman? If Yes, How? |
|
Answer» RECOVERY catalog is a schema stored in a database that tracks BACKUPS and stores of target databases. So BETTER to TAKE a export backup. Recovery catalog is a schema stored in a database that tracks backups and stores of target databases. So better to take a export backup. |
|
| 19. |
How Do You Verify The Integrity Of The Image Copy In Rman Environment? |
|
Answer» Use below commands :
Use below commands : |
|
| 20. |
Outline The Steps Involved In Scn Based Recovery From The Full Database From Hot Backup? |
| Answer» | |
| 21. |
Outline The Steps Involved In Cancel Based Recovery From The Full Database From Hot Backup? |
|
Answer» RMAN doesn’t SUPPORT cancel-based RECOVERY LIKE SQL*PLUS does. RMAN doesn’t support cancel-based recovery like SQL*plus does. |
|
| 22. |
Is It Possible To Specific Tables When Using Rman Duplicate Feature? If Yes, How? |
|
Answer» No, table based RECOVERY not POSSIBLE in RMAN duplicate COMMAND. No, table based recovery not possible in RMAN duplicate command. |
|
| 23. |
What Is Auxiliary Channel In Rman? When Do You Need This? |
|
Answer» An auxiliary channel is a link to auxiliary INSTANCE. If you do not have automatic channels configured, then before issuing the DUPLICATE command, manually allocate at least one auxiliary channel within the same RUN command. When a Duplicate Database CREATED or table space point in time RECOVERY is performed Auxiliary database is used. This database can either on the same host or a different host. An auxiliary channel is a link to auxiliary instance. If you do not have automatic channels configured, then before issuing the DUPLICATE command, manually allocate at least one auxiliary channel within the same RUN command. When a Duplicate Database created or table space point in time recovery is performed Auxiliary database is used. This database can either on the same host or a different host. |
|
| 24. |
What Is Channel? How Do You Enable The Parallel Backups With Rman? |
|
Answer» Use the ALLOCATE CHANNEL command to manually allocate a channel, which is a connection between RMAN and a database instance. To enable the parallel backups, allocate multiple MANUAL channels in the RUN block or configure parallelism CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET; Use the ALLOCATE CHANNEL command to manually allocate a channel, which is a connection between RMAN and a database instance. To enable the parallel backups, allocate multiple manual channels in the run block or configure parallelism CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET; |
|
| 25. |
What Is Backup Set? |
|
Answer» RMAN can store backup data in a logical STRUCTURE CALLED a backup set, which is the smallest unit of an RMAN backup. A backup set contains the data from one or more data files, archived redo logs, or control files or SERVER parameter FILE. RMAN can store backup data in a logical structure called a backup set, which is the smallest unit of an RMAN backup. A backup set contains the data from one or more data files, archived redo logs, or control files or server parameter file. |
|
| 26. |
How Do I Go About Backing Up My Online Redo Logs? |
|
Answer» Online redo logs should never, ever be included in a backup, regardless of whether that backup is performed hot or cold. The reasons for this are two-fold. First, you physically cannot backup a hot online redo LOG, and second there is PRECISELY zero need to do so in the first place because an archive redo log is, by DEFINITION, a backup copy of a formerly on-line log. There is, however, a more PRACTICAL reason: backing up the online logs yourself INCREASES the risk that you will lose. Online redo logs should never, ever be included in a backup, regardless of whether that backup is performed hot or cold. The reasons for this are two-fold. First, you physically cannot backup a hot online redo log, and second there is precisely zero need to do so in the first place because an archive redo log is, by definition, a backup copy of a formerly on-line log. There is, however, a more practical reason: backing up the online logs yourself increases the risk that you will lose. |
|
| 27. |
What Is The Difference Between Validate And Crosscheck ? |
|
Answer» The restore/validate and validate backupset commands test whether you can restore backups or COPIES. You should use:
The restore/validate and validate backupset commands test whether you can restore backups or copies. You should use: |
|
| 28. |
What Is The Init Parameter Specify The Minimum Number Of Days That Oracle Keeps Backup Information In The Control File? |
|
Answer» You can use the CONTROL_FILE_RECORD_KEEP_TIME PARAMETER to specify the minimum NUMBER of DAYS that Oracle keeps this information in the control FILE. You can use the CONTROL_FILE_RECORD_KEEP_TIME parameter to specify the minimum number of days that Oracle keeps this information in the control file. |
|
| 29. |
How Do You Setup The Rman Tape Backups? |
|
Answer» CONFIGURE channel as SBT_TAPE and use “ENV” parameter to SET the tape CONFIGURATIONS. Configure channel as SBT_TAPE and use “ENV” parameter to set the tape configurations. |
|
| 30. |
What Is Level 0, Level 1 Backup? |
Answer»
|
|