What is meant by Redo Log file mirroring ? How it can be achieved?

1 Answer

Answer :

Process of having a copy of redo log files is called mirroring. This can
be achieved by creating group of log files together, so that LGWR will
automatically writes them to all the members of the current on-line
redo log group. If any one group fails then database automatically
switch over to next group. It degrades performance.

Related questions

Description : What is meant by redo log buffer ?

Last Answer : Changes made to entries are written to the on-line redo log files. So that they can be used in roll forward operations during database recoveries. Before writing them into the redo log files ... buffers in SGA and LGWR will write into files frequently. LOG_BUFFER parameter will decide the size.

Description : What is the use of redo log information?

Last Answer : The information in a redo log file is used only to recover the database from a system or media failure prevents database data from being written to a database's data files.

Description : What is the function of redo log?

Last Answer : The primary function of the redo log is to record all changes made to data.

Description : What is a redo log?

Last Answer : The set of redo log files for a database is collectively known as the database redo log.

Description : What is Archived Redo Log ?

Last Answer : Archived Redo Log consists of Redo Log files that have archived before being reused.

Description : What is On-line Redo Log?

Last Answer : The On-line Redo Log is a set of tow or more on-line redo files that record all committed changes made to the database. Whenever a transaction is committed, the corresponding redo entries temporarily ... file by the background process LGWR. The on-line redo log files are used in cyclical fashion.

Description : What is a Redo Log ?

Last Answer : The set of Redo Log files YSDATE,UID,USER or USERENV SQL functions,or the pseudo columns LEVEL or ROWNUM.

Description : What is Mirrored on-line Redo Log ?

Last Answer : A mirrored on-line redo log consists of copies of on-line redo log files physically located on separate disks, changes made to one member of the group are made to all members.

Description : What is the purpose of Redo Log files?

Last Answer : Before Oracle changes data in a datafile it writes these changes to the redo log. If something happens to one of the datafiles, a backed up datafile can be restored and the redo, that was written since, replied, which brings the datafile to the state it had before it became unavailable.

Description : What is advantage of having disk shadowing/ Mirroring ?

Last Answer : Shadow set of disks save as a backup in the event of disk failure. In most Operating System if any disk failure occurs it automatically switchover to place of failed disk. Improved performance because most OS ... instead of the main set of files. This reduces I/O load on the main set of disks.

Description : How can we specify the Archived log file name format and destination?

Last Answer : By setting the following values in init.ora file. LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence number and is zero left paded, %s - Log sequence number not padded. %T - Thread number lef ... not padded). The file name created is arch 0001 are if %S is used. LOG_ARCHIVE_DEST = path.

Description : Describe what redo logs are.

Last Answer : Redo logs are logical and physical structures that are designed to hold all the changes made to a database and are intended to aid in the recovery of a database.

Description : How many maximum Redo Logfiles one can have in a Database?

Last Answer : Maximum number of logfiles is limited by value of MAXLOGFILES parameter in the CREATE DATABASE statement. Control file can be resized to allow more entries; ultimately an operating system limit. ... for the CREATE DATABASE statement, then the database uses an operating system default value.

Description : What is a Redo Log?

Last Answer : The set of Redo Log files YSDATE,UID,USER or USERENV SQL functions, or the pseudo columns LEVEL or ROWNUM.

Description : What is Mirrored on-line Redo Log?

Last Answer : A mirrored on-line redo log consists of copies of on-line redo log files physically located on separate disks, changes made to one member of the group are made to all members.

Description : What is Archived Redo Log?

Last Answer : Archived Redo Log consists of Redo Log files that have archived before being reused.

Description : What is On-line Redo Log?

Last Answer : The On-line Redo Log is a set of tow or more on-line redo files that record all committed changes made to the database. Whenever a transaction is committed, the corresponding redo entries temporarily stores in redo log buffers of the SGA are written to an on-line redo log file by the background

Description : How would you force a log switch?

Last Answer : ALTER SYSTEM SWITCH LOGFILE;

Description : What is Log Switch ?

Last Answer : The point at which ORACLE ends writing to one online redo log file and begins writing to another is called a log switch.

Description : How does one backup archived log files? (for DBA

Last Answer : One can backup archived log files using RMAN or any operating system backup utility. Remember to delete files after backing them up to prevent the archive log directory from filling up. If the ... oracle/arch_backup/log_t%t_s%s_p%p' 5> (archivelog all delete input); 6> release channel dev1; 7> }

Description : What is a SNAPSHOT LOG ?

Last Answer : A snapshot log is a table in the master database that is associated with the master table. ORACLE uses a snapshot log to track the rows that have been updated in the master table. Snapshot logs are used in updating the snapshots based on the master table.

Description : What is snapshot log ?

Last Answer : It is a table that maintains a record of modifications to the master table in a snapshot. It is stored in the same database as master table and is only available for simple snapshots. It should be created before creating snapshots.

Description : When will the data in the snapshot log be used?

Last Answer : We must be able to create a after row trigger on table (i.e., it should be not be already available) After giving table privileges. We cannot specify snapshot log name because oracle uses the ... 23 characters. (The table name created will be MLOGS_tablename, and trigger name will be TLOGS name).

Description : What are database files, control files and log files. How many of these files should a database have at least? Why?

Last Answer : ∙ Database Files The database files hold the actual data and are typically the largest in size. Depending on their sizes, the tables (and other objects) for all the user accounts can go in one ... or redo log file to the database, the information is recorded in the control files. ∙ Redo Logs

Description : Which log would you check if a database has a problem?

Last Answer : Alert log

Description : Does any Apple developer make a simple monitor mirroring app for iPhone?

Last Answer : Every solution I’ve seen uses Airplay or involves jailbreaking. Just to double-check, it’s a 4 and not a 4S, correct?

Description : Can I set up RAID Mirroring & Striping on 2 drives by splitting each into 2 partitions?

Last Answer : I am having a tough time picturing this. What would be mirrored and what would be striped? How many TB do you want in the end?

Description : What is meant by free extent ?

Last Answer : A free extent is a collection of continuous free blocks in tablespace. When a segment is dropped its extents are reallocated and are marked as free.

Description : What is meant by recursive hints ?

Last Answer : Number of times processes repeatedly query the dictionary table is called recursive hints. It is due to the data dictionary cache is too small. By increasing the SHARED_POOL_SIZE parameter we can optimize the size of Data Dictionary Cache.

Description : What is meant by query optimization?

Last Answer : The phase that identifies an efficient execution plan for evaluating a query that has the least estimated cost is referred to as query optimization.

Description : How can I dump an oracle schema to a LOCAL file over a network connection from sqlplus?

Last Answer : By connecting and spooling are you excluding the exp/imp commands (or expdb/impdb in 10g)?

Description : What are the minimum parameters should exist in the parameter file (init.ora) ?

Last Answer : DB NAME - Must set to a text string of no more than 8 characters and it will be stored inside the datafiles, redo log files and control files and control ... an ORACLE instance acquires at database startup. Also optionally LICENSE_MAX_SESSIONS,LICENSE_SESSION_WARNING and LICENSE_MAX_USERS.

Description : What is a trace file and how is it created ?

Last Answer : Each server and background process can write an associated trace file. When an internal error is detected by a process or user process, it dumps information about the error to its trace. This can be used for tuning the database.

Description : What view would you use to look at the size of a data file?

Last Answer : DBA_DATA_FILES

Description : How do you resize a data file?

Last Answer : ALTER DATABASE DATAFILE RESIZE ;

Description : How do you add a data file to a tablespace

Last Answer : ALTER TABLESPACE ADD DATAFILE SIZE

Description : What command would you use to create a backup control file?

Last Answer : Alter database backup control file to trace.

Description : How do you switch from an init.ora file to a spfile?

Last Answer : Issue the create spfile from pfile command.

Description : What is the use of control file?

Last Answer : When an instance of an Oracle database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.

Description : What does a control file contains?

Last Answer : Database name - Names and locations of a database's files and redolog files. - Time stamp of database creation.

Description : Table Space,Data Files,Parameter File, Control Files

Last Answer : Table Space :: The table space is useful for storing the data in the database.When a database is created two table spaces are created. a) System Table space :: This data file stores all the tables ... They contain the Db name, name and location of dbs, data files ,redo log files and time stamp.

Description : Explain the following file extension related to library?

Last Answer : .pll,.lib,.pld The library pll files is a portable design file comparable to an fmb form file The library lib file is a plat form specific, generated library file comparable to a fmx form file The pld file is Txt format file and can be used for source controlling your library files Parameter

Description : Write the Abbreviation for the following File Extension 1. FMB 2. MMB 3. PLL?

Last Answer : FMB ----- Form Module Binary. MMB ----- Menu Module Binary. PLL ------ PL/SQL Library Module Binary.

Description : What is a Control file ?

Last Answer : Database overall physical architecture is maintained in a file called control file. It will be used to maintain internal consistency and guide recovery operations. Multiple copies of control files are advisable.

Description : What is the use of FILE option in IMP command ?

Last Answer : The name of the file from which import should be performed.

Description : It is possible to use raw devices as data files and what is the advantages over file. system files ?

Last Answer : Yes. The advantages over file system files. I/O will be improved because Oracle is bye-passing the kernnel which writing into disk. Disk Corruption will be very less.

Description : How can a text file be attached to a report while creating in the report writer?

Last Answer : By using the link file property in the layout boiler plate property sheet.

Description : What use of command line parameter cmd file?

Last Answer : It is a command line argument that allows you to specify a file that contain a set of arguments for r20run.

Description : How does one add users to a password file? (for DBA

Last Answer : One can select from the SYS.V_$PWFILE_USERS view to see which users are listed in the password file. New users can be added to the password file by granting them SYSDBA or SYSOPER privileges, or by using the orapwd utility. GRANT SYSDBA TO scott;

Description : How does one create a password file? (for DBA

Last Answer : The Oracle Password File ($ORACLE_HOME/dbs/orapw or orapwSID) stores passwords for users with administrative privileges. One needs to create a password files before remote administrators (like OEM) will be ... visible in the process table of many systems. Administrators needs to be aware of this!