Professional Documents
Culture Documents
Data Warehouse
Data Partition
Data Partitioning
Horizontal :-
Distributing the tuples of relation across a
number of (smaller) partitioning relation.
Vertical :-
Distributing the attributes of a relation across a
number of (smaller) partitioning relation
Types of Partitioning
Horizontal Partitioning
•Column Splitting
•Normalization
Vertical Partitioning
The example shows how the authors table can be partitioned.
Vertical Partitioning
Vertical Partitioning
Normalization
Normalization is the standard relational
method of database organization.
In this method, the rows are collapsed into a
single row, hence it reduce space.
Take a look at the following tables that show
how normalization is performed (Next Slide).
Vertical Partitioning
Table before Normalization
Column Splitting
Row splitting tends to leave a one-to-one
map between partitions. The motive of row
splitting is to speed up the access to large
table by reducing its size.
Note − While using vertical partitioning,
make sure that there is no requirement to
perform a major join operation between
two partitions.
Advantages VS
Disadvantages
Advantages:-
• Precomputing derived data
• Minimizing the need for joins
• Reducing the number of foreign keys in
relations
• Reducing the number of relations.
Advantages VS
Disadvantages
Disadvantages :-
• May speed up retrievals but can slow down
updates.
• Always application-specific and needs to be re-
evaluated in the application changes.
• Can increase the size of relations.
• May simplify implementation in some cases but
may make it more complex in other.
• reduce flexibility.
Issues of Denormalization
• Storage
• Performance
• Ease-of-use
• Maintenance
29