HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

What are the best Database Analytics Companies for analyzing several 1000s or Mio. of products,sum them together and analyze them for statistics?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
analyzingmiocompaniesanalyticsbesttogetherseveralstatisticssumproducts

Problem

We will get several thousands products in our database. The problem is that one product can have several different names e.g. "iPad 16GByte UMTS schwarz" or "iPad 16GB 3G black" and so on. But they are the same product. We would like to combine them together for an exact analysis (like how many products in which city in a specific period of time). What would be the best approach? What are the best experts for this?

Solution

I'm not sure how you would do this with a nosql database like mongodb but in a typical data warehouse I would do this with the dimension table hierarchy.

Product_ID   Full_Product_Nm            Product_Lvl1       Product_Lvl2
----------   ---------------            --------------     ------------
1            iPad 16GByte UMTS schwarz  iPad               iPad 16gb
2            iPad 16GB 3G black         iPad               iPad 16gb
3            iPad 64GByte UMTS schwarz  iPad               iPad 64gb
4            iPad 64GB 3G black         iPad               iPad 64gb


Then I could join my fact table to the dimension and pull out the hierarchy level that I would like to report on.

So in your example I could pull out the Product_Lvl1 to get iPad but if I wanted to compare sales/inventory of 64gb compared to the 16gb iPad I could do that using the Product_Lvl2.

Code Snippets

Product_ID   Full_Product_Nm            Product_Lvl1       Product_Lvl2
----------   ---------------            --------------     ------------
1            iPad 16GByte UMTS schwarz  iPad               iPad 16gb
2            iPad 16GB 3G black         iPad               iPad 16gb
3            iPad 64GByte UMTS schwarz  iPad               iPad 64gb
4            iPad 64GB 3G black         iPad               iPad 64gb

Context

StackExchange Database Administrators Q#5973, answer score: 3

Revisions (0)

No revisions yet.