October 19, 2018

Srikaanth

Zensar Technologies Most Frequently Asked Latest Oracle Interview Questions Answers

What Is Use Of Rollback Segments In Oracle Database?

They allow the database to maintain read consistency between multiple transactions.

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 systems 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.

What Is Redo Log File Mirroring? How Can Be Achieved?

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.

How To Implement The Multiple Control Files For An Existing Database?

Shutdown the database
Copy one of the existing controlfile to new location
Edit Config ora file by adding new control filename
Restart the database.
Zensar Technologies Most Frequently Asked Latest Oracle Interview Questions Answers
Zensar Technologies Most Frequently Asked Latest Oracle Interview Questions Answers

What Is Redo Log Buffer?

Changes made to the records 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, they will first brought to redo log buffers in SGA and LGWR will write into files frequently. LOG_BUFFER parameter will decide the size.

What Is Meant By Recursive Hints?

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.

What Is Dictionary Cache?

Dictionary cache is information about the database objects stored in a data dictionary table.

What Is Database Buffers?

Database buffers are cache in the SGA used to hold the data blocks that are read from the data segments in the database such as tables, indexes and clusters DB_BLOCK_BUFFERS parameter in INIT.ORA decides the size.

What Are The Factors Causing The Reparsing Of Sql Statements In Sga?

Due to insufficient shared pool size.
Monitor the ratio of the reloads takes place while executing SQL statements. If the ratio is greater than 1 then increase the SHARED_POOL_SIZE.
Database Logical & Physical Architecture

What Is A Data Segment?

Data segment are the physical areas within a database block in which the data associated with tables and clusters are stored.

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.

When Will Be A Segment Released?

When Segment is dropped.
When Shrink (RBS only)
When truncated (TRUNCATE used with drop storage option)

How Will You Monitor The Space Allocation?

By querying DBA_SEGMENT table/view

What Are The Advantages Of Views?

Provide an additional level of table security, by restricting access to a predetermined set of rows and columns of a table.
 Hide data complexity.
 Simplify commands for the user.
 Present the data in a different perspective from that of the base table.
 Store complex queries.

Can A View Based On Another View?

Yes.

Do A View Contain Data?

Views do not contain or store data.

Subscribe to get more Posts :