System Architecture

  Home  Oracle  System Architecture


“Oracle System Architecture frequently Asked Questions in various System Architecture related job Interviews by interviewer. Get preparation of System Architecture job interview questions”



36 System Architecture Questions And Answers

21⟩ Why is Oracle called kernel package?

Oracle introduced the Unbreakable Enterprise Kernel for Oracle Linux during Sep 2010 which runs directly on Oracle LINUX 5 with fast, modern, reliable kernel that is optimized for Oracle software and hardware.

 168 views

22⟩ Tell me what are the components of SGA?

Components of SGA are :

1> Shared pool : consists of shared sql area and shared pl/sql area

2> Data Base buffer cache(DB cache) : contains most recently used blocks & dirty blocks(modified but not yet written to datafile)

3> Redolog Buffer : contains changed/redo data

4> Large pool : used only in parellel sever environment

5> Java pool : used when you are using java strored procedures etc.

 178 views

25⟩ Tell me what are the functions of SMON?

System Monitor (SMON) performs instance recovery at instance start-up. In a multiple instance system (one that uses the Parallel Server), SMON of one instance can also perform instance recovery for other instance that have failed SMON also cleans up temporary segments that are no longer in use and recovers dead transactions skipped during crash and instance recovery because of file-read or off-line errors. These transactions are eventually recovered by SMON when the tablespace or file is brought back on-line SMON also coalesces free extents within the database to make free space contiguous and easier to allocate.

 201 views

26⟩ Explain what constitute an ORACLE Instance?

It's made up of Memory Structure and Blackground ProcessesMemory Struture(In oracle SGA(system global area))SGA consists of several memory areamandatory memory area1.shared pools=libary+data dictionary cache2.database buffer cache3.redo log bufferOptional1.large pool2.jave poolBACKGROUND Process(mandatory)1.smon(system monitor)2.pmon(process monitro)3.ckpt(check point)4.dbwr(database writer)5.lgwn(log writer)pls correct me,if i miss any point

 196 views

27⟩ Tell me what does LGWR do?

LGWR is oracle background process.. all changes which have been made inthe database gets recorded in the redolog buffer.. so when the users fires an commit statement , LGWR writes these changes it into thr redolog files. and also writes it into files when the redolog buffer is one thrid full... and also when buffer is nealy 1mb full lgwr writes it into redologfiles.

 179 views

28⟩ What is the function of checkpoint (CKPT)?

The checkpoint (CKPT) process frees up limited memory space and ensures instance recovery. It is a background process that monitors the number of dirty buffers that have not been written to disk. Depending on the LOG_CHECKPOINT_INTERVAL parameter, it also gives the DBWR a wakeup call to write dirty buffer to disk. At a specified time, it updates all the data and control files with the new log file control number. This process is optionally enabled if parameter CHECKPOINT_PROCESS contains a TRUE value

 193 views

29⟩ Explain when Does DBWR write to the database?

DBWn writes when:

1)checkpoint occurs

2)dirty buffers reach threshold

3)there are no free buffers

4)timeout occurs

5)RAC ping request is made

6)when any tablespace is taken offline,read only,drop or truncated & when begin backup

 190 views

30⟩ What is SGA in Oracle System Architecture?

System Global Area (SGA) is component of instance which consist shared memory & control information of the instance It consist of shared pool, database buffer cached, redo log buffer, large pool, Java pool.

 182 views

31⟩ What is Shared Pool in Oracle System Architecture?

Actually Shared pool is composed of two parts one is Library Cache and another Data Dictionary cache The Library cache contains the shared sql areas, private sql areas, PL/SQL procedures and packages, and control structures such as locks and Library cache handles, The shared sql area contains the parse tree and execution plan where as the private sql area contains values for bind variables and runtime buffers.the data dictionary cache holds most recently used database dictionary informations.

 173 views

33⟩ What is Cursor in Oracle System Architecture?

A cursor can be viewed as a "Pointer" into the result table of an SQL SELECT statement. Cursors are needed whenever the result contains more than one row. 3rd generation programs like COBOL and C cannot handle more than one row at a time. SQL produces a set-at-a-time. The cursor allows the set to be processed one row-at-a-time, just like a sequential file. COBOL and C are happy, SQL is happy. I'm happy.

 172 views

34⟩ Explain what do Redo Log Buffers contain?

Redo log buffers consists of change vectors where each vector contains information about which block is changed and where is the change done in the memory. This information will be useful when you are performing recovery and while writing to disk while checkpointing. There is a 1-to-1 correspondence with redo log buffers and data buffer cache buffers.

 186 views

35⟩ Explain what is Shared SQL Area?

Shared SQL areas are shared memory areas; any Oracle process can use a shared SQL area. The use of shared SQL areas reduces memory usage on the database server, thereby increasing system throughput. Shared SQL areas are aged out of the shared pool by way of a least recently used algorithm (similar to database buffers). To improve performance and prevent reparsing, you may want to prevent large SQL areas from aging out of the shared pool

 168 views