1) Oracle Administrator Question & Answers
1) Oracle Administrator Question & Answers
1) Oracle Administrator Question & Answers
**********************************************************************************
3) What is database?
Databse is a structure that stores information about multiple types of
entities, the attributes (or characteristics) of the entities, and the
relationships among the entities.
11) What are the difference between clustered and a non-clustered index?
A clustered index is a special type of index that reorders the way records in
the table are physically stored. Therefore table can have only one clustered index.
The leaf nodes of a clustered index contain the data pages.
A Nonclustered index is a special type of index in which the logical order of
the index does not match the physical stored order of the rows on disk.
12) What is a Tablespace?
A database is divided into Logical Storage Unit called tablespace. A
tablespace is used to grouped related logical structures together.
17) What are the dictionary tables used to monitor a database spaces ?
DBA_FREE_SPACE
DBA_SEGMENTS
DBA_DATA_FILES
18) Explain the difference between a data block, an extent and a segment?
A data block is the smallest unit of logical storage for a database object.
As objects grow they take chunks of additional storage that are composed of
contiguous data blocks. These groupings of contiguous data blocks are called
extents. All the extents that an object takes when grouped together are considered
the segment of the database object.
19) What command would you use to create a backup control file?
Alter database backup control file to trace.
20) What is difference between UNIQUE constraint and PRIMARY KEY constraint?
A column defined as UNIQUE can contain Nulls while a column defined as
PRIMARY KEY can't contain Nulls. A table can have only one primary keys.
22) Name a tablespace, which is automatically created when you create a database?
The system tablespace is created automatically during database creation
23) Which flle is accessed first when you start an oracle database?
Parameter file, and spfile
25) How do you view parameter values when you are using pfile or spfile?
Show parameter command from sql*plus and query v$paramter command view to see
values of the paqramters.
26) How can you convert spfile to pfile and pfile to spfile?
sql> create spfile from pfile;
sql> create pfile from spfile;
22) What are the three types of files that make up an Oracle database?
Datafiles
Control files and
Redo log files.
32) What is the difference between an index cluster and a hash cluster?
An index cluster is a cluster that has an index on the cluster key,
Whereas the hash cluster uses a hashing function to access the cluster key.
41) What is the difference between incremental backup and differential backup?
Both, incremental and differential backup files that have been modified or
created after the previous backup. However, attributes are reset after the
incremental backup but after the differential backup.
47) What is the difference between hot backup and cold backup?
Hot backup is taken when database is still online while cold backup is taken
when database is offline.
Database needs to be in the archive log mode for the hot backup but there is
no such requirement for the cold backup.
49) What is the difference between hot backup and cold backup?
Hot backup is taken when database is still online while cold backup is taken
when database is offline.
Database needs to be in the archive log mode for the hot backup but there is
no such requirement for the cold backup.
58) How do you control the maximum number of redo log files in a database?
The maximum number of redo log files can be controlled by the parameter
MAXLOGFILES.
62) What is the difference between a temporary table space and a permanent table
space?
A temporary tablespace provides temporary storage during the processing of
database function, such as sorting; whereas
A permanent tablespace is used to store permanent database objects, such as
tables, partitions, indexes and clusters.
========================================================================THE
END===============================================================================