SQL Tuning Tools

SQL Tuning Tools

Professional Development

10 Qs

quiz-placeholder

Similar activities

SQL Sesi 1

SQL Sesi 1

Professional Development

10 Qs

SQL JOINs 2

SQL JOINs 2

Professional Development

10 Qs

Connecting to a Database using PHP (Part 2)

Connecting to a Database using PHP (Part 2)

Professional Development

9 Qs

DP 300 Practice

DP 300 Practice

Professional Development

11 Qs

Snowflake 14/02/2024

Snowflake 14/02/2024

Professional Development

10 Qs

PPW (EM24) - Introducción al contenido dinámico (T8)

PPW (EM24) - Introducción al contenido dinámico (T8)

University - Professional Development

12 Qs

Test de conocimientos previos GBD

Test de conocimientos previos GBD

Professional Development

15 Qs

PHP & MySQL - parte 2

PHP & MySQL - parte 2

9th Grade - Professional Development

10 Qs

SQL Tuning Tools

SQL Tuning Tools

Assessment

Quiz

Professional Development, Computers

Professional Development

Hard

Created by

Hartono Kurniawan

Used 10+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What areas of Oracle tuning have the most impact on system performance?

Logical design tuning

Physical design tuning

SGA tuning

SQL tuning

Answer explanation

This is because a good logical design will greatly minimize disk I/O, since less work is required to retrieve the desired information. What areas of Oracle tuning have the most impact on system performance? B is incorrect because physical tuning will only optimize tables that have already been designed. C is incorrect because SGA tuning has far less impact than design. D is incorrect because no amount of SQL tuning can compensate for a bad design.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

You enabled tracing for a session by executing the following command: SQL>SET AUTOTRACE TRACEONLY; You issued a SQL query in the same session. Which two statements are true?

a) Trace for the statement would be created without displaying the query output.

b) It generates a report on the execution path used by the SQL optimizer and the statement execution statistics.

c) Above a and b

d) It generates only the statement execution statistics without executing the query.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which case is the database buffer cache NOT used?

When physical I/Os are performed to read from data files.

When the database writer process writes to the SYSTEM tablespace

When the server process writes sort data to the temporary tablespace

When the database writer process writes undo data to the undo tablespace

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What indicates that the rate of writing data blocks to the disk is very slow?

Very high cache-hit ratio

Increasing number of free buffer waits

Increasing number of buffer busy waits

Waits on latch: cache buffers chains event

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What best describes the relationship between indexes and SQL performance?

Indexes are only used in special cases

Indexes are used to make table storage more efficient

Indexes rarely make a difference in SQL performance

Indexes exist solely to improve query speed

Answer explanation

The sole purpose of indexes in any relational database management system is to reduce the access time for SQL statements. The SQL optimizer can detect when and indexes present, and use sophisticated algorithms in order to determine the fastest way of accessing the data. If indexes did not exist in a relational database the Oracle database SQL optimizer would have no choice except to read every single row in the table.

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is not an important Oracle tuning metric?

Buffer hit ratio

Library cache hit ratio

Full-table scans

Buffer busy waits

Answer explanation

This is because some applications read most of a table, in which case a full-table scan is the fastest way to access the table. Which of the following is not an important Oracle tuning metric? A, B, and C are all important indicators of how well optimized the performance is for the database.

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Why is searching for large-table full-table scans critical to SQL tuning?

They indicate an optimized execution plan.

They may be able to be tuned to use an index

The full-table scan should be normalized from the database design

A full-table scan is always sub-optimal.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?