Computer Knowledge

Database Management Systems

5,344 Questions

Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.

E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database

Database Management Systems Questions

Multiple choice
  1. The TIMED_STATISTICS parameter is set to TRUE.

  2. The hit percentage in the buffer cache is at least 95%.

  3. The OPEN_CURSOR parameter is set to at least twice the default value.

  4. The value in the RELOADS column of V$LIBRARYCACHE is consistently zero.
Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

CURSOR_SPACE_FOR_TIME parameter set to TRUE tells Oracle to keep cursors in memory even when not in use, trading memory for performance. Before enabling this, you must confirm that RELOADS in V$LIBRARYCACHE is consistently zero - meaning SQL statements aren't being reloaded, indicating sufficient shared pool memory.

Multiple choice
  1. GRANT DBA TO ALLEN;

  2. GRANT SYSDBA TO ALLEN;

  3. GRANT RESOURCE TO ALLEN;

  4. orapwd file=orapwdSTUD user=ALLEN password=DBA

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To grant remote DBA access in Oracle, you must grant SYSDBA privilege to the user. The GRANT SYSDBA TO ALLEN command adds Allen to the password file with SYSDBA privileges, allowing remote database startup and administration. Option A is incorrect because DBA is a role, not a privileged connection. Option D shows orapwd syntax for creating password files, not granting privileges.

Multiple choice
  1. Delete archived log files

  2. Add more online redo log groups

  3. Increase the size of archived log files

  4. increase the size of online redo log files

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Explanation

The 'Checkpoint Not Complete' message occurs when LGWR cannot write to redo log files because a checkpoint hasn't completed. This happens when redo logs are too small or too few. Solutions include: adding more redo log groups (B) so LGWR has more available logs, and increasing size of online redo log files (D) to provide more space between checkpoints. Deleting archived logs (A) doesn't help and increasing archived log size (C) is irrelevant.