aleX_hill Posted November 20, 2007 Share Posted November 20, 2007 Hi, I am reasonably new to using MySQL. I am looking at designing a site where each user lists a lot of items (similar to a gift registry). Is it normal practice to make one big table (ie "gifts") with the user (id) as a field, or create a new table for each user. What is the best thing to do, assuming that I use one table, when this table becomes to big? Thanks in advance, Alex Quote Link to comment https://forums.phpfreaks.com/topic/78058-big-table-or-many-smaller-ones/ Share on other sites More sharing options...
Hooker Posted November 20, 2007 Share Posted November 20, 2007 It really depends on how many fields you have in your table, can you show us the structure? Idealy if your going to go into the hundreds of thousands - millions of records you should idealy be looking to split your table where nessisary. Quote Link to comment https://forums.phpfreaks.com/topic/78058-big-table-or-many-smaller-ones/#findComment-395087 Share on other sites More sharing options...
fenway Posted November 20, 2007 Share Posted November 20, 2007 Don't worry about denormalizing your tables until much later. Quote Link to comment https://forums.phpfreaks.com/topic/78058-big-table-or-many-smaller-ones/#findComment-395147 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.