Jump to content

media table or seperate tables


Recommended Posts

I am creating a databse for social network site, and i have to store the details about media uploaded by users... eg images.. videos.. sounds etc...

Would you create a mediaTable for all media or would you create a seperate table for different media types?

It makes sense to have diff tables but it makes it easier with sql to have it all in one table so that you can compare without as many joins...

what do large sites like facebook do?...

i notice that wordpress go with the less amount of tables policy however wordpress table structure is for smaller sites... any ideas... J

Link to comment
https://forums.phpfreaks.com/topic/161200-media-table-or-seperate-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.