Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fact table design horizontal vs vertical

metalrayFeb 1 2011 — edited Feb 3 2011
Hi Guys,

I am putting together a list of advantages and disadvatages of horizontal vs vertical fact table orientation.

Vertical:
ID, DimensionKey1, DimensionKey2, Factno (or KPIDimensionKey), Fact

Advantages:
-Easily extendible when new facts are integration
-A lot more rows
-Density

Disadvantages:
-Applications that can only deal with the horizontal format require a few to
transpose the rows into columns (additional computing time)


Horizontal:
ID, DimensionKey1, DimensionKey2, Fact1, Fact2, Fact3, Fact4, Fact5,...

Advantages:
-The most common fact table design
-Possibly faster access

Disadvantages:
-Sparsity
-Not easy to extend
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2011
Added on Feb 1 2011
1 comment
548 views