Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Designing capacity planning tables MYSQL
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

8 Posts

Posted - 01/27/2014 :  15:29:39  Show Profile  Reply with Quote

I'm trying to design a capacity planning tables. Idea is to have a possibility to plan each unique item (1000 new unique items per year) to date that I choose. What would be the best solution to design a database on that? Solution that I come up is to create 2 tables
1) unique item ID with all dates
2) Items with required quantity
(Please see image).
Problem is that using this solution I would have ~10 million of records in dates table within 5 years which seems a lot. Is there some other way to design it?

Almighty SQL Goddess

38200 Posts

Posted - 01/27/2014 :  15:33:34  Show Profile  Visit tkizer's Homepage  Reply with Quote
I'm not able to answer your question as I don't understand the info you posted. But I wanted to mention that 10 million rows in a table is not at all a big table, especially if it's over 5 years. Some of us support systems that receive that many or MORE inserts PER DAY.

Tara Kizer
SQL Server MVP since 2007

Edited by - tkizer on 01/27/2014 15:34:37
Go to Top of Page

Starting Member

8 Posts

Posted - 01/27/2014 :  15:42:32  Show Profile  Reply with Quote
I want to create a simple php + mysql production planning tool. Meaning that producing each item requires certain amount of time and number of working hours per day limits how much I could plan to produce each day.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000