|
|
|
|
1.
|
What are the different methods of backing up oracle
database? |
|
|
- Logical Backups
- Cold Backups
- Hot Backups (Archive log)
|
|
2.
|
What is a logical backup? |
|
|
Logical backup involves reading a set of database
records and writing them into a file. Export utility is
used for taking backup and Import utility is used to
recover from backup.
|
|
3.
|
What is cold backup? What are the elements of it? |
|
|
Cold backup is taking backup of all physical files after
normal shutdown of database. We need to take.
- All Data files.
- All Control files.
- All on-line redo log files.
- The init.ora file (Optional)
|
|
4.
|
What are the different kinds of export backups? |
|
|
Full back - Complete database
Incremental - Only affected tables from last incremental
date/full backup date.
Cumulative backup - Only affected table from the last
cumulative date/full backup date.
|
|
5.
|
What is hot backup and how it can be taken? |
|
|
Taking backup of archive log files when database is
open. For this the ARCHIVELOG mode should be enabled.
The following files need to be backed up.
All data files.
All Archive log, redo log files.
On control file.
|
|
6.
|
What is the use of FILE option in EXP command? |
|
|
To give the export file name.
|
|
7.
|
What is the use of COMPRESS option in EXP command? |
|
|
Flag to indicate whether export should compress
fragmented segments into single extents. |
|
8.
|
What is the use of GRANT option in EXP command? |
|
|
A flag to indicate whether grants on database objects
will be exported or not. Value is 'Y' or 'N'.
|
|
9.
|
What is the use of INDEXES option in EXP command? |
|
|
A flag to indicate whether indexes on tables will be
exported.
|
|
10. |
What is the use of ROWS option in EXP command? |
|
|
Flag to indicate whether table rows should be exported.
If 'N' only DDL statements for the database objects will
be created.
|
|
11. |
What is the use of CONSTRAINTS option in EXP command? |
|
|
A flag to indicate whether constraints on table need to
be exported.
|
|
12. |
What is the use of FULL option in EXP command? |
|
|
A flag to indicate whether full database export should
be performed.
|
|
13. |
What is the use of OWNER option in EXP command? |
|
|
List of table accounts should be exported.
|
|
14. |
What is the use of TABLES option in EXP command? |
|
|
List of tables should be exported.
|
|
15. |
What is the use of RECORD LENGTH option in EXP command? |
|
|
Record length in bytes.
|
|
16. |
What is the use of INCTYPE option in EXP command? |
|
|
Type export should be performed COMPLETE, CUMULATIVE,
INCREMENTAL.
|
|
17. |
What is the use of RECORD option in EXP command? |
|
|
For Incremental exports, the flag indirect whether a
record will be stores data dictionary tables recording
the export.
|
|
18. |
What is the use of PARFILE option in EXP command? |
|
|
Name of the parameter file to be passed for export.
|
|
19. |
What is the use of ANALYSE ( Ver 7) option in EXP
command? |
|
|
A flag to indicate whether statistical information about
the exported objects should be written to export dump
file.
|
|
20. |
What is the use of CONSISTENT (Ver 7) option in EXP
command? |
|
|
A flag to indicate whether a read consistent version of
all the exported objects should be maintained.
|
|
21. |
What is use of LOG (Ver 7) option in EXP command? |
|
|
The name of the file which log of the export will be
written.
|
|
22. |
What is the use of FILE option in IMP command? |
|
|
The name of the file from which import should be
performed.
|
|
23. |
What is the use of SHOW option in IMP command? |
|
|
A flag to indicate whether file content should be
displayed or not.
|
|
24. |
What is the use of IGNORE option in IMP command? |
|
|
A flag to indicate whether the import should ignore
errors encounter when issuing CREATE commands.
|
|
25. |
What is the use of GRANT option in IMP command? |
|
|
A flag to indicate whether grants on database objects
will be imported.
|
|
26. |
What is the use of INDEXES option in IMP command? |
|
|
A flag to indicate whether import should import index on
tables or not.
|
|
27. |
What is the use of ROWS option in IMP command? |
|
|
A flag to indicate whether rows should be imported. If
this is set to 'N' then only DDL for database objects
will be executed. |