What is On-line Redo Log?

1 Answer

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

Related questions

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 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 Archived Redo Log?

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

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 : 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 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 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 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 meant by Redo Log file mirroring ? How it can be achieved?

Last 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 ... . If any one group fails then database automatically switch over to next group. It degrades performance.

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 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 : How many rows will the following SQL return

Last Answer : Select * from emp Where rownum < 10; 9 rows.

Description : Can you use %RowCount as a parameter to a cursor

Last Answer : Yes

Description : What are the various types of RollBack Segments ?

Last Answer : Public Available to all instances Private Available to specific instance

Description : Can you pass a parameter to a cursor ?

Last Answer : Explicit cursors can take parameters, as the example below shows. A cursor parameter can appear in a query wherever a constant can appear. CURSOR c1 (median IN NUMBER) IS SELECT job, ename FROM emp WHERE sal > median

Description : What is the significance of the & and && operators in PL SQL ?

Last Answer : The & operator means that the PL SQL block requires user input for a variable. The && operator means that the value of this variable should be the same as inputted by the user previously ... span across different rollback segments or will it terminate ? It will terminate (Please check ).

Description : What is the maximum no. of columns a table can have ?

Last Answer : 254.

Description : Can you Rollback to any savepoint ?

Last Answer : Yes.

Description : Can you define multiple savepoints ?

Last Answer : Yes.

Description : An insert statement followed by a create table statement followed by rollback ? Will the rows be inserted ?

Last Answer : No.

Description : What is the difference between unique key and primary key ?

Last Answer : Unique key can be null; Primary key cannot be null.

Description : What are the states of a rollback segment ? What is the difference between partly available and needs recovery ?

Last Answer : The various states of a rollback segment are : ONLINE, OFFLINE, PARTLY AVAILABLE, NEEDS RECOVERY and INVALID.

Description : What are the min. extents allocated to a rollback extent ?

Last Answer : Two

Description : Can Check constraint be used for self referential integrity ? How ?

Last Answer : ? Yes. In the CHECK condition for a column of a table, we can reference some other column of the same table and thus enforce self referential integrity.

Description : Can null keys be entered in cluster index, normal index ?

Last Answer : Yes.

Description : Can Long/Long RAW be clustered ?

Last Answer : No.

Description : What are the disadvantages of clusters ?

Last Answer : The time for Insert increases.

Description : What are the advantages of clusters ?

Last Answer : Access time reduced for joins.

Description : What is the use of Data Dictionary ?

Last Answer : Used by Oracle to store information about various physical and logical Oracle structures e.g. Tables, Tablespaces, datafiles, et

Description : What is the use of Control files ?

Last Answer : Contains pointers to locations of various data files, redo log files, etc.

Description : Can you increase the size of datafiles ? How ?

Last Answer : No (for Oracle 7.0)

Description : Can you increase the size of a tablespace ? How ?

Last Answer : Yes, by adding datafiles to it.

Description : Describe Oracle database's physical and logical structure

Last Answer : Physical : Data files, Redo Log files, Control file. Logical : Tables, Views, Tablespaces, etc.

Description : What are constraining triggers ?

Last Answer : A trigger giving an Insert/Updat e on a table having referential integrity constraint on the triggering table.

Description : What are mutating triggers ?

Last Answer : A trigger giving a SELECT on the table on which the trigger is written.

Description : What are cascading triggers? What is the maximum no of cascading triggers at a time?

Last Answer : When a statement in a trigger body causes another trigger to be fired, the triggers are said to be cascading. Max = 32.

Description : Can views be specified in a trigger statement ?

Last Answer : No

Description : What is the maximum no. of statements that can be specified in a trigger statement?

Last Answer : One.

Description : What is the advantage of a stored procedure over a database trigger ?

Last Answer : We have control over the firing of a stored procedure but we have no control over the firing of a trigger.

Description : What are the various types of database triggers ?

Last Answer : There are 12 types of triggers, they are combination of : Insert, Delete and Update Triggers. Before and After Triggers. Row and Statement Triggers. (3*2*2=12)

Description : What are the parts of a database trigger ?

Last Answer : The parts of a trigger are: A triggering event or statement A trigger restriction A trigger action

Description : Can you pass parameters in packages ? How ?

Last Answer : Yes. You can pass parameters to procedures or functions in a package.

Description : Why Create or Replace and not Drop and recreate procedures ?

Last Answer : So that Grants are not dropped.

Description : What are the constructs of a procedure, function or a package ?

Last Answer : The constructs of a procedure, function or a package are : variables and constants cursors exceptions

Description : Can 2 functions have same name & input parameters but differ only by return datatype

Last Answer : No.

Description : Can functions be overloaded ?

Last Answer : Yes.

Description : What is Over Loading and what are its restrictions ?

Last Answer : OverLoading means an object performing different functions depending upon the no. of parameters or the data type of the parameters passed to it.