Sunday 11 October 2015

Oracle DBA Interview Questions Part-2








1. What is an Index?
An Index is an optional structure associated with a table to have direct access to rows, which can be created to increase the performance of data retrieval. Index can be created on one or more columns of a table.

2. How is Indexes Update?
Indexes are automatically maintained and used by ORACLE. Changes to table data are automatically incorporated into all relevant indexes.

3. What are Clusters?
Clusters are groups of one or more tables physically stores together to share common columns and are often used together.

4. What is cluster Key?
The related columns of the tables in a cluster are called the Cluster Key.

5. What is Index Cluster?
A Cluster with an index on the Cluster Key.

6. What is Hash Cluster?
A row is stored in a hash cluster based on the result of applying a hash function to the row's cluster key value. All rows with the same hash key value are stores together on disk.

7. When can Hash Cluster used?
Hash clusters are better choice when a table is often queried with equality queries. For such queries the specified cluster key value is hashed. The resulting hash key value points directly to the area on disk that stores the specified rows.

8. What is Database Link?
A database link is a named object that describes a "path" from one database to another.

9. What are the types of Database Links?
Private Database Link, Public Database Link & Network Database Link.

10. What is Private Database Link?
Private database link is created on behalf of a specific user. A private database link can be used only when the owner of the link specifies a global object name in a SQL statement or in the definition of the owner's views or procedures.

11. What is Public Database Link?
Public database link is created for the special user group PUBLIC. A public database link can be used when any user in the associated database specifies a global object name in a SQL statement or object definition.

12. What is Network Database link?
Network database link is created and managed by a network domain service. A network database link can be used when any user of any database in the network specifies a global object name in a SQL statement or object definition.

13. What is Data Block?
ORACLE database's data is stored in data blocks. One data block corresponds to a specific number of bytes of physical database space on disk.

14. How to define Data Block size?
A data block size is specified for each ORACLE database when the database is created. A database users and allocated free database space in ORACLE data blocks. Block size is specified in INIT.ORA file and can’t be changed latter.

15. What is Row Chaining?
In Circumstances, all of the data for a row in a table may not be able to fit in the same data block. When this occurs, the data for the row is stored in a chain of data block (one or more) reserved for that segment.

Oracle DBA Interview Questions - 1

Oracle DBA Interview Questions - 3

0 comments:

Post a Comment