Exam 11: Database Performance Tuning and Query Optimization

arrow

11,179 students have unlocked this exam

  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A system will perform best when its hardware and software resources are .

Free
(Short Answer)
4.9/5
(35)
Correct Answer:
Verified

optimized

Most current-generation relational DBMSs perform automatic query optimization at the client end.

Free
(True/False)
4.9/5
(37)
Correct Answer:
Verified

False

is a measure of the likelihood that an index will be used in query processing.

Free
(Short Answer)
4.8/5
(39)
Correct Answer:
Verified

Index selectivity

The data cache or is a shared, reserved memory area that stores the most recently accessed data blocks in RAM.

(Multiple Choice)
4.8/5
(37)

How should storage volumes be allocated for indexes, system, and high-usage tables?

(Essay)
4.9/5
(44)

The cache is used as a temporary storage area for ORDER BY or GROUP BY operations, as well as for index-creation functions.

(Multiple Choice)
4.8/5
(40)

A cost-based optimizer uses a set of preset rules and points to determine the best approach to execute a query.

(True/False)
4.9/5
(41)

To work with data, a DBMS must retrieve the data from and place them in .

(Multiple Choice)
4.8/5
(41)

In standard SQL, the optimizer hint ALL_ROWS is generally used for mode processes.

(Multiple Choice)
4.8/5
(41)

When setting optimizer hints, instructs the optimizer to minimize the overall execution time, that is, to minimize the time it takes to return the total number of rows in the query result set. This hint is generally used for batch mode processes.

(Multiple Choice)
4.8/5
(34)

The majority of primary memory resources will be allocated to the cache.

(Multiple Choice)
4.8/5
(42)

The process analyzes SQL queries and finds the most efficient way to access data.

(Multiple Choice)
4.7/5
(31)

Fully equivalent means that the optimized query results are always the same as the original query.

(True/False)
5.0/5
(38)

is the central activity during the parsing phase in query processing.

(Multiple Choice)
4.9/5
(39)

A conditional expression is normally expressed within the or HAVING clauses of a SQL statement.

(Short Answer)
4.8/5
(37)

DBMS performance tuning includes global tasks such as managing the DBMS processes in primary memory and managing the structures in physical storage.

(True/False)
4.9/5
(44)

Good database performance is easy to evaluate.

(True/False)
4.9/5
(28)

The cache stores the most recently executed SQL statements.

(Multiple Choice)
4.8/5
(38)

On the client side, the objective is to generate an SQL query that returns a correct answer in the least amount of time, using a minimum amount of resources at the server end. The activities required to achieve this goal are commonly referred to as tuning.

(Multiple Choice)
4.9/5
(44)

A is good for simple and fast lookup operations based on equality conditions.

(Short Answer)
4.7/5
(36)
Showing 1 - 20 of 85
close modal

Filters

  • Essay(6)
  • Multiple Choice(35)
  • Short Answer(18)
  • True False(26)
  • Matching(0)