Horizontal vs Vertical Fragmentation in Distributed Database Management Systems (DDBMS)?

Suppose you have a relation say Student You divide relation Student in two sets say set1 and set2 such that half of the attributes of Student is in set1 and half of them is in set2. This is called Vertical Fragmentation as a relation is fragmented along columns(similar to tearing a page vertically). Original relation is obtained by natural join of all the sets.

For natural join we require at least one attribute which is common to all the sets(generally its the Primary Key) But if our relation divided so that a subset of rows(see here all attributes are present in rows) is present with site1(say), another subset is present with site2, and so on,this is called Horizontal Fragmentation, and Original Relation is obtained by taking union of all the sets. Its like tearing a page horizontally As is clear, this is in the context of Distributed DBMS.

Suppose you have a relation say Student. You divide relation Student in two sets say set1 and set2 such that half of the attributes of Student is in set1 and half of them is in set2. This is called Vertical Fragmentation as a relation is fragmented along columns(similar to tearing a page vertically).

Original relation is obtained by natural join of all the sets. For natural join we require at least one attribute which is common to all the sets(generally its the Primary Key). But if our relation divided so that a subset of rows(see here all attributes are present in rows) is present with site1(say), another subset is present with site2, and so on,this is called Horizontal Fragmentation, and Original Relation is obtained by taking union of all the sets.

Its like tearing a page horizontally. As is clear, this is in the context of Distributed DBMS.

Vertical fragmentation is required only for distributed databases. Say one of relation R has several attributes. Some of these attribute is consist in R1 and other is R2.

Then we are joining page vertically. This is called vertical fragmentation.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions