Craig Willey
Quiz von , erstellt am more than 1 year ago

College C192 Databases Quiz am C192 / Query Processing, erstellt von Craig Willey am 30/06/2020.

5
0
0
Craig Willey
Erstellt von Craig Willey vor etwa 4 Jahre
Schließen

C192 / Query Processing

Frage 1 von 10

1

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

Wähle eine der folgenden:

  • buffer cache

  • procedure cache

  • SQL cache

  • permanent storage

Erklärung

Frage 2 von 10

1

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

Wähle eine der folgenden:

  • a loop scan

  • a range scan

  • a row ID table access scan

  • a full table scan

Erklärung

Frage 3 von 10

1

One measure that determines the need for an index is the ____ of the column you want to index. ____ refers to the number of different values a column could possibly have.

Wähle eine der folgenden:

  • database Statistics

  • data sparsity

  • primary key

  • query optimization

Erklärung

Frage 4 von 10

1

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

Wähle eine der folgenden:

  • database Statistics

  • data sparsity

  • SQL query

  • query optimization

Erklärung

Frage 5 von 10

1

For 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.

Wähle eine der folgenden:

  • ALL_ROWS

  • FIRST_ROWS

  • INDEX(name)

  • OPTIMIZATION_ROWS

Erklärung

Frage 6 von 10

1

For 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.

Wähle eine der folgenden:

  • ALL_ROWS

  • FIRST_ROWS

  • INDEX(name)

  • OPTIMIZATION_ROWS

Erklärung

Frage 7 von 10

1

The ____ must be set large enough to permit as many data requests to be serviced from cache as possible.

Wähle eine der folgenden:

  • Data cache

  • SQL cache

  • Sort cache

  • Optimizer mode

Erklärung

Frage 8 von 10

1

The ____ stores the most recently executed SQL statements (after the SQL statements have been parsed by the optimizer).

Wähle eine der folgenden:

  • Data cache

  • SQL cache

  • Sort cache

  • Optimizer mode

Erklärung

Frage 9 von 10

1

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

Wähle eine der folgenden:

  • Data cache

  • SQL cache

  • Sort cache

  • Optimizer mode

Erklärung

Frage 10 von 10

1

Most DBMSs operate in one of two optimization modes: cost-based or rule-based. Others automatically de-termine the ____ based on whether database statistics are available.

Wähle eine der folgenden:

  • Data cache

  • SQL cache

  • Sort cache

  • Optimization mode

Erklärung