Fact modeling for DVD Rental Shop
3 posters
Page 1 of 1
Fact modeling for DVD Rental Shop
I everyone, I'm having an issue with modeling fact table that need advice here
Currently I'm building reporting system for a DVD rental shop. When the customer rent a DVD, the system would create a record in database, and when he return it, the system would update return time on that record.
I'm going to create 2 fact table, 1 for rent action, 1 for return action. What do you think about this approach? Will it work? Please give me advice on this issue.
Thank you.
Currently I'm building reporting system for a DVD rental shop. When the customer rent a DVD, the system would create a record in database, and when he return it, the system would update return time on that record.
I'm going to create 2 fact table, 1 for rent action, 1 for return action. What do you think about this approach? Will it work? Please give me advice on this issue.
Thank you.
DreamingFighter- Posts : 6
Join date : 2012-10-22
Re: Fact modeling for DVD Rental Shop
You do need two fact tables, just not the two you described. You need a transacation fact to hold all of the customer transactions, rent, return, buy, etc. And you need an accumulating snapshot fact table to track rentals from start to end.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Fact modeling for DVD Rental Shop
And do it quick... DVD rental shops won't be around much longer.
Re: Fact modeling for DVD Rental Shop
LOL, no kidding. I figured it was homework.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Fact modeling for DVD Rental Shop
Not in my country, we don't have hulu or xbox or whatever
I would just do as you said, it's simple request with simple reporting forms anyway.
I would just do as you said, it's simple request with simple reporting forms anyway.
DreamingFighter- Posts : 6
Join date : 2012-10-22
Similar topics
» RETAIL BOOK SHOP FACT and AUTHOR dims
» Dimension - Fact Modeling
» modeling invoice_shipment fact table
» Property Rental Model
» Modeling Related Fact Tables
» Dimension - Fact Modeling
» modeling invoice_shipment fact table
» Property Rental Model
» Modeling Related Fact Tables
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum