Report Portal

Modeling Dimensions with History Tracked, Generic Attributes

Sometimes, you need to model a database in such a way that you can dynamically extend the model without altering any tables. Perhaps the attributes changes faster than you can add new columns or the data you store has a "ragged" structure that does not lend itself well to being described as a traditional table structure.

The typical approach taken in these cases is to "pivot" the required "flexible columns" of a table into rows instead and dynamically reconstruct the schema at runtime. When you model like this, adding new attributes to the model is simply a question of inserting rows into the database.

Read more...

Tags: design, dimension

 

2007-2015 VidasSoft Systems Inc.