-
What is self-referential integrity constraint ?
If a foreign key reference a parent key of the same table is called self-referential integrity constraint.
-
What are the Limitations of a CHECK Constraint ?
The condition must be a Boolean expression evaluated using the values in the row being inserted or updated and can't contain sub queries, sequence, the SYSDATE,UID,USER or USERENV SQL functions, or the pseudo columns LEVEL or ROWNUM.
-
What is a Synonym ?
A synonym is an alias for a table, view, sequence or program unit.
-
What are Clusters ?
Clusters are groups of one or more tables physically stores together to share common columns and are often used together.
-
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.
-
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.
-
What is an Integrity Constrains ?
An integrity constraint is a declarative way to define a business rule for a column of a table.
-
What are the Referential actions supported by FOREIGN KEY integrity constraint ?
UPDATE and DELETE Restrict - A referential integrity rule that disallows the update or deletion of referenced data.DELETE Cascade - When a referenced row is deleted all associated dependent rows are deleted.
-
-
-
Do View contain Data ?
Views do not contain or store data.
-
What is a Sequence ?
A sequence generates a serial list of unique numbers for numerical columns of a database's tables.
-
What are synonyms used for ?
Synonyms are used to : Mask the real name and owner of an object.Provide public access to an objectProvide location transparency for tables, views or program units of a remote database.Simplify the SQL statements for database users.
-
How are Indexes Update ?
Indexes are automatically maintained and used by ORACLE. Changes to table data are automatically incorporated into all relevant indexes.
-
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.
-
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 datablocks. Block size is specified in INIT.ORA file and can’t be changed latter.
-
What is an Extent ?
An Extent is a specific number of contiguous data blocks, obtained in a single allocation, and used to store a specific type of information.
-
What is a Segment ?
A segment is a set of extents allocated for a certain logical structure.
-
What are the different type of Segments ?
Data Segment, Index Segment, Rollback Segment and Temporary Segment.
-
What is an Index Segment ?
Each Index has an Index segment that stores all of its data.
Oracle Architecture Interview Questions
Ans