Database Administration Questions

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 1234
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 1228
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 1227
Q:

How would you go about increasing the buffer cache hit ratio?

Answer

Use the buffer cache advisory over a given workload and then query the v$db_cache_advice table. If a change was necessary then I would use the alter system set db_cache_size command.

Report Error

View answer Workspace Report Error Discuss

41 1227
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 1224
Q:

How would you force a log switch?

Answer

ALTER SYSTEM SWITCH LOGFILE;

Report Error

View answer Workspace Report Error Discuss

0 1210
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 1186
Q:

In a database table, the category of information is called

A) Record B) Field
C) Tuple D) None of the above
 
Answer & Explanation Answer: B) Field

Explanation:

In a database table, the category of information is called Field.

Report Error

View Answer Report Error Discuss

0 1183