|
INTERVIEW QUESTIONS
ORACLE
DETAILS
Question: How does one do off-line database backups?
Answer: Shut down the database from sqlplus or server manager. Backup all files to secondary storage (eg. tapes). Ensure that you backup all data files, all control files and all log files. When completed, restart your database. Do the following queries to get a list of all files that needs to be backed up: select name from sys.v_$datafile; select member from sys.v_$logfile; select name from sys.v_$controlfile; Sometimes Oracle takes forever to shutdown with the "immediate" option. As workaround to this problem, shutdown using these commands: alter system checkpoint; shutdown abort startup restrict shutdown immediate Note that if you database is in ARCHIVELOG mode, one can still use archived log files to roll forward from an off-line backup. If you cannot take your database down for a cold (off-line) backup at a convenient time, switch your database into ARCHIVELOG mode and perform hot (on-line) backups.
|
|
|
Category |
Oracle Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8205 users |
Added on |
9/17/2014 |
Views |
68052 |
Rate it! |
|
|
Question:
How does one do off-line database backups?
Answer:
Shut down the database from sqlplus or server manager. Backup all files to secondary storage (eg. tapes). Ensure that you backup all data files, all control files and all log files. When completed, restart your database. Do the following queries to get a list of all files that needs to be backed up: select name from sys.v_$datafile; select member from sys.v_$logfile; select name from sys.v_$controlfile; Sometimes Oracle takes forever to shutdown with the "immediate" option. As workaround to this problem, shutdown using these commands: alter system checkpoint; shutdown abort startup restrict shutdown immediate Note that if you database is in ARCHIVELOG mode, one can still use archived log files to roll forward from an off-line backup. If you cannot take your database down for a cold (off-line) backup at a convenient time, switch your database into ARCHIVELOG mode and perform hot (on-line) backups. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Explain about stacked canvas views?
|
View Answer
|
|
What are Most Common types of Complex master-detail relationships?
|
View Answer
|
|
What are the two phases of block coordination?
|
View Answer
|
|
How do you create a new session while open a new form?
|
View Answer
|
|
What are the vbx controls?
|
View Answer
|
|
What is new_form built-in?
|
View Answer
|
|
What is difference between open_form and call_form?
|
View Answer
|
|
What is SGA?
|
View Answer
|
|
Can you have more than one content canvas view attached with a window?
|
View Answer
|
|
How can we reduce the network traffic?
|
View Answer
|
|
What is Distributed database ?
|
View Answer
|
|
Describe two phases of Two-phase commit ?
|
View Answer
|
|
How can you Enforce Referential Integrity in snapshots ?
|
View Answer
|
|
What is Two-Phase Commit ?
|
View Answer
|
|
When will the data in the snapshot log be used?
|
View Answer
|
|
What is user Account in Oracle database?
|
View Answer
|
|
How will you enforce security using stored procedures?
|
View Answer
|
|
What are the use of Roles ?
|
View Answer
|
|
What are roles? How can we implement roles ?
|
View Answer
|
|
What are the database administrators utilities available ?
|
View Answer
|