CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
Database Administration Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM ORACLE INTERVIEW QUESTIONS DATABASE ADMINISTRATION INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

Database Administration Interview Questions & Answers - Learning Mode

Database administration is the function of managing and maintaining database management systems (DBMS) software. Mainstream DBMS software such as Oracle, IBM DB2 and Microsoft SQL Server need ongoing management.

Try Database Administration Interview Questions & Answers - Exam Mode

1 2 3 4 5 Next

Sort By : Latest First | Oldest First | By Rating

Database Administration Interview Questions & Answers - Learning Mode
Try Database Administration Interview Questions & Answers - Exam Mode
Question: What is a deadlock ? Explain .

Answer: Two processes wating to update the rows of a table which are locked by the other process then deadlock arises. In a database environment this will often happen because of not issuing proper row lock commands. Poor design of front-end application may cause this situation and the performance of server will reduce drastically.
These locks will be released automatically when a commit/rollback operation performed or any one of this processes being killed externally. Source: CoolInterview.com
Question: What is ORA-1555?



Answer: I think its snapshot too old error. Source: CoolInterview.com
Question: What is a datafile

Answer: It is the file where actual data are stored.
It is the physical part of the database Source: CoolInterview.com
Question: How do you handle exceptions / errors in stored procedures?



Answer: Exceptions can be handled in various ways in the stored procedures. Method (1) could be using EXCEPTION block in the procedure within which use WHEN <exceptionname> THEN. Method (2) could be declare a variable in DECLARE section as EXCEPTION type, raise it wherever required using RAISE <exception variable name> and handle it in EXCEPTION part using WHEN clause. Method (3) could be using the keywords SQLCODE & SQLERRM to display error no and error code.. Source: CoolInterview.com
Question: What is private database link

Answer: You can create a private database link in a specific schema of a database. Only the owner of a private database link or
PL/SQL subprograms in the schema can use a private database link to access data and database objects in the corresponding remote database.

A private database link is more secure than a public or global link, because only the owner of the private link, or subprograms within the same schema, can use the private link to access the specified remote database.
CoolInterview.com
Question: What is database link

Answer: A database link is a pointer in the local database that allows you to access on a remote database.

Source: CoolInterview.com
Question: What is Parallel Server ?

Answer: Multiple instances accessing the same database (Only In Multi-CPU environments) Source: CoolInterview.com
Question: What is SYSTEM tablespace and when is it created

Answer: System tablespace is the memory allocated by oracle for creation of objects,views,indexes.

this is created automatically by oracle when the Database is created Source: CoolInterview.com
Question: What is cluster key

Answer: The related columns of the tables are called the cluster key. The cluster key is indexed using a cluster index and its value is stored only once for multiple tables in the cluster. Source: CoolInterview.com
Question: What is an Index ? How it is implemented in Oracle Database ?

Answer: 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 comman (Ver 7.0) Source: CoolInterview.com
Question: What is a private synonym

Answer: To create a private synonym in your own schema, you must have CREATE SYNONYM system privilege.

To create a private synonym in another user's schema, you must have CREATE ANY SYNONYM system privilege.

To create a PUBLIC synonym, you must have CREATE PUBLIC SYNONYM system privilege.

Use the CREATE SYNONYM statement to create a synonym, which is an alternative name for a table, view, sequence, procedure, stored function, package, materialized view, Java class schema o Source: CoolInterview.com
Question: What are the characteristics of data files

Answer: Characterstics of Data File :
- A Data file can be associated with only one database.
- Once created, a data file cannot change is size.
- One or more data files form a logical unit of database storage called a Tablespace. Source: CoolInterview.com
Question: What is a cluster key

Answer: The related columns of the tables are called the cluster key. The cluster key is indexed using a cluster index and its value is stored only once for multiple tables in the cluster. Source: CoolInterview.com
Question: How are the index updates

Answer: Indexes can be updated by either Dropping and recreating them, or Rebuilding them online.
Source: CoolInterview.com
Question: What is the relation between free list and buffer busy wait?






Answer: Buffer busy wait is the condition in which oracle server has to wait to access the segment header block for the table on which concurrent insert or delete operation r to be done.the segment header block contains control info including header link for free list blocks for table,if we increase the freelist or freelist_group paramater,it gives multiple segment headers.which reduces the "buffer busy wait" Source: CoolInterview.com
Question: What is hash cluster

Answer:
Question: What is data block

Answer: Block is the smallest unit of storage in the
logical structure of the database where
actual table rows are stored. Source: CoolInterview.com
Question: Explain the relationship among database, tablespace and data file.What is schema

Answer: Databases, tablespaces and datafiles are closely related, but they have important differences:

--- A Oracle Database consists of one or more tablespaces
--- Each Table space in an Oracle database consists of one or more files called datafiles.
--- A database's data is collectively stored in the datafiles that constitute each tablespace of the database. Source: CoolInterview.com
Question: Can we decrease the Datafile size?




Answer: Yes you can decrease the size of the datafile to the place where the extents are deallocated in to it by resizing the datafiles to something smaller than current. If the data in the datafile is scattered than reorg the object in the tablespace to deallocate the extent and decrease the filesize

Source: CoolInterview.com
Question: What is the function of redo log

Answer: The primary function of the redo log is to record all changes made to data.

Source: CoolInterview.com

1 2 3 4 5 Next



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.015625 Seconds