Partitioning PDF
Partitioning PDF
Hasso Plattner
A Course in
In-Memory Data Management
The Inner Mechanics
of In-Memory Databases
1 Transparent in IT means that something is completely invisible to the user, not that
the user can inspect the implementation through the cover. Except of their e↵ects like
improvements in speed or usability, transparent components should not be noticeable at
all.
2 NP-complete means that the problem can not be solved in polynomial time.
63
64 9 Partitioning
Vertical partitioning results in splitting the data into attribute groups with
replicated primary keys. These groups are then distributed across two (or
more) tables. Attributes that are usually accessed together should be in the
same table, in order to increase join and materialization performance. Such
optimizations can only be applied if actual usage data exists, which is one
point why application development should always be based on real customer
data and workloads.
First Last
ID DoB Gender City Country
Name Name
First Last
ID DoB Gender ID City Country
Name Name
3Based on the assumption that the companies’ customers mainly live nowadays and are
between 0 and 100 years old
9.3 Horizontal Partitioning 65
Par$$on)1)
Partition 1 Par$$on)3)
Partition 2
Par$$on)2)
Partition 3 Par$$on)4)
Partition 4
1 John Dillan 1943/05/12 m Berlin Germany 2 Peter Black 1982/06/02 m Austin USA
Partition 1 Partition 3
Partition 2 Partition 4
2 Peter Black 1982/06/02 m Austin USA 4 Lucy Sehan 1990/01/20 w Jerusalem Israel
4 A hash function maps a potentially large amount of data with often variable length to
a smaller value of fixed length. In the figurative sense, hash functions generate a digital
fingerprint of the input data.
66 REFERENCES
Partition 1 Partition 3
4 Lucy Sehan 1990/01/20 w Jerusalem Israel 0x00 3 Nina Burg 1952/12/12 w London UK 0x03
Partition 2 Partition 4
1 John Dillan 1943/05/12 m Berlin Germany 0x01 2 Peter Black 1982/06/02 m Austin USA 0x02
9.5 References