Partioning the Table into .net - Creating columner database.

Posted by Omky on Stack Overflow See other posts from Stack Overflow or by Omky
Published on 2011-01-13T14:54:26Z Indexed on 2011/01/17 15:53 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

Hello Geeks,

I am developing some tool for BI. There are terms like Fact, Dimensions and Measures. My application will connect to the normal database and read the data from that table. Now, I want to convert all this data into columnar database. That is all the columns from this table will be transfer into 3 tables each. Consider below table:-

ID    Product  
1      XYZ  
2      ABC  
3      ABC   

Now, I want to convert the Product column i.e. dimension into 3 tables. dim_product_table:-

ID      Product  
1       XYZ  
2       ABC  

dim_product_fmk(fact map by key):- Where we will store key-value pair of

Key     Row  
1       1  
1       2  
2       3

dim_product_fmr(fact map by row):- The above table will be reversed.

Row     Key  
1        1  
2        1  
3        2

The another requirement is all above table should be generated dynamically and I should be able to JOIN all those.

Can anybody help me?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET