6*50'000*(4+4+x1+1+4+x2+6+
x1 being the average size of column3, and x2 being the average size of column6
the last +6+6 is the overhead for the indexes, assuming they are on the int-typed columns
Main Topics
Browse All TopicsNeed some help in submitting a proposal.
Lets assume i have a table ,type InnoDb, with hte following structure
column1 int
column2 int
column3 varchar(200)
column4 char(1)
column5 int
column6 text
column7 datetime
column8 datetime
how do i calculate the table size for this table ? The table will have one foreign key and one index. How do i estimate the database size given that there are six such tables and the company estimates that each table will hold minimum 50000 records. What would be the ideal database server configuration,a estimate, for such a scenario, assuming 250-500 concurrent users.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I think that angelIII's response is valid for MyISAM. I'm not sure that it applies to InnoDB, but could provide a reference point for a mimimum disk space required.
http://dev.mysql.com/doc/r
well, if you can put RAM size >= Database Size, the db will fit entirely into the memory, and hence will minimize disk access (of course, except the first queries will need to read the table data...)
CPU, well, the faster, the better. The more CPU, the better (having 2+ "slower" CPU is better to have 1 fast cpu)
DISK: of course, redundant fault-tolerant disk systems are preferable. RAID5 or RAID10, but RAID1 could be fine also.
6 tables * 50000 records * (40 + avg(length(column3)) + avg(length(column6))) =
12 million + 300000 * (avg(length(column3)) + avg(length(column6)))
With the wild-guess assumption that the column3 and column6 average 300 bytes total, the database will require, in total, about 100 megabytes. The whole thing would easily fit in RAM.
The system could still be slowed down by locking and transaction commits being written to disk. It depends on the read-write ratio and what kind of flush settings you will tolerate.
Business Accounts
Answer for Membership
by: todd_farmerPosted on 2006-06-19 at 09:56:12ID: 16935805
That depends on MyISAM or InnoDB table type?