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

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

Ristos85
Starting Member

8 Posts

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

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?

tkizer
Almighty SQL Goddess

USA
37287 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
http://weblogs.sqlteam.com/tarad/

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

Ristos85
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  
 New 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.05 seconds. Powered By: Snitz Forums 2000