• Keine Ergebnisse gefunden

Relational Databases 2 Exercise Sheet 4: Query Processing (until Tuesday 30.05.2014)

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 2 Exercise Sheet 4: Query Processing (until Tuesday 30.05.2014)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 2

Exercise Sheet 4: Query Processing (until Tuesday 30.05.2014)

Exercises will be discussed on Friday on week after the respective lecture was given. The handouts are optional and do not have to be handed in. They only serve as optional preparation for the oral exams at the end of the semester.

Exercise 1 – Query processing

a. What are the main steps that need to be processed in order to answer a user’s query?

b. Explain the following terms:

 Operator tree

 Evaluation plan

 Evaluation primitives

Exercise 2 – Query optimization

a. What needs to be optimized in query optimization?

b. Why is it necessary to translate SQL into relational algebra to perform a query optimization?

c. In what cases can a simple table scan be better than an index scan?

d. How can you perform a sort on a relation that does not fit into the main memory?

Referenzen

ÄHNLICHE DOKUMENTE

Explain the difference between Internal-, Conceptual- and External schemas used in relational database architectures. Explain the difference between Logical- and Physical

Explain the main characteristics of offline, nearline and online storage and give an example.. What type of data should be stored in

Tree Traversal: Access all nodes of the tree in Pre-Order, In-Order and Post-Order.. Exercise 2:

CREW(movie, person not null , type not null , creditpos) REMARK(movie, person not null , remark not null ) GENRE(movie, genre not null )b. COUNTRY(movie, country not

“Matrikelnummer” on your solutions. Please note: all exercises are optional. Draw a canonical operator tree for following queries and denote the number of rows of the

Exercises have to be turned in until Tuesday of each respective week and may be completed in teams of two students each.. You may hand in your solutions on paper before the lecture

If the scheduler can choose which operation to execute, it chooses the operation that has been occurred earlier in

Exercises have to be turned in until Tuesday of each respective week and may be completed in teams of two students each.. You may hand in your solutions on paper before the lecture