Chapter 24 Flashcards

1
Q

How can we improve speed

A
  • Hardware architecture
  • Software architecture
  • Indexing techniques
  • Join techniques
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is VLDB

A

very large databases

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

What is parallelism

A

Divide the data set into pieces and assign to all processors equally. Then the processing has to done independently parallel on all data sets simultaneously

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

Does divide and conquer favors parallelism

A

Yes

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

What are the requirements for parallelize

A

All following 4 things

  • Parallel architecture (e.g. symmetric multi-processors (SMP), clusters, massively parallel systems (MPP), non-uniform memory access (NUMA) )
  • Sufficient I/O bandwidth
  • Underutilized CPU
  • Sufficiently memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is it possible that system performance degrade in parallelism

A

Yes

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

What are the factors for system speed

A
  • Index usage
  • Number of concurrent users
  • Complexity of technique
  • Amount of detailed data
  • Complexity of data model
  • Underline schema
  • Size/scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 2 methods to upgrade underlying hardware

A
  • Speed up

- Scale up

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

What is speed up

A

More resources means proportionally less time for given amount of data

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

Does there be linear relationship between degree of parallelism and transaction/sec ideally

A

Yes

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

What is scale up

A

If resources increased in proportion to increase in data size, time is constant

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

What is the formula of speed up

A

Ts/Tm

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

How we quantify speed up in real time

A

Amdahl’s Law

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

What is parallelism in OLTP

A

How much transactions can be executed per second

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

What is parallelism in DSS

A

How big one complex query divides and executed to get result faster

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

What is parallelism in software architecture

A
  • Shared memory

- Shared disk

17
Q

What are other 2 categories of parallelism

A

Data parallelism

Spatial parallelism

18
Q

What is MPP

A

In massively parallel systems, every node has independent processor, independent I/O and independent memory. All nodes are connected with interconnection network.

19
Q

Does SMP supports multi tasking and multi processing

A

Yes

20
Q

What are distributed shared memory machines

A

Its a combination of both architectures. One software architecture is shared disk RDBMS architecture

21
Q

What is shared disk RDBMS architecture

A

Database tables are shared. There is a central node and processors access through it to desired section of data.

22
Q

What is memory lock

A

In RDBMS architecture, memory lock is used to avoid more than one processors trying to access same table/data set.

23
Q

What is disadvantage of memory lock

A

Process become serialized

24
Q

What is software shared nothing RDBMS architecture

A

Every processor has its own independent memory. There is no memory locking over here. Once a processor is failed its all memory is gone.

25
Q

Does shared disk RDBMS and shared nothing RDBMS architecture are logical architecture

A

Yes