MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 21st, 2003, 04:19 AM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 81 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 31 sec
Reputation Power: 7
mysql maximum table

Hi,

Just curious abt this stuffs

1. Is there any maximum tables that is limited to Mysql ?
2. can a mysql database holds up tp app 4000 to 5000 tables in each database?
3. If there is over 1000 tables in mysql, can phpmyadmin be used efficently to manipulate those database ?


Thanks , hope to read something soon.
__________________
Rathaur
======================
Knowledge is Power

Reply With Quote
  #2  
Old April 22nd, 2003, 02:44 AM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I think you'll have problems managing over 100 tables no matter what tool you use.

What exactly do you need so many tables for?!

Hadley

Reply With Quote
  #3  
Old April 22nd, 2003, 02:47 AM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Ah, just found something.

You may want to read: http://forums.devshed.com/archive/4/2002/04/3/33073

(found by searching google for maximum tables mysql)

Hadley

Reply With Quote
  #4  
Old April 22nd, 2003, 03:40 AM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 81 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 31 sec
Reputation Power: 7
i am designing db to hold students assignment grades of a school, where in the school there are 3 levels, namely 1, 2 and 3.
each level has 8 sections with max of 25 students in each section. Each section takes abt 7 to 8 course.
In each course the final grading is done based on few categories, i.e. assignments, quizes, mid terms, and final exams. assignments and quizes varies according to the instructor.
each assignment to be submitted has options , thats submission can be done on line ( web based ) or manually direct to the instructor.

each of those work( assignment, quizes, mid terms and final exam) , the submission must be recorded, i.e when date, marks, comment, filename .

my design consists of:

1 main table, registering all the courses, ( regardless sections and level)
for each course, there is one table hold the assignment information i.e. date of assigment, question, answer, teacher, max mark, and penalty marks ( since the system must be able to deduct mark for late online submissions )
and each assignment got 1 table to record the marks.

there for if there is 10 assignments in each class

10 * number of courses * number of sections * number of levels

10 * 8 * 8 * 3 = 1920 tables just for assignments marks.

I been thinking a way to store all the assignment marks in one big table, but that seems to be impossible since i have to record the submission date, and their respecting filenames .. any idea ?

thanks

Reply With Quote
  #5  
Old April 22nd, 2003, 03:48 AM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 81 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 31 sec
Reputation Power: 7
there is alternative way , thats to have 1 commong mark table for everyone, regardless their class, by having the course ref, assignment ref , but

for appr 10 assignments ( it could be more )
10 * 8 *8 * 3 * 25 =48,000 entries in that table alone.

( since we have space to hold the max. size supported by mysql app 4 G ) but will that table alone is overloaded ? will searching and displaying will be little slower die to the big data ...

finally we have generate a summary for each sections, and the query could be little complex ...

hope to hear from anyone ..
thanks

Reply With Quote
  #6  
Old April 22nd, 2003, 04:42 AM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 81 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 31 sec
Reputation Power: 7
Hi ..

Finally I decided on the following design to store the assignment information

1. one table for all course ,
2 each course will have two tables
a) Assignment table , information abt the assignments
b) Mark table, all marks , regardless of assignment number is
stored here

there for, the number of tables will be reduced greatly.

the mark table will have abt :
25 students * 15 assigments = 375 entries, which is relativly a small enty ,

alternatively i could store all the marks, regardless course , section and level in 1 table, but the entry could reach up tp 10000 entries, which I am curious will effect the queries ...
any idea ?

Reply With Quote
  #7  
Old April 22nd, 2003, 03:24 PM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I would strongly suggest that you use the minimum tables possible, you will find it much easier to extract the data and compare it in different ways.

In this case I would suggest you need a table for

* the list of students
* the list of courses
* the assignments, with a reference to the course table to indicate which course it is for
* the assignment results, with a reference to the assignment table to indicate for assignment the mark is for, and a reference to the student table to indicate who the mark is for

Don't worry about the number of records in each table. As long as you are running a reasonable fast computer, mySQL can deal with hundreds of thousands of records easily.

You may want to read more about good database design before starting this project as it will make things a lot easier in the long run.

Hadley

Reply With Quote
  #8  
Old March 18th, 2007, 12:10 AM
diorz diorz is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 1 diorz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 47 sec
Reputation Power: 0
i am runing a database with more than 2k tables without any problem it is not slow or anything, i am sure there is no limit if you do it on a cluster, but it is kind of slow if you browse it with a basic utility like phpmyadmin or navicat.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > mysql maximum table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway