DB2 - 5 Flashcards

1
Q

To facilitate the restoration or logical recovery of a database system, the database server generates a consistency point, called a:

Dead lock
Checkpoint
Ziplock
Live lock

A

Checkpoint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

On a data partitioned table, you can reorganize a specific nonpartitioned index on a partitioned table.

True or False?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The RUNSTATS command updates statistics in the system catalog about the characteristics of a :

Java Virtual Machine
Python thread
Table, associated indexes, or statistical views
ISAM file

A

Table, associated indexes, or statistical views

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What would be a real-world use case for Table Partitioning?

VSAM blows up
The amount of rows in a table is affecting query performance.
File is on Tape
Fortran compiler is not available

A

The amount of rows in a table is affecting query performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A schema is a collection of:

Named objects classified logically in the database.
Really old programming languages
Unblocked structures
Memory allocated

A

Named objects classified logically in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A table space is a storage structure. It contains:

Cobol Data Division
Fortran77 READ Statements
Tables, indexes, large objects, and long data.
Primos Operating System

A

Tables, indexes, large objects, and long data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

REPORT provides information about table spaces, tables, and indexes that is useful for recovery.

True or False?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A set of Storage paths to store a database table or objects is a storage group.

True or False?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The RECOVER DATABASE command restores and rolls forward a database to a particular point in time.

True or False?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why would you use the REORG utility?

Ensure that the data is available in WORKING STORAGE
Ensure that the data is written to the heap
Ensure that the data is seen by ZOS
Ensure that the data is situated in an optimal fashion for subsequent access.

A

Ensure that the data is situated in an optimal fashion for subsequent access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly