Database Administration Questions

Q:

What are the Referential actions supported by FOREIGN KEY integrity constraint?

Answer

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.

Report Error

View answer Workspace Report Error Discuss

0 1392
Q:

What are the responsibilities of a Database Administrator?

Answer

- Installing and upgrading the Oracle Server and application tools.


- Allocating system storage and planning future storage requirements for the database system.


- Managing primary database structures (tablespaces)


- Managing primary objects (table, views, indexes)


- Enrolling users and maintaining system security.


- Ensuring compliance with Oracle license agreement


- Controlling and monitoring user access to the database.


- Monitoring and optimizing the performance of the database.


- Planning for backup and recovery of database information.


- Maintain archived data on tape


- Backing up and restoring the database.


- Contacting Oracle Corporation for technical support.

Report Error

View answer Workspace Report Error Discuss

0 1389
Q:

What does a Control file Contain?

Answer

A Control file records the physical structure of the database. It contains the following information. Database Name ,Names and locations of a database’s files and redolog files. Time stamp of database creation.

Report Error

View answer Workspace Report Error Discuss

0 1370
Q:

How do you resize a data file?

Answer

ALTER DATABASE DATAFILE <datafile_name> RESIZE <new_size>; 

Report Error

View answer Workspace Report Error Discuss

0 1363
Q:

Explain an ORA-01555?

Answer

You get this error when you get a snapshot too old within rollback. It can usually be solved by increasing the undo retention or increasing the size of rollbacks. You should also look at the logic involved in the application getting the error message.

Report Error

View answer Workspace Report Error Discuss

0 1352
Q:

What are the database administrators utilities available?

Answer

SQL * DBA - This allows DBA to monitor and control an ORACLE database. SQL * Loader - It loads data from standard operating system files (Flat files) into ORACLE database tables. Export (EXP) and Import (imp) utilities allow you to move existing data in ORACLE format to and from ORACLE database.

Report Error

View answer Workspace Report Error Discuss

0 1340
Q:

How do you add a data file to a tablespace?

Answer

ALTER TABLESPACE ADD DATAFILE <datafile_name> SIZE <size>

Report Error

View answer Workspace Report Error Discuss

0 1340
Q:

How would you force a log switch?

Answer

ALTER SYSTEM SWITCH LOGFILE;

Report Error

View answer Workspace Report Error Discuss

0 1333