If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > netflix db structure?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-28-05, 15:40
flashape flashape is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
netflix db structure?

I have a client that would like to do something like netflix. It looks like it shouldnt be too crazy, except for maybe a lot of joining in the db.

I'm curious to find out from the db programmers in here how thier db structure might look, before I go off and start one on my own. So far I've only got it broken down into a movieInfo table, a userInfo table, a billingInfo table, and a reviews table, and I'm not exactly sure how I would handle the "friends" part.

here's a generaly rundown of what i was looking at so far. I'd image some things would really need to be broken down into some smaller tables (for instance, the stars of the movie may need to be broken down so that you can search by actors):

Code:
-MovieInfo 
  -pic 
  -title 
  -summary 
  -starring 
  -director 
  -MPAA rating 
  -memberReviews 
  -criticReviews 

-Userinfo 
  -ratings(how many stars the user gave it) 
  -rentalActivity 

-BillingInfo 
  -billingAddresses 
  -shippingAddresses
Also, I'm not exactly sure how I would go about handling the user's rental queue.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On