0% found this document useful (0 votes)
28 views5 pages

Experiment No.4 OLAP LAB: - by Inthiyaz Ahmad Khan (TEIT 50)

The document discusses experimenting with and implementing data fragmentation in Postgresql. It defines horizontal, vertical and hybrid fragmentation and explains how each technique fragments tables. The experiment aims to study these techniques and successfully implements data fragmentation in Postgresql.

Uploaded by

Imtiaz Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views5 pages

Experiment No.4 OLAP LAB: - by Inthiyaz Ahmad Khan (TEIT 50)

The document discusses experimenting with and implementing data fragmentation in Postgresql. It defines horizontal, vertical and hybrid fragmentation and explains how each technique fragments tables. The experiment aims to study these techniques and successfully implements data fragmentation in Postgresql.

Uploaded by

Imtiaz Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Experiment No.

4 OLAP LAB
-By Inthiyaz Ahmad Khan (TEIT 50)

Aim: Study and implementation of data fragmentation.

Resources: Postgre SQL.

Theory:

• Fragmentation
Fragmentation is the task of dividing a table into a set of
smaller tables. The subsets of the table are called
fragments. Fragmentation can be of three types:
horizontal, vertical, and hybrid (combination of horizontal
and vertical).
Fragmentation should be done in a way so that the original
table can be reconstructed from the fragments. This is
needed so that the original table can be reconstructed
from the fragments whenever required.

Vertical Fragmentation:
In vertical fragmentation, the fields or columns of a table
are grouped into fragments. In order to maintain
reconstructiveness, each fragment should contain the
primary key field(s) of the table. Vertical fragmentation
can be used to enforce privacy of data.

Horizontal Fragmentation
Horizontal fragmentation groups the tuples of a table in
accordance to values of one or more fields. Horizontal
fragmentation should also confirm to the rule of
reconstructiveness. Each horizontal fragment must have
all columns of the original base table.

Hybrid Fragmentation
In hybrid fragmentation, a combination of horizontal and
vertical fragmentation techniques are used. This is the
most flexible fragmentation technique since it generates
fragments with minimal extraneous information. However,
reconstruction of the original table is often an expensive
task.

Outputs:
Conclusion: Hence, we have successfully implemented the use
of Data Fragmentation in Postgresql.

You might also like