views:

82

answers:

1

What are the Tables that would be present in a social networking site (ex:twitter).... I have a users table as of now... How to keep tracker of followers and people i follow...

  • Should i maintain separate table for followers and people i follow...
  • What are the columns which would be there in those tables?

Please don't think this as Subjective/Off topic... As i am a beginner i thought experts can guide me to get a good DB design?

+1  A: 

Try having a look at Database Answers in particular the data models. They have several different designs for various systems. This one is for a social networking site which my give you an idea of what's required.

You may want to search on SO for other social network database questions. I found this one that had a link to flickr showing a schema which appears to be from facebook.

Your database design will be based around your system requirements. Without knowing exactly what you are trying to achieve it's difficult to give you the best design.

Andy Robinson