Memory Management

  Home  Oracle  Memory Management


“Oracle Memory Management Interview Questions and Answers will guide us that Oracle Memory management is the act of managing computer memory. This involves providing ways to allocate partions of memory to programs at their request, and freeing it for reuse when no longer needed. The management of main memory is critical to the computer system. So learn the basics and advance level Oracle Memory Management with the help of this Oracle Memory Management Interview Questions with Answers guide”



61 Memory Management Questions And Answers

22⟩ What is a Control file?

The Control File is a small binary file necessary for the database to start and operate successfully. Each Control file is associated with only one Oracle database. Before a database is opened, the control file is read to determine if the database is in a valid state to USE.

The Control file is not accessible, the database does not function properly.

 200 views

29⟩ What is hit ratio?

Hit Ratio is the ratio of shared SQL and PL/SQL items found in the Library Cache versus physical storage.It can also be defined in a mathematical expression as 1 - ((physical reads) / (db block gets + consistent reads)).

 202 views

30⟩ What are disadvantages of having raw devices?

We should depend on export/import utility for backup/recovery (fully reliable) The tar command cannot be used for physical file backup, instead we can use dd command which is less flexible and has limited recoveries.

 203 views

31⟩ What is use of rollback segments in Oracle database?

When a user updated a particular table (for example 100 rows) the old value will be retained in the roll back segments(Oracle 8) and now it is Undo segment (oracle 9i). If the user issue a rollback command the old value will be taken from the rollback segment(that too if undo_retention parameter set properly in the parameter file).

 232 views

32⟩ What is advantage of having disk shadowing / mirroring?

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 support volume shadowing can direct file I/O request to use the shadow set of files instead of the main set of files. This reduces I/O load on the main set of disks.

 194 views

36⟩ What is SGA? How it is different from Ver 6.0 and Ver 7.0?

The System Global Area in a Oracle database is the area in memory to facilitates the transfer of information between users. It holds the most recently requested structural information between users. It holds the most recently requested structural information about the database. The structure is Database buffers, Dictionary cache, Redo Log Buffer and Shared SQL pool (ver 7.0 only) area.

 216 views

37⟩ What is a Shared SQL pool?

The data dictionary cache is stored in an area in SGA called the Shared SQL Pool. This will allow sharing of parsed SQL statements among concurrent users.

 183 views

39⟩ List the factors that can affect the accuracy of the estimations?

The space used transaction entries and a deleted record does not become free immediately after completion due to delayed cleanout.

Trailing nulls and length bytes are not stored. Inserts of, updates to and deletes of rows as well as columns larger than a single datablock, can cause fragmentation and chained row pieces.

 182 views

40⟩ What are the different kind of export backups?

Full back - Complete database

Incremental - Only affected tables from last incremental date/full backup date.

Cumulative backup - Only affected table from the last cumulative date/full backup date.

 219 views