October 20, 2018

Srikaanth

IBM Most Frequently Asked Latest Oracle Interview Questions Answers

How Will You Enforce Security Using Stored Procedures?

Don’t grant user access directly to tables within the application.
Instead grant the ability to access the procedures that access the tables.
When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.

What Is User Account In Oracle Database?

A user account is not a physical structure in database but it is having important relationship to the objects in the database and will be having certain privileges.

List The Factors That Can Affect The Accuracy Of The Estimations?

- The space used transaction entries and deleted records, 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 data block, can cause fragmentation a chained row pieces.

What Is A Public Synonym?

Any database user can access a public synonym.
IBM Most Frequently Asked Latest Oracle Interview Questions Answers
IBM Most Frequently Asked Latest Oracle Interview Questions Answers

What Is A Private Synonym?

Only its owner can access a private synonym.

What Are The Types Of Synonyms?

There are two types of synonyms private and public.

What Is A Synonym?

A synonym is an alias for a table, view, sequence or program unit.

What Is The Significance Of Having Storage Clause?

We can plan the storage for a table as how much initial extents are required, how much can be extended next, how much % should leave free for managing row updating, etc.,

Which Parameter In Storage Clause Will Reduce Number Of Rows Per Block?

PCTFREE parameter
Row size also reduces no of rows per block.

What Is Meant By Free Extent?

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.

How Will You Force Database To Use Particular Rollback Segment?

SET TRANSACTION USE ROLLBACK SEGMENT rbs_name.

List The Optional Flexible Architecture (ofa) Of Oracle Database? How Can We Organize The Tablespaces In Oracle Database To Have Maximum Performance?

SYSTEM – Data dictionary tables.
DATA - Standard operational tables.
DATA2- Static tables used for standard operations
INDEXES – Indexes for Standard operational tables.
INDEXES1 – Indexes of static tables used for standard operations.
TOOLS – Tools table.
TOOLS1 – Indexes for tools table.
RBS – Standard Operations Rollback Segments,
RBS1,RBS2 – Additional/Special Rollback segments.
TEMP – Temporary purpose tablespace
TEMP_USER – Temporary tablespace for users.
USERS – User tablespace.

How Will You Swap Objects Into A Different Table Space For An Existing Database?

- Export the user
- Perform import using the command imp system/manager file=export.dmp indexfile=newrite.sql. This will create all definitions into newfile.sql.
- Drop necessary objects.
- Run the script newfile.sql after altering the tablespaces.
- Import from the backup for the necessary objects.

What Is An Index? How It Is Implemented In Oracle Database?

An index is a database structure used by the server to have direct access of a row in a table. An index is automatically created when a unique of primary key constraint clause is specified in create table command

What Is A Schema?

The set of objects owned by user account is called the schema.

What Is Parallel Server?

Multiple instances accessing the same database (only in multi-CPU environments)

What Is A Database Instance? Explain.

A database instance (Server) is a set of memory structure and background processes that access a set of database files. The processes can be shared by all of the users.

The memory structure that is used to store the most queried data from database. This helps up to improve database performance by decreasing the amount of I/O performed against data file.

Subscribe to get more Posts :