Chapter 25 Flashcards

1
Q

What is data parallelism

A

One operation performs on multiple partitions simultaneously.

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

What is query coordinator

A

It coordinates the results of independent processor

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

Should query coordinator processing time should less than query server processing time

A

Yes

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

What is temporal parallelism (pipe lining)

A

One complex task divided into smaller parts. The smaller tasks runs in parallel in a way that one sub task output goes into the input of another sub task. Its example is car manufacturing. One car manufactured parts by parts in a factory on an assembly line. And during that manufacturing, another cars manufacturing process starts. The same process goes with complex queries in pipe lining.

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

What are limitations(issues) of temporal parallelism (pipe lining)

A
  • The relational operator (complex query) can not be divided more than 10 parts. It means the speed-up can not be greater than 10.
  • If there is some sub task that needs all inputs to process than it means it is not pipe lining. Because in pipe lining, a sub task takes some inputs and its output is input for another sub task. If one sub task take all input than it is not pipe lining. Aggregation and sorting are its example.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is full table scan query

A

All table scans in it.

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

What is point query

A

Find a specific value

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

What is range query

A

Range is specified in query

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

What is round robin partitioning technique

A

It distributes all things equally to processors. There is no bottle neck in it and every processor do its job.

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

What is hash partitioning technique

A

In uniform hashing every process has same load. It is best for point query.

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

What is range partitioning technique

A

Partitioning on the base of range

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

What is hot spot or skew

A

Uneven distribution

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

What are 2 types of parallelism

A
  • Data parallelism

- Temporal parallelism

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