Imagination To Realization

Size: px
Start display at page:

Download "Imagination To Realization"

Transcription

1 Imagination To Realization Database Disaster Recovery and More Presented by: Stephen Rea University of Arkansas Cooperative Extension Service April 3, 2006 Monday 3:30 PM April 2-5 Orlando, Florida

2 Session Rules of Etiquette Please turn off your cell phone/pager If you must leave the session early, please do so as discreetly as possible Please avoid side conversation during the session Thank you for your cooperation! 2

3 Introduction Backups? We don NEED no steenkin backups! - Famous last words of an ex-dba Stephen Rea - Oracle Database Administrator University of Arkansas Cooperative Extension Service 3

4 Introduction This session will show you step-by-step instructions for: Jaunt: Bulletproofing your database against data loss Jaunt: Creating database backups (cold and hot backups) Recovering from various disaster scenarios Bonus: Implementing a standby database (if time permits) Examples shown are for Oracle 9i (and 8i) and AIX UNIX 5.2 (not using RMAN here; originally developed under Oracle and AIX UNIX 4.1.5). Oracle Backup and Recovery Classes (instructor led training): Enterprise DBA Part 1B: Backup and Recovery (8i) Oracle9i Database Administration Fundamentals II 4-5 days $2,000-$2,500 registration $???? transportation, hotel, meals, etc. 4

5 Benefits of Attending After this session you will be able to: Minimize the potential for loss of your data. Recognize Oracle problems that you may encounter. Know step-by-step how to recover from those problems. Gain confidence in your disaster recovery ability. Increase your worth as a DBA. And, you ve saved a bundle of money ($2,000+) as well as several days of your valuable time. 5

6 Topics of Discussion Jaunt: Bulletproofing against data loss Jaunt: Creating backups (cold and hot) Recovering from disaster scenarios Bonus: Implementing a standby database 6

7 Bulletproofing To lessen the possibility of data loss, you can: Enable archivelog mode (to reapply the changes during recovery; required by most disaster recovery scenarios) Separate the archive logs from the redo logs (allocate to separate drives; likewise for the following items) Separate the redo logs and archive logs from the datafiles Multiplex (mirror) the redo log groups and members Multiplex (mirror) the control file Multiplex (mirror) the archive log files Oracle 9i Database Administrator's Guide (chapters 6-8, 12) 7

8 The Basics - Shutting Down Your Database Position to the correct database (setting the Oracle SID): For example, in UNIX: Or, in NT: $. oraenv c:\> set ORACLE_SID=PROD PROD c:\> set ORACLE_HOME=d:\oracle\v9204 Connect as sysdba (from a dba group user login, such as oracle): Oracle and above: Prior to Oracle 9i, use Server Manager: $ sqlplus / as sysdba $ svrmgrl (SQL> connect / as sysdba) SVRMGR> connect internal Shut down the database (connected as sysdba): SQL> shutdown immediate (kills sessions, rolls back pending changes) If shutdown immediate fails or hangs (do this in another session): SQL> shutdown abort SQL> startup SQL> shutdown immediate 8

9 The Basics - Starting Up Your Database in Various Stages Database Startup Sequence (from shutdown state; connected as sysdba in sqlplus): 1) nomount reads init<sid>.ora (or spfile), allocates SGA memory, starts background processes (such as pmon - process monitor) SQL> startup nomount (from shutdown state) 2) mount opens control files SQL> startup mount (from shutdown state, or, ) SQL> alter database mount; (from nomount state) 3) open opens datafiles and online redo logs, performs crash recovery SQL> startup [open] (from shutdown state, or, ) SQL> alter database open; (from nomount or mount state) Note: The pfile=init<sid>.ora option on the startup command can be used to specify the database s init.ora file pathname. 9

10 Enabling Archiving (to recover database changes) Steps: Update init.ora, create archive log directory, shutdown, mount, set archivelog mode, open: Edit the init.ora file to add the archive log parameters: $ vi $ORACLE_HOME/dbs/initPROD.ora log_archive_dest = /u01/oradata/prod/archivelogs/ log_archive_format = arch_prod_%s.arc log_archive_start = true $ mkdir /u01/oradata/prod/archivelogs From the mount state after shutdown, start up archiving and open the database: SQL> alter database archivelog; SQL> alter database open; SQL> archive log list (or: select * from v$database;) 10

11 Moving Datafiles (with shutdown) Steps: Shutdown, move files, mount, rename files, open: After shutdown, use an O/S command to move the datafile (done from within the unix sqlplus session here;! is the host command for unix; $ is the host command for NT): SQL>!mv /u03/oradata/prod/devl_prod_01.dbf /u04/oradata/prod From the mount state, rename the datafile that you moved: SQL> alter database rename file '/u03/oradata/prod/devl_prod_01.dbf' to '/u04/oradata/prod/devl_prod_01.dbf'; Then, open the database and look at the change made: SQL> alter database open; SQL> select * from v$datafile; 11

12 Moving Datafiles (without shutdown) Steps: Offline tablespace, move files, rename files, online tablespace: $ sqlplus "/ as sysdba" SQL> alter tablespace development offline; SQL>!mv /u03/oradata/prod/devl_prod_01.dbf /u04/oradata/prod SQL> alter database rename file '/u03/oradata/prod/devl_prod_01.dbf' to '/u04/oradata/prod/devl_prod_01.dbf'; SQL> alter tablespace development online; SQL> select * from v$datafile; 12

13 Moving Datafiles (using control file) Steps: Create textual control file, shutdown, move files, update datafile pathnames in control file, run control file: $ sqlplus "/ as sysdba" SQL> alter database backup controlfile to trace; SQL> show parameter user_dump SQL> shutdown immediate SQL> exit $ mv /u03/oradata/prod/*prod*.dbf /u04/oradata/prod (continued ) 13

14 Moving Datafiles (using control file) $ cd /u00/oracle/admin/prod/udump $ ls -ltr *.trc $ vi prod_ora_16060.trc (or similar name, like ora_16060.trc) Delete the lines before the STARTUP NOMOUNT line Rename the datafiles (:g/datafile/,/;/s/u03/u04/) # RECOVER (comment out the RECOVER line) Execute the edited control file, which starts up the database: $ sqlplus "/ as sysdba" SQL> select * from v$datafile; 14

15 Adding Redo Log Members (mirror across drives) Steps: Add member file to given group: SQL> alter database add logfile member '/u04/oradata/prod/log_prod_1c.rdo' to group 1; SQL> select * from v$logfile; 15

16 Increasing Maximum Number of Members (to add) Steps: Create textual control file, update maxlogmembers, shutdown, run control file: $ sqlplus "/ as sysdba" SQL> alter database backup controlfile to trace; SQL>!ls -ltr /u00/oracle/admin/prod/udump SQL>!vi /u00/oracle/admin/prod/udump/prod_ora_16060.trc Delete the lines before the STARTUP NOMOUNT line Edit maxlogmembers value (such as changing from 2 to 3) # RECOVER (comment out the RECOVER line) SQL> shutdown immediate 16

17 Adding Redo Log Groups (to limit log switch waits) Steps: Add group with member files of given size: SQL> alter database add logfile group 4 ('/u00/oradata/prod/log_prod_4a.rdo', '/u01/oradata/prod/log_prod_4b.rdo') size 500K; SQL> select * from v$logfile; 17

18 Multiplexing Control Files (to mirror across drives) Steps: Shutdown, make control file copies, update init.ora, startup: $ sqlplus "/ as sysdba" SQL> shutdown immediate SQL>!cp -p /u03/oradata/prod/ctrl_prod_01.ctl /u01/oradata/prod/ctrl_prod_02.ctl SQL>!vi $ORACLE_HOME/dbs/initPROD.ora control_files = (/u03/oradata/prod/ctrl_prod_01.ctl, /u01/oradata/prod/ctrl_prod_02.ctl) SQL> startup SQL> select * from v$controlfile; 18

19 Topics of Discussion Jaunt: Bulletproofing against data loss Jaunt: Creating backups (cold and hot) Recovering from disaster scenarios Bonus: Implementing a standby database 19

20 What To Back Up Files to back up during one backup cycle: Datafiles (for all tablespaces) Control Files (binary and textual versions) Redo Log Files (cold backups only, not hot backups) Archive Log Files (archived redo logs, if archivelog mode is enabled) Parameter File (init.ora (and/or spfile); init.ora is not in the database; like $ORACLE_HOME/dbs/initPROD.ora) Password File (if used; it is not in the database; named like $ORACLE_HOME/dbs/orapwdPROD) Oracle9i User-Managed Backup and Recovery Guide (chapter 2) 20

21 What To Back Up (DB-based SQL) Getting names of datafiles, temp files, control files, and redo log files: SQL> select name from v$datafile; SQL> select name from v$tempfile; SQL> select name from v$controlfile; SQL> select member from v$logfile; Getting names of datafile and temp file tablespaces: SQL> select tablespace_name,file_name from dba_data_files order by tablespace_name; SQL> select tablespace_name,file_name from dba_temp_files; 21

22 What To Back Up (DB-based SQL) Getting locations of archive logs and archive parameters: SQL> select name,value from v$parameter where name in ('log_archive_dest', 'log_archive_format','log_archive_start'); SQL> show parameter archive SQL> archive log list For just the most recent archive log file names: SQL> select name from v$archived_log where trunc(completion_time) >= trunc(sysdate)-5; 22

23 What To Back Up (SID-based - preferred) Getting files using SID-based standard naming convention (preferred): $ find / -name '*PROD*'! -type d 2>/dev/null >backemup.dat Scripts for getting the list of backup files: backup_list.shl (SID-based; best for script) backup_list.sql (DB-based - but, don t use this in an actual backup script for cold backups) 23

24 Cold Backups (with database down) Cold Backup Requirements: Database is shut down (shutdown immediate) Complete backup from same point in time Database not available for queries or updates Either archivelog mode or noarchivelog mode All associated files are backed up: Datafiles Control Files Redo Log Files Archive Log Files Parameter File Password File 24

25 Cold Backups - Getting the files to back up Create the textual control file (then, shutdown): $ sqlplus "/ as sysdba" SQL> alter database backup controlfile to trace; SQL> shutdown immediate SQL> exit $ ls -ltr /u00/oracle/admin/prod/udump/* tail -1 sed 's/^.* \//\//' >>backemup.dat Get the SID-based file list with archivelogs at end of list: $ find / -name '*PROD*'! -type d 2>/dev/null grep -v 'arc$' grep -v 'gz$' >>backemup.dat $ ls /u01/oradata/prod/archivelogs/*.arc.gz >>backemup.dat $ ls /u01/oradata/prod/archivelogs/*.arc >>backemup.dat 25

26 Cold Backups - File Backup Options Copy the files to a staging (backup) directory: $ cat backemup.dat sed 's/\(^.*\)\/\(.*\)$/ cp -p \1\/\2 \/u03\/backups\/prod1\/\2/' sh Or, compress (zip) the files to a staging directory: $ cat backemup.dat sed 's/\(^.*\)\/\(.*\)$/ gzip -cv1 \1\/\2 \/u03\/backups\/prod1\/\2.gz; touch -r \1\/\2 \/u03\/backups\/prod1\/\2.gz/' sh Then, start the database and back up the staging directory: SQL> startup $ ls /u03/backups/prod1/* cpio -ovc64 >/dev/rmt0 Or just copy the files directly to tape (no staging directory): $ cat backemup.dat cpio -ovc64 >/dev/rmt0 26

27 Hot Backups (with database up) Hot Backup Requirements: Database is up (tablespace begin/end backup) Backup of datafiles per tablespace over time Database is available for queries and updates Archivelog mode required Special backup processing required for files: Datafiles (by ts) BACKUP Control Files NO Redo Logs Archive Logs (switch) Parameter File Password File 27

28 Hot Backups of Tablespaces Steps: For each tablespace: begin tablespace backup, copy (or zip) datafiles to a staging (backup) directory, end tablespace backup: SQL> alter tablespace development begin backup; SQL>!cp -p /u03/oradata/prod/devl_prod_*.dbf /u03/backups/prod1 SQL> alter tablespace development end backup; Note that no shutdown or startup is needed 28

29 Hot Backups of Log Files Steps: Switch logfile, get list of archivelogs, copy log files: SQL> alter system switch logfile; $ ls /u01/oradata/prod/archivelogs/*.arc.gz >logfile.lst $ ls /u01/oradata/prod/archivelogs/*.arc >>logfile.lst $ sleep 5 (for script) $ cat logfile.lst sed "s/\(.*\/\)\([^\/].*\)/ cp -p \1\2 \/u03\/backups\/prod1\/\2/" >logfile.shl $ sh logfile.shl 29

30 Hot Backups of Control Files Steps: Create binary and textual control files, find and copy textual control (back up the control file last): SQL> alter database backup controlfile to '/u03/backups/prod1/controlfile.ctl'; SQL> alter database backup controlfile to trace; $ ls -ltr /u00/oracle/admin/prod/udump $ cp -p /u00/oracle/admin/prod/udump/prod_ora_16060.trc /u03/backups/prod1 30

31 Backing Up the Staging (Backup) Directory Steps: Change to the staging directory, compress or zip the files (optional), copy resulting files to tape : $ cd /u03/backups/prod1 $ gzip -vn1 * $ find /u03/backups/prod1 cpio -ovc64 >/dev/rmt0 Compressing while Exporting using UNIX Pipes: $ mknod /tmp/exp_pipe p $ gzip -cnf </tmp/exp_pipe >prod.dmp.gz & $ exp "'/ as sysdba'" file=/tmp/exp_pipe full=y compress=n log=prod.dmp.log $ rm -f /tmp/exp_pipe 31

32 Additional Nightly Processing (optional) Create and keep the current copy of your textual control file Back up the current copy of your textual init.ora file (if you are using a server parameter file (spfile), use the "create pfile from spfile;" command to create it) Make a full database export for quick table restores and to check datafile integrity Generate sql definitions for all of your tables and indexes (using indexfile option of the import command) Gather statistics on datafile and index space usage and table extent growth for proactive maintenance (shown on next slide) 32

33 Other Nightly Processing Gathering space usage statistics: SQL> select segment_name,segment_type,extents,max_extents from sys.dba_segments where extents + 5 > max_extents or extents > 50 order by segment_name,segment_type desc; SQL> col "Free" format 9,999,999,999 SQL> col "Total Size" format 9,999,999,999 SQL> select tablespace_name,sum(bytes) "Total Size" from dba_data_files group by tablespace_name; SQL> select tablespace_name,sum(bytes) "Free" from dba_free_space group by tablespace_name; For each index, find the number of deleted rows (may rebuild it): SQL> validate index <index name>; SQL> select name,del_lf_rows_len from index_stats; 33

34 Topics of Discussion Jaunt: Bulletproofing against data loss Jaunt: Creating backups (cold and hot) Recovering from disaster scenarios Bonus: Implementing a standby database 34

35 Suddenly Your Database Dies ORA-01115: IO error reading block from file 13 (block # 66771) ORA-01110: data file 13: '/ndxs/oradata/prod/medi_prod_01.dbf' ORA-27091: skgfqio: unable to queue I/O ORA-27072: skgfdisp: I/O error IBM AIX RISC System/6000 Error: 5: I/O error Additional information: $ ls -ltr /ndxs/oradata/prod ls: /ndxs/oradata/prod: There is an input or output error. total 0 35

36 Disaster Recovery What Happened? Things to check to determine the problem: System error messages during normal processing Messages from database startup (backup first) Alert log in the database's bdump directory (/u00/oracle/admin/prod/bdump/alert_prod.log) Recent bdump and udump trace (*.trc) files (background_dump_dest, user_dump_dest) Oracle processes ($ ps -ef grep ora, including: ora_smon_prod, *pmon*, *dbwr*, *lgwr*) Recent /home/jobsub/*.lis and *.log files 36

37 What To Restore (from backup) ONLY the affected datafile for full recovery ALL datafiles for incomplete recovery All archivelog files generated since the datafile backup was made DON'T restore control files (unless all of them are lost) DON'T restore online redo log files (unless they are not used during recovery - then must resetlogs:) SQL> connect / as sysdba SQL> startup mount SQL> alter database open resetlogs; 37

38 Disaster Recovery Overview Backup first, then try startup (shutdown after) Primary recovery options: Recover database (complete or incomplete recovery) Recover datafile (one datafile; complete recovery only) Recover tablespace (all of its datafiles; complete only) Generic recovery steps: 1. Shutdown database or offline tablespace or datafile 2. Restore datafile(s) (and archivelogs) from backup 3. Issue recover command (database, datafile, or tablespace) 4. Bring tablespace or datafiles online Oracle9i User-Managed Backup and Recovery Guide 38

39 Basic Recover Database Complete Recovery State: mount (from shutdown state), datafiles online Steps: Restore datafile(s), mount, online the datafile(s) if needed, recover database, open: $ cp -p /u03/backups/prod1/devl_prod_01.dbf /u03/oradata/prod (restore datafile(s)) $ sqlplus "/ as sysdba" SQL> startup mount SQL> select * from v$datafile; if any offline, then: SQL> alter database datafile '<full offline datafile pathname>' online; SQL> set autorecovery on (or recover automatic below) SQL> recover database; SQL> alter database open; 39

40 Basic Recover Database Incomplete Recovery State: mount, datafiles online Steps: Restore ALL datafiles, mount, online the datafiles, recover database until..., open. Like complete recovery, except for "recover database" command (use only one): SQL> recover automatic database until time ' :15:45:00'; SQL> recover database until cancel; (no autorecovery; steps through logs until CANCEL entered) SQL> recover automatic database until change ; (SCN (system change number) for archivelogs is in v$archived_log as first_change# and next_change# - 1; online redo logs is in v$log as first_change# (subtract 1)) SQL> alter database open resetlogs; (then, backup) 40

41 Basic Recover Datafile From Mount State State: mount, datafile online or offline Steps: Restore datafile, mount, recover datafile, online the datafile if needed, open: $ cp -p /u03/backups/prod1/devl_prod_01.dbf /u03/oradata/prod (restore datafile) $ sqlplus "/ as sysdba" SQL> startup mount SQL> recover automatic datafile '/u03/oradata/prod/devl_prod_01.dbf'; SQL> select * from v$datafile; if datafile is offline, then: SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' online; SQL> alter database open; 41

42 Basic Recover Datafile From Open State State: open (with database up), datafile offline Steps: Offline the datafile, restore datafile, recover datafile, online the datafile (not for system datafile): $ sqlplus "/ as sysdba" SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' offline; SQL>!cp -p /u03/backups/prod1/devl_prod_01.dbf /u03/oradata/prod (restore datafile) SQL> recover automatic datafile '/u03/oradata/prod/devl_prod_01.dbf'; SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' online; 42

43 Basic Recover Datafile From Open After Startup State: open, datafile offline Steps: Mount, offline the datafile, open, restore datafile, recover datafile, online the datafile (not for system datafile): $ sqlplus "/ as sysdba" SQL> startup mount SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' offline; SQL> alter database open; SQL>!cp -p /u03/backups/prod1/devl_prod_01.dbf /u03/oradata/prod (restore datafile) SQL> recover automatic datafile '/u03/oradata/prod/devl_prod_01.dbf'; SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' online; 43

44 Basic Recover Tablespace From Open State State: open, tablespace offline Steps: Offline the tablespace, restore tablespace s datafiles, recover tablespace, online the tablespace (not for system tablespace): $ sqlplus "/ as sysdba" SQL> alter tablespace development offline immediate; (immediate rolls back currently pending transactions) SQL>!cp -p /u03/backups/prod1/devl_prod* /u03/oradata/prod (restore datafiles) SQL> recover automatic tablespace development; SQL> alter tablespace development online; 44

45 Basic Recover Tablespace From Open After Startup State: open, tablespace offline Steps: Mount, offline any bad datafiles, open, offline the tablespace,restore tablespace s datafiles, recover tablespace, online the tablespace (not for system tablespace): $ sqlplus "/ as sysdba" SQL> startup mount SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' offline; SQL> alter database open; SQL> alter tablespace development offline; SQL>!cp -p /u03/backups/prod1/devl_prod* /u03/oradata/prod (restore datafiles) SQL> recover automatic tablespace development; SQL> alter tablespace development online; 45

46 Checking Logs and Trace Files Checking alert log and trace files for pmon, lgwr, dbwr, arch: SQL> select value from v$parameter where name = 'background_dump_dest'; $ grep background_dump_dest $ORACLE_HOME/dbs/initPROD.ora $ cd /u00/oracle/admin/prod/bdump $ tail -200 alert_prod.log $ ls -ltr *.trc (look at latest pmon, lgwr, dbwr, arch trace files, if any) $ cat prod_pmon_13612.trc (process monitor trace) $ cat prod_lgwr_32306.trc (redo log writer trace) $ cat prod_dbwr_43213.trc (database writer trace) $ cat prod_arch_22882.trc (archiver trace) 46

47 Archivelogs Disk Volume Filled Up Symptoms: Database freezes. No space for archivelogs (df -k). Messages: Users: None (sessions freeze). Logins: ERROR: ORA-00257: archiver error. connect internal only, until freed. Logs: Alert log: ORA-00272: error writing archive log. Arch trace: ORA-00272: error writing archive log. Note: Use oerr for error description, such as: $ oerr ora

48 Archivelogs Disk Volume Filled Up Steps: Free up space on archivelogs volume by moving files or older archivelogs off, or, by deleting old archive log files that have already been backed up: # File: remove_old_logs.shl echo "You must be logged in as user Oracle to run this script," echo "which removes all archivelog files older than X days." echo "Enter number of days to keep: \c" read DAYS_KP; export DAYS_KP find /u01/oradata/prod/archivelogs -name '*.arc.gz' -mtime +$DAYS_KP -exec rm {} \; find /u01/oradata/prod/archivelogs -name '*.arc' -mtime +$DAYS_KP -exec rm {} \; echo "Results after deletions:" du -k df -k 48

49 Loss of Control Files Symptoms: May be none until shutdown and/or startup. Messages: Shutdown: If deleted: ORA-00210: cannot open control file '/u03/oradata/prod/ctrl_prod_01.ctl'. If overwritten: ORA-00201: control file version incompatible with ORACLE version. (May have to shutdown abort.) Startup: ORA-00205: error in identifying control file '/u03/oradata/prod/ctrl_prod_01.ctl'. Also, if overwritten: ORA-07366: sfifi: invalid file, file does not have valid header block. 49

50 Loss of Control Files Textual Control File Recovery Steps: Edit out header from latest textual control file you have available (in udump directory), run control file (as long as no datafiles have been added): $ sqlplus "/ as sysdba" SQL> shutdown abort SQL>!ls -ltr /u00/oracle/admin/prod/udump/*.trc SQL>!vi /u00/oracle/admin/prod/udump/prod_ora_31494.trc Delete the lines before the STARTUP NOMOUNT line 50

51 Loss of Control Files Backup Control File Recovery Steps: Restore ALL datafiles AND control files (NOT online redo log files), recover using backup controlfile: $ sqlplus "/ as sysdba" SQL> shutdown abort At this point, restore ALL datafiles AND control files from the last backup, but, NOT the online redo log files. SQL> connect / as sysdba SQL> startup mount SQL> recover automatic database using backup controlfile; (AUTO on "ORA-00308: cannot open archived log...") SQL> alter database open resetlogs; (then, backup) 51

52 Loss of TEMP Datafile Symptoms: Error message on large sorts (select distinct, order by, group by, union). Messages: Loss during: ORA-01157: cannot identify data file 3 file not found. Loss before: ORA-01116: error in opening database file 3. Both Followed by: ORA-01110: data file 3: '/u03/oradata/prod/temp_prod_01.dbf'. Logs: No alert.log entries or trace files generated. 52

53 Loss of TEMP Datafile State: open or mount Steps: Offline datafile, drop and recreate TEMP tablespace (here we are using locally managed temporary tablespace): SQL> alter database datafile '/u03/oradata/prod/temp_prod_01.dbf' offline; If from mount state: SQL> alter database open; SQL> select file_name,bytes/1024 kbytes from dba_temp_files; SQL> select initial_extent/1024 kbytes from dba_tablespaces where tablespace_name = 'TEMP'; SQL> drop tablespace temp; SQL>!rm /u03/oradata/prod/temp_prod_01.dbf SQL> create temporary tablespace temp tempfile '/u03/oradata/prod/temp_prod_01.dbf' size 40064K extent management local uniform size 640K; 53

54 TEMP Datafile Offline Symptoms: Error message on large sorts (select distinct, order by, group by, union). (Like Loss of TEMP Datafile.) Messages: ORA-00376: file 3 cannot be read at this time. ORA-01110: data file 3: '/u03/oradata/prod/temp_prod_01.dbf'. Steps: Recover datafile (DB open), online the datafile: SQL> recover automatic datafile '/u03/oradata/prod/temp_prod_01.dbf'; SQL> alter database datafile '/u03/oradata/prod/temp_prod_01.dbf' online; 54

55 Loss of INACTIVE Online Redo Log Group (Archived) Symptoms: Database crashes switching to lost log group. Messages: Users: ORA-01092: ORACLE instance terminated. Disconnection forced. Logins: ERROR: ORA-03114: not connected to ORACLE. ERROR: ORA-00472: PMON process terminated with error. Logs: Alert log: No indication. Pmon trace: ORA-00470: LGWR process terminated with error. Lgwr trace: ORA-00313: open failed for members of log group 3 of thread 1. ORA-00312: online log 3 thread 1: '/u03/oradata/prod/log_prod_3b.rdo'. 55

56 Loss of INACTIVE Online Redo Log Group (Archived) Steps: Mount, drop logfile group, add logfile group, open: $ sqlplus "/ as sysdba" SQL> startup mount If "ORA-01081: cannot start already-running ORACLE shut it down first", then "startup force" (or "shutdown abort" and "startup mount"). Shows "Database mounted." and "ORA-00313: open failed for members of log group 3 of thread 1". SQL> select bytes/1024 K from v$log where group# = 3; SQL> select member from v$logfile where group# = 3; SQL> alter database drop logfile group 3; SQL> alter database add logfile group 3 ('/u03/oradata/prod/log_prod_3a.rdo', '/u03/oradata/prod/log_prod_3b.rdo') size 500K; SQL> alter database open; 56

57 Loss of INACTIVE Online Redo Log Group Member Symptoms: No apparent symptoms. Logs: Alert log: ORA-00313: open failed for members of log group 3 of thread 1. ORA-00312: online log 3 thread 1: '/u03/oradata/prod/log_prod_3a.rdo'. (Each switch.) Steps: Drop logfile member, add logfile member to group: SQL> select * from v$log where group# = 3; If status is active or current for group, first do: SQL> alter system switch logfile; SQL> alter database drop logfile member '/u03/oradata/prod/log_prod_3a.rdo'; SQL> alter database add logfile member '/u03/oradata/prod/log_prod_3a.rdo' to group 3; 57

58 Loss of CURRENT Online Redo Log Group (Unarchived) Symptoms: Database freezes (after cycling back). Plenty of space for archivelogs (df -k). Messages: Users: None (sessions freeze). Logins: ERROR: ORA-00257: archiver error. Connect internal only, until freed. Logs: Alert log: ORA-00286: No members available, or no member contains valid data. ORACLE Instance PROD Can not allocate log, archival required. Thread 1 cannot allocate new log, sequence 21. All online logs needed archiving. Arch trace: ORA-00286: No members available, or no member contains valid data. 58

59 Loss of CURRENT Online Redo Log Group (Unarchived) Steps: Startup to get log group number, then do an incomplete recovery (as described earlier) up to the start time for the lost log group (Note: all changes in all redo log groups will be lost): $ sqlplus "/ as sysdba" SQL> shutdown abort SQL> startup Shows: ORA-00313: open failed for members of log group 2 of thread 1. SQL> shutdown abort (continued ). 59

60 Loss of CURRENT Online Redo Log Group (Unarchived) At this point, restore ALL datafiles AND the lost online redo log group's files from the latest backup, but, NOT the control files. SQL> connect / as sysdba SQL> startup mount SQL> select sequence#, bytes, first_change#, to_char(first_time, 'DD-MON-YY HH24:MI:SS'), status from v$log where group# = 2; SQL> recover automatic database until time ' :12:59:59'; (1 second before loss) SQL> alter database open resetlogs; (and backup) 60

61 Failure During Hot Backup Steps: Mount, determine datafiles in hot backup state, end backup (Oracle 7.2 and above), open: $ sqlplus "/ as sysdba" SQL> startup mount SQL> select df.name,bk.time from v$datafile df,v$backup bk where df.file# = bk.file# and bk.status ='ACTIVE'; SQL> alter database datafile '/u03/oradata/prod/devl_prod_01.dbf' end backup; SQL> alter database open; 61

62 Topics of Discussion Jaunt: Bulletproofing against data loss Jaunt: Creating backups (cold and hot) Recovering from disaster scenarios Bonus: Implementing a standby database 62

63 Bonus Topic: Data Guard - Oracle's Answer to Disaster Recovery See how to quickly implement a Data Guard physical standby database step-by-step in a day. Learn how to switch over or fail over to your standby database in minutes. Possibly offload your batch reporting workload to your standby database. Replace your forebodings about crashes with "Don't worry... be happy!" Oracle Data Guard Concepts and Administration Release 2 (9.2) 63

64 Data Guard Flow (Oracle 9i) 64

65 Data Guard Flow (Oracle 10g) 65

66 Data Guard Protection Modes Maximum Performance Updates committed to primary and sent to standby without waiting to see if they were applied to standby Pros: Little or no effect on performance of primary Cons: Slight chance of lost transactions on failover Maximum Availability (we will implement this one) Attempts to apply updates to standby before committed to primary Lowers protection to Maximum Performance temporarily if updates can't be applied to standby Pros: Primary continues unaffected if connection to standby is lost or the updates are delayed Cons: Slight performance hit on primary; lost transactions on failover possible only if the standby has been unreachable 66

67 Data Guard Protection Modes Maximum Protection Assures updates are applied to standby before committed to primary Pros: No chance of lost transactions Cons: Primary will freeze if connection to standby is lost or the updates are delayed 67

68 Primary Database Requirements for Data Guard FORCE LOGGING must be enabled: SQL> select force_logging from v$database; SQL> alter database force logging; ARCHIVELOG mode and automatic archiving must be enabled: SQL> archive log list MAXLOGFILES >= (2 * Current Redo Log Groups) + 1: SQL> select records_used "Current Groups", records_total "Max Groups" from v$controlfile_record_section where type = 'REDO LOG'; 68

69 listener.ora Additions Define the standby database SID on the standby site: (SID_DESC= (SID_NAME=PROD2) (ORACLE_HOME=/pgms/oracle/product/v9204) ) (in $ORACLE_HOME/network/admin/listener.ora) 69

70 tnsnames.ora Additions Define the standby database connect string on the primary site: myserver_prod2 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = ) -- whatever host IP has PROD2 (Port = 1521) ) ) (CONNECT_DATA = (SID = PROD2) ) ) (define myserver_prod and myserver_prod2 on both primary and standby sites for quick switchovers) 70

71 sqlnet.ora and /etc/oratab Additions Enable dead connection detection on the primary and standby sites: sqlnet.expire_time=2 (in $ORACLE_HOME/network/admin/sqlnet.ora) Add the standby database's entry to /etc/oratab on the standby site: PROD2:/pgms/oracle/product/v9204:N 71

72 Standby Database Parameter File Create the initprod2.ora parameter file to be used for the standby database (done from primary database): If your primary is using an spfile: $ sqlplus "/ as sysdba" SQL> create pfile='$oracle_home/dbs/initprod2.ora' from spfile; Else, if your primary is using a pfile: $ cp -p $ORACLE_HOME/dbs/initPROD.ora $ORACLE_HOME/dbs/initPROD2.ora Note: We will be modifying both the primary and standby parameter files to handle being in either the primary or the standby mode for quick switchovers. 72

73 Standby Database Parameters (changes in copy of primary's values) Change pathnames, such as control_files, background_dump_dest, core_dump_dest, user_dump_dest, and audit_file_dest, and add: # log_archive_dest = /orcl/oradata/prod2/archivelogs log_archive_dest_1 = 'LOCATION=/orcl/oradata/PROD2/archivelogs MANDATORY' # for switchover log_archive_dest_state_1 = ENABLE # for switchover log_archive_dest_2 = 'SERVICE=myserver_prod LGWR SYNC' # for switchover log_archive_dest_state_2 = ENABLE # for switchover standby_archive_dest = /orcl/oradata/prod2/archivelogs standby_file_management = AUTO # or MANUAL for raw devices remote_archive_enable = TRUE # TRUE or RECEIVE, change RECEIVE to SEND on switchover instance_name = PROD2 lock_name_space = PROD2 # use when primary and standby on same system; same as instance_name fal_server = myserver_prod # "fal" is Fetch Archive Log, for log gap resolution fal_client = myserver_prod2 db_file_name_convert = ('/PROD/','/PROD2/') log_file_name_convert = ('/PROD/','/PROD2/') 73

74 Primary Database Parameters (changes in primary's values) #log_archive_dest = /orcl/oradata/prod/archivelogs log_archive_dest_1 = 'LOCATION=/orcl/oradata/PROD/archivelogs MANDATORY' log_archive_dest_state_1 = ENABLE log_archive_dest_2 = 'SERVICE=myserver_prod2 LGWR SYNC' log_archive_dest_state_2 = ENABLE standby_archive_dest = /orcl/oradata/prod/archivelogs # for switchover standby_file_management = AUTO # for switchover; or MANUAL for raw devices remote_archive_enable = TRUE # TRUE or SEND, change SEND to RECEIVE on switchover instance_name = PROD lock_name_space = PROD # use when primary and standby on same system; same as instance_name fal_server = myserver_prod2 # for switchover fal_client = myserver_prod # for switchover db_file_name_convert = ('/PROD2/','/PROD/') # for switchover log_file_name_convert = ('/PROD2/','/PROD/') # for switchover (If primary uses spfile, wait until after the standby database files are copied/created to make these parameter changes.) 74

75 Standby Database Datafiles, etc. Create the standby control file from the primary database: SQL> alter database create standby controlfile as '/orcl/oradata/prod2/ctrl_prod_01.ctl'; Shut down the primary database and copy or FTP its datafiles, redo log files, and the just-created standby parameter file and standby control file, to the standby site. 75

76 Standby Database Datafiles, etc. Copy the standby control file on the standby site to the other file names listed in the control_files init.ora parameter. Create the standby's password file, if needed, on the standby site: $ orapwd file=$oracle_home/dbs/orapwprod2 password=<sys password> entries=5 Reload the listener on the primary and standby sites: $ lsnrctl reload 76

77 Standby Database Startup Start the standby database in nomount mode, create the spfile if wanted, mount the standby database, and change to managed recovery: $. oraenv PROD2 $ sqlplus "/ as sysdba" SQL> create spfile from pfile; SQL> startup nomount SQL> alter database mount standby database; SQL> alter database recover managed standby database disconnect from session; SQL> exit 77

78 Primary Database Startup If your primary is using an spfile, set the primary database parameters in the spfile as listed earlier: SQL> startup nomount SQL> alter system reset log_archive_dest scope=spfile sid='*'; SQL> alter system set log_archive_dest_1 = 'LOCATION=/orcl/oradata/PROD/archivelogs MANDATORY' scope=spfile; etc SQL> shutdown 78

79 Primary Database Startup Start up the primary database with the new parameters: SQL> startup Start archiving to the standby database by issuing a log switch: SQL> alter system switch logfile; Congratulations! You now have a working standby database for your primary database. But wait There's more 79

80 Add Standby Redo Log Groups to Standby Database Create standby redo log groups on standby database (one more than current redo log groups): $ sqlplus "/ as sysdba" SQL> alter database recover managed standby database cancel; SQL> alter database open read only; SQL> select max(group#) maxgroup from v$logfile; SQL> select max(bytes) / 1024 "size (K)" from v$log; SQL> alter database add standby logfile group 4 ( '/orcl/oradata/prod2/stby_log_prod_4a.rdo', '/orcl/oradata/prod2/stby_log_prod_4b.rdo') size 4096K; etc SQL> column member format a55 SQL> select vs.group#,vs.bytes,vl.member from v$standby_log vs, v$logfile vl where vs.group# = vl.group# order by vs.group#,vl.member; 80

81 Add Tempfile To Standby Add a tempfile to the standby database for switchover or read-only access, then, switch back to managed recovery: SQL> alter tablespace temp add tempfile '/data/oradata/prod2/temp_prod_01.dbf' size K reuse; SQL> alter database recover managed standby database disconnect from session; SQL> select * from v$tempfile; SQL> exit 81

82 Add Standby Redo Log Groups to Primary Database Create standby logfile groups on the primary database for switchovers (one more than current redo log groups): $ sqlplus "/ as sysdba" SQL> select max(group#) maxgroup from v$logfile; SQL> select max(bytes) / 1024 "size (K)" from v$log; SQL> alter database add standby logfile group 4 ( '/orcl/oradata/prod/stby_log_prod_4a.rdo', '/orcl/oradata/prod/stby_log_prod_4b.rdo') size 4096K; etc SQL> column member format a55 SQL> select vs.group#,vs.bytes,vl.member from v$standby_log vs,v$logfile vl where vs.group# = vl.group# order by vs.group#,vl.member; 82

83 Switch To Maximum Availability Protection Mode Switch to the desired "maximum availability" protection mode on the primary database (from the default "maximum performance"): SQL> select value from v$parameter where name = 'log_archive_dest_2'; -- must show LGWR SYNC SQL> shutdown normal SQL> startup mount SQL> alter database set standby database to maximize availability; SQL> alter database open; SQL> select protection_mode from v$database; 83

84 Test Updates Propagating to Standby Try some edits on the primary and check to see that the changes made it to the standby: On the primary: SQL> update spriden set spriden_first_name = 'James' where spriden_pidm = 1234 and spriden_change_ind is null; SQL> commit; SQL> alter system switch logfile; On the standby (wait a few seconds first): SQL> alter database recover managed standby database cancel; SQL> alter database open read only; SQL> select * from spriden where spriden_pidm = 1234 and spriden_change_ind is null; SQL> alter database recover managed standby database disconnect from session; 84

85 Running Reports with a Standby Set standby to Read Only to run reports: SQL> alter database recover managed standby database cancel; SQL> alter database open read only; SQL> alter database recover managed standby database disconnect from session; 85

86 Shutdown and Startup for Standby Database To shut down a standby database: If in read-only access, switch back to managed recovery (after terminating any other active sessions): SQL> alter database recover managed standby database disconnect from session; Cancel managed recovery and shutdown: SQL> alter database recover managed standby database cancel; SQL> shutdown immediate To start up a standby database: SQL> startup mount SQL> alter database mount standby database; SQL> alter database recover managed standby database disconnect from session; 86

87 Switchover - Swapping Primary and Standby End all activities on the primary and standby database. On the primary (switchover status "TO STANDBY"): SQL> select database_role,switchover_status from v$database; SQL> alter database commit to switchover to physical standby; SQL> shutdown immediate SQL> startup nomount SQL> alter database mount standby database; On the standby (switchover status "SWITCHOVER PENDING"): SQL> select database_role,switchover_status from v$database; SQL> alter database commit to switchover to primary; SQL> shutdown normal SQL> startup On the primary: SQL> alter database recover managed standby database disconnect from session; On the standby: SQL> alter system archive log current; Change tnsnames.ora entry on all servers to swap the connect strings (myserver_prod and myserver_prod2). 87

88 Failover - Standby Becomes Primary End all activities on the standby database. May need to resolve redo log gaps (not shown here). On the standby: SQL> alter database recover managed standby database finish; SQL> alter database commit to switchover to primary; SQL> shutdown immediate SQL> startup Change tnsnames.ora entry on all servers to point the primary connect string to the standby database. New standby needs to be created. Old primary is no longer functional. 88

89 Summary Jaunt: Bulletproofing against data loss Enabling archiving of redo log files Separating types of database files Moving datafiles Adding redo log members Mirroring log files and control files Jaunt: Creating backups (cold and hot) Identifying files to back up Performing cold backups (DB down) Performing hot backups (DB up) Statistics, exports, and other tasks 89

90 Summary Recovering from disaster scenarios Determining cause of failure Identifying files to restore Basic disaster recovery scenarios Complete and incomplete Database, datafile, tablespace Specific file type recovery scenarios Step-by-step recovery commands 90

91 Summary Bonus Topic: Implementing a standby database Data Guard provides an automated standby database which can essentially eliminate downtime of your production data. Setup is easy and fairly straightforward. Maintenance is minimal. Switchovers and failovers can be done within a few minutes. Reporting can be offloaded to the standby to ease the workload on the primary. And It's Free! (Included with Enterprise Edition) 91

92 Summary Backup, backup, backup Practice, practice, practice your disaster recovery plans Don t Panic! Follow your plan

93 Questions and Answers Whew! Glad That s Over! Any Questions? 93

94 Thank You! Stephen Rea More Oracle and Banner information can be found at my Oracle Tips, Tricks, and Scripts web site: Please complete the on-line Evaluation Form 94

95 Without limitation, SunGard, the SunGard logo, Banner, Campus Pipeline, Luminis, PowerCAMPUS, Matrix, and Plus are trademarks or registered trademarks of SunGard Data Systems Inc. or its subsidiaries in the U.S. and other countries. Third-party names and marks referenced herein are trademarks or registered trademarks of their respective owners SunGard. All rights reserved. 95

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc.

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc. Data Guard: Setup and Administration By Ashok Kapur. Agenda Introduction New Features Logical and Physical Standby Databases Setup Physical and Logical Standby Databases Administration including Switchover

More information

Recovering Oracle Databases

Recovering Oracle Databases CHAPTER 20 Recovering Oracle Databases In this chapter you will learn how to Recover from loss of a controlfile Recover from loss of a redo log file Recover from loss of a system-critical datafile Recover

More information

Data Guard Configuration And Operation

Data Guard Configuration And Operation Configuration And Operation Author: G S Chapman Date: 18 th December 2007 Version: 1.3 Location of Document: i DOCUMENT HISTORY Version Date Changed By: Remarks 1.0 14/02/06 G S Chapman Original Version

More information

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005 Oracle Database 10g Migration to Automatic Storage Management An Oracle White Paper August 2005 Oracle Database 10g Migration to Automatic Storage Management Introduction... 3 Database Migration to ASM

More information

IMPLEMENTING DATA GUARD (STANDBY)

IMPLEMENTING DATA GUARD (STANDBY) IMPLEMENTING DATA GUARD (STANDBY) General Concepts: Components, Roles, Interfaces Architecture Data Guard Protection Modes Physical Standby Implementation with RMAN (Recommended) Physical Standby Implementation

More information

Steps how to duplicate a database to a new machine. Version 10gR2

Steps how to duplicate a database to a new machine. Version 10gR2 Steps how to duplicate a database to a new machine. Version 10gR2 First take a fresh backup of the target database set the ORACLE_* variables If the databse is running in noarchivelog mode, shut it down

More information

Tibero Backup & Recovery Guide

Tibero Backup & Recovery Guide Tibero Backup & Recovery Guide Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. Copyright Notice Copyright 2014 TIBERO Co., Ltd. All Rights Reserved. 5, Hwangsaeul-ro 329beon-gil, Bundang-gu, Seongnam-si,

More information

Managing an Oracle Instance

Managing an Oracle Instance Managing an Oracle Instance Date: 07.10.2009 Instructor: SL. Dr. Ing. Ciprian Dobre 1 Objectives After completing this lesson, you should be able to do the following: Create and manage initialization parameter

More information

Author A.Kishore

Author A.Kishore Introduction Oracle Data Guard (known as Oracle Standby Database prior to Oracle9i), forms an extension to the Oracle RDBMS and provides organizations with high availability, data protection, and disaster

More information

Disaster Recovery: Restore Database from One Server to another Server when Different Location

Disaster Recovery: Restore Database from One Server to another Server when Different Location Disaster Recovery: Restore Database from One Server to another Server when Different Location Mohamed Azar Oracle DBA http://mohamedazar.wordpress.com 1 Mohamed Azar http://mohamedazar.wordpress.com Step

More information

9i RAC: Manual Backup and Recovery Shankar Govindan

9i RAC: Manual Backup and Recovery Shankar Govindan 9i RAC: Manual Backup and Recovery Shankar Govindan Introduction When we plan to move a large database or a heavily used OLTP database to a cluster setup, to get enough mileage from the horizontal scaling

More information

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2004

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2004 Oracle Database 10g Migration to Automatic Storage Management An Oracle White Paper August 2004 Oracle Database 10g Migration to Automatic Storage Management Executive Overview... 3 Introduction... 3 Database

More information

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper March 2004

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper March 2004 Using Recovery Manager with Oracle Data Guard in Oracle9i An Oracle White Paper March 2004 Using Recovery Manager with Oracle Data Guard in Oracle9i Executive summary... 3 Introduction... 3 Configuration

More information

ASM migration process

ASM migration process Management on Dell/EMC Storage Arrays By Zafar Mahmood, Uday Datta Shet, and Bharat Sajnani ASM migration process The process for migrating an Oracle Real Application Clusters (RAC) database from Oracle

More information

RECO CKPT SMON ARCH PMON RMAN DBWR

RECO CKPT SMON ARCH PMON RMAN DBWR Database Architecture t Architecture Topics Memory Structure Background Processes Database Accessing Database Information Starting the Database SMON PMON DBWR LGWR Parameter Database Architecture SNPn

More information

Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000

Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000 Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000 Technical White Paper 40563-00 Rev B December 2009 Copyright 2009 by International Business Machines

More information

LOSS OF FULL DATABASE AND DATABASE RECOVERY ORACLE 11g

LOSS OF FULL DATABASE AND DATABASE RECOVERY ORACLE 11g CONNECT TO TARGET DATABASE USING RMAN $ export ORACLE_SID=crms $ rlrman target / Recovery Manager: Release 11.2.0.1.0 - Production on Sat Jan 31 10:13:56 2015 Copyright (c) 1982, 2009, Oracle and/or its

More information

Lesson 2 RMAN Architecture

Lesson 2 RMAN Architecture RMAN Architecture 2.1 Lesson 2 RMAN Architecture An introduction to the architecture and components used by the RMAN utility. SKILLBUILDERS Author: Dave Anderson, SkillBuilders RMAN Architecture 2.2 2.2

More information

Agent for Oracle. Arcserve Backup for Windows r17.5

Agent for Oracle. Arcserve Backup for Windows r17.5 Agent for Oracle Arcserve Backup for Windows r17.5 Legal Notices This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation

More information

White Paper. Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01

White Paper. Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01 White Paper Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01 Table of Contents 1 Abstract... 5 2 Understanding SnapShot... 6 2.1 How Does SnapShot Work?...6 3 Architecture

More information

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE ORACLE 11gR2 DBA by Mr. Akal Singh ( Oracle Certified Master ) INTRODUCTION to ORACLE COURSE CONTENT Exploring the Oracle Database Architecture List the major architectural components of Oracle Database

More information

Configuring High Availability for the PMG DB

Configuring High Availability for the PMG DB This chapter describes the process of configuring high availability for the PMG DB. It provides the prerequisites and procedures required to configure and test the hot standby and cold standby for Cisco

More information

How To Apply Archive Logs Manually In Standby Database Using Rman

How To Apply Archive Logs Manually In Standby Database Using Rman How To Apply Archive Logs Manually In Standby Database Using Rman Using Rman Active Duplicate to create a Standby from a standby. Posted by RMAN_. Let's create some Archivelogs in Primary Database so that

More information

Electronic Presentation

Electronic Presentation Oracle9i DBA Fundamentals I Electronic Presentation D11321GC10 Production 1.0 May 2001 D32645 I-1 Copyright Oracle Corporation, 2001. All rights reserved. I Introduction Copyright Oracle Corporation, 2001.

More information

ActiveImage Protector 2016R2SP1. Backup and Recovery of Oracle Database Second Edition - March 23, 2017

ActiveImage Protector 2016R2SP1. Backup and Recovery of Oracle Database Second Edition - March 23, 2017 ActiveImage Protector 2016R2SP1 Backup and Recovery of Oracle Database Second Edition - March 23, 2017 This user guide provides a description about backup and recovery procedures of Oracle database by

More information

NEC istorage Series Disk Array Guide for Oracle Storage Compatibility Program Snapshot Technologies

NEC istorage Series Disk Array Guide for Oracle Storage Compatibility Program Snapshot Technologies NEC istorage Series Disk Array Guide for Oracle Storage Compatibility Program Snapshot Technologies is-wp-01-002 Rev. 1.00 Aug. 2001 NEC Solutions NEC Corporation Copyright 2001 NEC Corporation. All rights

More information

ALTER DATABASE RECOVER TO LOGICAL STANDBY KEEP IDENTITY;

ALTER DATABASE RECOVER TO LOGICAL STANDBY KEEP IDENTITY; Using Physical Standby with transient Logical Standby (SQL Apply for near zero downtime upgrade of two node Oracle RAC database from 11.2.0.2 to 11.2.0.3 In the article you will have a look at an example

More information

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version :

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version : Oracle 1Z0-043 Oracle Database 10g: Administration II Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-043 QUESTION: 172 You lost the index tablespace in your database. You decided

More information

Oracle RMAN for Absolute Beginners

Oracle RMAN for Absolute Beginners Oracle RMAN for Absolute Beginners Darl Kuhn Apress Contents About the Author Acknowledgments Introduction xvii xix xxi Chapter 1: Getting Started... 1 Connecting to Your Database 1 Establishing OS Variables

More information

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI) Oracle DBA (10g, 11g) Training Course Content Introduction (Database Architecture) Describe course objectives Explore the Oracle 10g database architecture Installing the Oracle Database Software Explain

More information

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information

How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover??

How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover?? How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover?? If it is multiplexed then replace the lost one with the available one else

More information

These copies should be placed on different disks, if possible. Disk 1 Disk 2 Disk 3

These copies should be placed on different disks, if possible. Disk 1 Disk 2 Disk 3 DATABASE CONFIGURATIONS Configuration Topics Simple Databases with Mirroring Multiplexing Control Files and REDO Logs Disk Shadowing Database Links and Snapshots Optimal Flexible Architecture 1 Stand Alone

More information

Redefining Data Protection. Title Page. User s Guide. for the NetVault:Backup APM for Oracle. APM Version 5.1 OAG

Redefining Data Protection. Title Page. User s Guide. for the NetVault:Backup APM for Oracle. APM Version 5.1 OAG Redefining Data Protection Title Page User s Guide for the NetVault:Backup APM for Oracle APM Version 5.1 OAG-101-5.1-EN-01 01/30/08 Copyrights NetVault:Backup - User s Guide for the NetVault:Backup APM

More information

An Oracle White Paper April Deploying Oracle Data Guard with Oracle Database Appliance

An Oracle White Paper April Deploying Oracle Data Guard with Oracle Database Appliance An Oracle White Paper April 2012 Deploying Oracle Data Guard with Oracle Database Appliance Table of Contents Introduction... 2 Why do I need a standby database environment?... 2 Why Oracle Data Guard?...

More information

The Challenges of Oracle Cloning. Safa Alak Consulting System Engineer

The Challenges of Oracle Cloning. Safa Alak Consulting System Engineer The Challenges of Oracle Cloning Safa Alak Consulting System Engineer safa@netapp.com Agenda Challenges Traditional Approach for Cloning The command Line Way Using RMAN 10G R2 Transportable Database Option

More information

Chapter One. Concepts BACKUP CONCEPTS

Chapter One. Concepts BACKUP CONCEPTS Chapter One 1 Concepts Backup and recovery is not a single, discrete subject, but a collection of methods, strategies, and procedures to protect the data in your database and provide a means of recovery

More information

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

Oracle Database Appliance: Implementing Disaster Recovery Solutions Using Oracle Data Guard

Oracle Database Appliance: Implementing Disaster Recovery Solutions Using Oracle Data Guard Oracle Database Appliance: Implementing Disaster Recovery Solutions Using Oracle Data Guard Protect production systems while leveraging standby computing power ORACLE WHITE PAPER SEPTEMBER 2017 Introduction

More information

Installing the Oracle Database Softwar

Installing the Oracle Database Softwar Contents chapter 1:Architecture Oracle Database Architecture Database Structures Oracle Memory Structures Process Structures Oracle Instance Management Server Process and Database Buffer Cache Physical

More information

OCP Oracle Database 12c: Advanced Administration Exam Guide

OCP Oracle Database 12c: Advanced Administration Exam Guide OCP Oracle Database 12c: Advanced Administration Exam Guide (Exam 1Z0-063) Bob Bryla Copyright by McGraw-Hill Education. This is prepublication content and is subject to change prior to publication. 2

More information

Redefining Data Protection

Redefining Data Protection Redefining Data Protection Title Page User s Guide for the NetVault:Backup APM for Oracle APM Version 5.000 NVE 7009-7F 07/23-07 Copyrights NetVault:Backup - User s Guide for the NetVault:Backup APM for

More information

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272 C H A P T E R 1 2 ROLLBACK SEGMENTS CHAPTER OBJECTIVES In this chapter, you will learn about: Rollback Segment Management Page 272 The information in a rollback segment is used for query read consistency,

More information

High Availability for Oracle 9i Using Double-Take

High Availability for Oracle 9i Using Double-Take High Availability for Oracle 9i Using Double-Take High Availability for Oracle 9i Using Double-Take Revision 2.0.0 published July 2003 NSI and Double-Take are registered trademarks of Network Specialists,

More information

Exam Name: Oracle 11i Applications DBA: Fundamentals I Exam Type Oracle Exam Code: 1z0-235 Total Questions: 108

Exam Name: Oracle 11i Applications DBA: Fundamentals I Exam Type Oracle Exam Code: 1z0-235 Total Questions: 108 Question: 1 You receive the following error while connecting to an Oracle9i database instance: ORA-12523 TNS:listener could not find instance appropriate for the client connection Which action would be

More information

CHAPTER. Upgrading to Oracle Database 11g

CHAPTER. Upgrading to Oracle Database 11g CHAPTER 2 Upgrading to Oracle Database 11g 49 50 Oracle Database 11g DBA Handbook I f you have previously installed an earlier version of the Oracle database server, you can upgrade your database to Oracle

More information

DataGuard in Practice

DataGuard in Practice DataGuard in Practice Matthias Mann Unicredit Business Integrated Solutions S.C.p.A. 80538 Munich, Germany Keywords: Active DataGuard Reader Farm, Snapshot Standby, Protection Modes, Reporting, Summary

More information

Performing a 32 bit to 64 bit migration using the Transportable Database RMAN feature

Performing a 32 bit to 64 bit migration using the Transportable Database RMAN feature Performing a 32 bit to 64 bit migration using the Transportable Database RMAN feature This note describes the procedure used to perform a 32 bit to 64 bit conversion of an 11.2.0.3 database on the Linux

More information

High Availability for Oracle 8i Using Double-Take

High Availability for Oracle 8i Using Double-Take High Availability for Oracle 8i Using Double-Take High Availability for Oracle 8i Using Double-Take Revision number 2.0.0 published July 2003 NSI and Double-Take are registered trademarks of Network Specialists,

More information

Oracle Database 11g for Experienced 9i Database Administrators

Oracle Database 11g for Experienced 9i Database Administrators Oracle Database 11g for Experienced 9i Database Administrators 5 days Oracle Database 11g for Experienced 9i Database Administrators Course Overview The course will give experienced Oracle 9i database

More information

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG Oracle Data Guard for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG Outline Problem description Possible approaches Oracle Data Guard Migration

More information

Cross-Platform Database Migration with Oracle Data Guard

Cross-Platform Database Migration with Oracle Data Guard Cross-Platform Database Migration with Oracle Data Guard a CERN Case Study Background Many data centers nowadays run their production Oracle database systems on commodity hardware, mostly relying on software

More information

Oracle Database 11g: Administration I

Oracle Database 11g: Administration I Oracle 1z0-052 Oracle Database 11g: Administration I Version: 7.0 Topic 1, Volume A Oracle 1z0-052 Exam QUESTION NO: 1 You notice that the performance of the database has degraded because of frequent checkpoints.

More information

EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows. Installation & Configuration Guide

EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows. Installation & Configuration Guide EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows Installation & Configuration Guide August 2006 This manual describes the installation and configuration of the EVault InfoStage Oracle Plug-In

More information

ORACLE 10g/9i DATA GUARD LOGICAL STANDBY DATABASE

ORACLE 10g/9i DATA GUARD LOGICAL STANDBY DATABASE Session id: 12766 ORACLE 10g/9i DATA GUARD LOGICAL STANDBY DATABASE Inderpal S. Johal Principal Consultant AGENDA Standby Database enhancements Data Guard and its Architecture Background Process Pre-requisite

More information

Testpassport.

Testpassport. Testpassport http://www.testpassport.cn Exam : 1Z0-032 Title : orcacle9l database:fundamentals ii Version : DEMO 1 / 7 1. While starting up the database on a Monday morning, you get the following error

More information

Exam : 1Z Title : Oracle Database 10g: Administration I. Ver :

Exam : 1Z Title : Oracle Database 10g: Administration I. Ver : Exam : 1Z0-042 Title : Oracle Database 10g: Administration I Ver : 06.03.08 QUESTION 1: You executed the following command to back up the control file: ALTER DATABASE BACKUP CONTROLFILE TO TRACE; What

More information

Oracle Architectural Components

Oracle Architectural Components Oracle Architectural Components Date: 14.10.2009 Instructor: Sl. Dr. Ing. Ciprian Dobre 1 Overview of Primary Components User process Shared Pool Instance SGA Server process PGA Library Cache Data Dictionary

More information

Exam Name: Orcacle 9i Database: Fundamentals II Exam Type: Oracle Exam Code: 1Z0-032 Total Questions: 111

Exam Name: Orcacle 9i Database: Fundamentals II Exam Type: Oracle Exam Code: 1Z0-032 Total Questions: 111 Question: 1 Users in your development database complain that they are getting the following error while trying to execute a query on the SALES_HISTORY table: ERROR at line 1: ORA-00942: table or view does

More information

Chapter 14: Backing up the Oracle Database Tapies covered in this section. Backup Overview. How often should backups be performed?

Chapter 14: Backing up the Oracle Database Tapies covered in this section. Backup Overview. How often should backups be performed? Chapter 14: Backing up the Oracle Database Tapies covered in this section Backup Overview + Planning Database Backup + Causes of System Failure Backup Considerations Types of Backup + Hot Backup + Cold

More information

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express Contents Managing Database Storage Structures Using Enterprise Manager Database Express... 1 Overview... 2 Configuring

More information

Standby Database. Release 7.3. Sajjad Masud Jasmin Nakic Brian Quigley Lawrence To. Center of Expertise Worldwide Customer Support Oracle Corporation

Standby Database. Release 7.3. Sajjad Masud Jasmin Nakic Brian Quigley Lawrence To. Center of Expertise Worldwide Customer Support Oracle Corporation Technical Reports Compendium II, 1996 Technical Report Release 7.3 Sajjad Masud Jasmin Nakic Brian Quigley Lawrence To Center of Expertise Worldwide Customer Support Oracle Corporation August 1996 Oracle

More information

Oracle 1Z0-235 Exam Questions & Answers

Oracle 1Z0-235 Exam Questions & Answers Oracle 1Z0-235 Exam Questions & Answers Number: 1z0-235 Passing Score: 800 Time Limit: 120 min File Version: 26.5 http://www.gratisexam.com/ Oracle 1Z0-235 Exam Questions & Answers Exam Name: Oracle 11i

More information

Oracle DBA Course Content

Oracle DBA Course Content 1 Oracle DBA Course Content Database Architecture: Introduction to Instance and Database How user connects to database How SQL statement process in the database Oracle data dictionary and its role Memory

More information

Question No: 1 Which two statements are true for Data Guard environments with multi-tenant databases?

Question No: 1 Which two statements are true for Data Guard environments with multi-tenant databases? Volume: 92 Questions Question No: 1 Which two statements are true for Data Guard environments with multi-tenant databases? A. DB_UNIQUE_NAME must be specified differently for each pluggable database within

More information

Oracle.ActualTests.1Z0-023.v by.Ramon.151q

Oracle.ActualTests.1Z0-023.v by.Ramon.151q Oracle.ActualTests.1Z0-023.v2009-03-18.by.Ramon.151q Number: 1Z0-023 Passing Score: 800 Time Limit: 120 min File Version: 33.4 http://www.gratisexam.com/ Oracle 1z0-023 Exam Exam Name: Architecture and

More information

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources

Implementation of Database Systems David Konopnicki Taub 715 Spring Sources Implementation of Database Systems 236510 David Konopnicki Taub 715 Spring 2000 1 2 Sources Oracle 7 Server Concepts - Oracle8i Server Concepts. Oracle Corp. Available on the course Web Site: http://www.cs.technion.ac.il/~cs236510

More information

ORACLE DBA TRAINING IN BANGALORE

ORACLE DBA TRAINING IN BANGALORE ORACLE DBA TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 WWW.TRAININGINBANGALORE.COM Oracle DBA Training Syllabus Introduction

More information

You'll even like your Data Guard more with Flashback

You'll even like your Data Guard more with Flashback You'll even like your Data Guard more with Flashback Hervé Schweitzer Mathias Zarick München, 26.01.2010 Baden Basel Bern Brugg Lausanne Zürich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg München Stuttgart

More information

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set.

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set. Volume: 148 Questions Question No : 1 memory_target big integer 808M pga_aggregate_target big integer 0 sga_target big integer 0 SQL> SHOW PARAMETER SGA_MAX_SIZE NAME TYPE VALUE sga_max_size big integer

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 1Z0-235 Title : Oracle 11i applications DBA:Fundamentals I Vendors : Oracle

More information

IT100: Oracle Administration

IT100: Oracle Administration IT100: Oracle Administration IT100 Rev.001 CMCT COURSE OUTLINE Page 1 of 8 Training Description: Introduction to Oracle Administration and Management is a five-day course designed to provide Oracle professionals

More information

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information

Describe types of database failures. Multiplex control files. Multiplex redo log files. Describe and tune instance recovery. Enable ARCHIVELOG mode

Describe types of database failures. Multiplex control files. Multiplex redo log files. Describe and tune instance recovery. Enable ARCHIVELOG mode Chapter 1 Performing Oracle User-Managed Backups ORACLE DATABASE 12c: ADVANCED ADMINISTRATION EXAM OBJECTIVES COVERED IN THIS CHAPTER: Explain Oracle backup and recovery solutions Describe types of database

More information

Tablespaces and Datafiles

Tablespaces and Datafiles C H A P T E R 4 Tablespaces and Datafiles As you saw in Chapter 2, when you create a database, typically five tablespaces are created when you execute the CREATE DATABASE statement: SYSTEM SYSAUX UNDO

More information

Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited

Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited Keywords Oracle RAC on Standard Edition Standby Database with RAC on Standard Edition Different standby database

More information

Oracle 1Z Oracle 9i: New Features for Administrators. Download Full Version :

Oracle 1Z Oracle 9i: New Features for Administrators. Download Full Version : Oracle 1Z0-030 Oracle 9i: New Features for Administrators Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-030 QUESTION: 204 Which two statements regarding an external table are

More information

Tablespace Usage By Schema In Oracle 11g Query To Check Temp

Tablespace Usage By Schema In Oracle 11g Query To Check Temp Tablespace Usage By Schema In Oracle 11g Query To Check Temp The APPS schema has access to the complete Oracle E-Business Suite data model. E-Business Suite Release 12.2 requires an Oracle database block

More information

Recovery Manager Concepts

Recovery Manager Concepts Recovery Manager Concepts Joseph S Testa Data Management Consulting (64) 79-9000 Ohio Oracle Users Group Apr 2003 Introduction Who is using RMAN for backup/recovery? Have you tested your recovery scenarios?

More information

Exam : Oracle 1Z0 043

Exam : Oracle 1Z0 043 Exam : Oracle 1Z0 043 Title : oracle database 10g:administration ii Update : Demo http://www.killtest.com 1. You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY

More information

ExamMagic.com. Exam : 1Z : Oracle Database 10g: Administration I. Ver : 7.0

ExamMagic.com. Exam : 1Z : Oracle Database 10g: Administration I. Ver : 7.0 ExamMagic.com Exam : 1Z0-042 Title : Oracle Database 10g: Administration I Ver : 7.0 WWW.ExamMa gic.com - 1: You executed the following command to back up the control file: ALTER DATABASE BACKUP CONTROLFILE

More information

Redefining Data Protection. Title Page. User s Guide. for the NetVault: Backup APM for Oracle. APM Version 5.5 OAG

Redefining Data Protection. Title Page. User s Guide. for the NetVault: Backup APM for Oracle. APM Version 5.5 OAG Redefining Data Protection Title Page User s Guide for the NetVault: Backup APM for Oracle APM Version 5.5 OAG-101-5.5-EN-01 06/06/08 Copyrights NetVault: Backup - User s Guide for the NetVault: Backup

More information

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo Oracle Exam Questions 1Z0-052 Oracle Database 11g: Administration I Version:Demo 1. You notice that the performance of the database has degraded because of frequent checkpoints. Which two actions resolve

More information

Oracle Database Administration

Oracle Database Administration A Active (Current) and Inactive Redo Log Files... 12:8 Alert and Trace Log Files... 1:34 Alert Log Files... 1:34 ALTER TABLE Statement - Reasons for using... 9:18 ALTER TABLESPACE... 7:23 Application Development...

More information

Mobile : ( India )

Mobile : ( India ) ORACLE DBA COURSE CONTENT : - INTRODUCTION TO ORACLE DBA What is DBA? Why a Company needs a DBA? Roles & Responsibilities of DBA Oracle Architecture Physical and Logical Phase of Database Types of files(control

More information

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb Insanity: doing the same thing over and over again and expecting different results. Nice Proverb No back up was taken after reset logs. How to recover the database? Solution It s possible, I have tried

More information

1z z0-060 Upgrade to Oracle Database 12c

1z z0-060 Upgrade to Oracle Database 12c 1z0-060 Number: 1z0-060 Passing Score: 800 Time Limit: 120 min File Version: 7.1 1z0-060 Upgrade to Oracle Database 12c Exam A QUESTION 1 Your multitenant container (CDB) contains two pluggable databases

More information

1Z Oracle Database 12c - Data Guard Administration Exam Summary Syllabus Questions

1Z Oracle Database 12c - Data Guard Administration Exam Summary Syllabus Questions 1Z0-066 Oracle Database 12c - Data Guard Administration Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-066 Exam on Oracle Database 12c - Data Guard Administration... 2 Oracle 1Z0-066

More information

MBS Microsoft Oracle Plug-In 6.82 User Guide

MBS Microsoft Oracle Plug-In 6.82 User Guide MBS Microsoft Oracle Plug-In 6.82 User Guide 10 Oracle Plug-In This version of the Oracle Plug-In supports Windows Agents. It is an add-on that allows you to perform database backups on Oracle databases.

More information

Oracle Database 11g Data Guard

Oracle Database 11g Data Guard Oracle Database 11g Data Guard Overview This course introduces the delegate to the main architectural concepts of Data Guard. Delegates will learn how to use Oracle Data Guard to protect Oracle Databases

More information

Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A

Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A Oracle 1Z0-042 Oracle Database 10g: Administration I 177 Q&A Looking for Real Exam Questions for IT Certification Exams! We guarantee you can pass any IT certification exam at your first attempt with just

More information

1Z Upgrade Oracle9i/10g to Oracle Database 11g OCP Exam Summary Syllabus Questions

1Z Upgrade Oracle9i/10g to Oracle Database 11g OCP Exam Summary Syllabus Questions 1Z0-034 Upgrade Oracle9i/10g to Oracle Database 11g OCP Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-034 Exam on Upgrade Oracle9i/10g to Oracle Database 11g OCP... 2 Oracle 1Z0-034

More information

CO Oracle Database 12c: Data Guard Administration

CO Oracle Database 12c: Data Guard Administration CO-79232 Oracle Database 12c: Data Guard Administration Summary Duration 4 Days Audience Database Administrators, Support Engineers and Technical Analysts Level Professional Technology Oracle Database

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Recovery Manager (RMAN): Not Just for Backups Anymore Steven Wertheimer, Oracle, Senior Director Jeff Branan, TDS Telecom, Database

More information

Question: 1 Identify three components of an Oracle instance for which you can change the size dynamically. (Choose three.)

Question: 1 Identify three components of an Oracle instance for which you can change the size dynamically. (Choose three.) Question: 1 Identify three components of an Oracle instance for which you can change the size dynamically. (Choose three.) A. Java Pool B. Large Pool C. Shared Pool D. Redo Log Buffer E. Database Buffer

More information

Purpose. Configuring ARCHIVELOG mode

Purpose. Configuring ARCHIVELOG mode Purpose This document provides a guide to setting up the backup process specific to Oracle Database Standard Edition One on Dell servers. The following backup process takes advantage of the new Oracle

More information

Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours

Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours What you will learn This course advances your success as an Oracle professional in the area of database administration.

More information

Notice the oratab file doesn t contain the new database name (BDEV). Add it to the file by using below command;

Notice the oratab file doesn t contain the new database name (BDEV). Add it to the file by using below command; Task: Clone BPROD to BDEV SOURCE: BPROD Target: BDEV Part of the DBA task is to clone databases. Please don t get confused between cloning and refresh. They aren t similar. The simple fact is, during cloning,

More information

OCA - 10G - 1z Oracle 1Z0-042 Exam Bundle. Exam Name: Oracle oracle database 10g:administration i

OCA - 10G - 1z Oracle 1Z0-042 Exam Bundle. Exam Name: Oracle oracle database 10g:administration i OCA - 10G - 1z0-042 Number: 1z0-042 Passing Score: 680 Time Limit: 180 min File Version: 27.5 http://www.gratisexam.com/ Oracle 1Z0-042 Exam Bundle Exam Name: Oracle oracle database 10g:administration

More information

inside: THE MAGAZINE OF USENIX & SAGE August 2003 volume 28 number 4 SYSADMIN Hoskins: Oracle Hot Backup

inside: THE MAGAZINE OF USENIX & SAGE August 2003 volume 28 number 4 SYSADMIN Hoskins: Oracle Hot Backup THE MAGAZINE OF USENIX & SAGE August 2003 volume 28 number 4 inside: SYSADMIN Hoskins: Hot Backup & The Advanced Computing Systems Association & The System Administrators Guild hot backup Introduction

More information