If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > db redesign - too many tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-12-09, 13:09
dchoe dchoe is offline
Registered User
 
Join Date: Nov 2009
Posts: 1
db redesign - too many tables

i am trying to redo my database structure as i am creating a lot of new tables and i believe it has become the reason i can't do a mysqldump anymore even though it's only about 250MB.

right now, i have about ~100,000 tables in a database. and each table has a few hundred rows.

so i wanted to know what is a better way could be to handle the database. do i just dump everything into one table and add another field so it would be 1 table with like 5M rows?

thanks
Reply With Quote
  #2 (permalink)  
Old 11-13-09, 11:02
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
that is not something any of us can answer from the info you provided. What are all these tables for? What is the relationship between them? Have you read any books on database design? Thought about hiring someone to do your design work?
100,000 tables seems a bit extreme. I have worked on numerous large scale applications and They average 200 - 600 tables for an app. Rows ranging from 1 in a table to billions.

Dave Nance
Reply With Quote
  #3 (permalink)  
Old 11-13-09, 11:56
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Quote:
Originally Posted by dchoe View Post
100,000 tables in a database
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On