Filters
Question type

Study Flashcards

The ____________________ analyzes the SQL query and finds the most efficient way to access the data.

Correct Answer

verifed

verified

The data cache caches system catalog data and the contents of the indexes.

A) True
B) False

Correct Answer

verifed

verified

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


A) ALL_ROWS
B) FIRST_ROWS
C) INDEX(P_QOH_NDX)
D) OPTIMIZATION_ROWS

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Why do we need to optimize a DBMS with SQL performance tuning, even though they automatically optimize SQL queries?

Correct Answer

verifed

verified

There is considerable room for improveme...

View Answer

Working with data in the data cache is many times faster than working with data in the data files.

A) True
B) False

Correct Answer

verifed

verified

True

The ____________________ cache is a shared, reserved memory area that stores the most recently executed SQL statements or PL/SQL procedures, including triggers and functions.

Correct Answer

verifed

verified

Database ____________________ activities can be divided into those taking place either on the client side or on the server side.

Correct Answer

verifed

verified

Describe query optimization and the modes that an optimizer can operate in.

Correct Answer

verifed

verified

Query optimization is the central activi...

View Answer

The ____ cache stores the most recently executed SQL statements.


A) data
B) SQL
C) sort
D) optimizer

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

If there is no index, the DBMS will perform a ____ scan.


A) loop
B) range
C) row ID table access
D) full table

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

When setting optimizer hints, ____ instructs the optimizer to minimize the time it takes to process the first set of rows, that is, to minimize the time it takes to return only the first set of rows in the query result set. This hint is generally used for interactive mode processes.


A) ALL_ROWS
B) FIRST_ROWS
C) INDEX(P_QOH_NDX)
D) OPTIMIZATION_ROWS

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

One of the main functions of a database system is to provide timely answers to end users.

A) True
B) False

Correct Answer

verifed

verified

True

How can queries be written to perform the fastest when equality and inequality comparisons are needed?

Correct Answer

verifed

verified

Equality comparisons are generally faste...

View Answer

The SQL execution activities are performed by the query optimizer.

A) True
B) False

Correct Answer

verifed

verified

Use __________________________________________________ to provide balance between performance and fault tolerance.

Correct Answer

verifed

verified

RAID
redundant array...

View Answer

Good database performance starts with good database design.

A) True
B) False

Correct Answer

verifed

verified

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


A) buffer cache
B) procedure cache
C) SQL cache
D) permanent storage

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

On the server side, the DBMS environment must be properly configured to respond to clients requests in the fastest way possible, while making optimum use of existing resources. The activities required to achieve that goal are commonly referred to as ____ tuning.


A) client and server
B) database
C) SQL performance
D) DBMS performance

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

D

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

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 70

Related Exams

Show Answer