Hi and I have been working on a project involving a rather large database. My question is "For a database with over 20529860 rows, is it better to have 3330 tables spreaded equally or to split into multiple databases or would it be better to have 49950 tables in the database containing the information?" The reason I ask is that having all those rows in the one table makes it really slow with the Where clause and I'm not sure which way is the best way to design this database with mysql. I found that anything over 15MB in one table takes too long to lookup so if I had to guess I would spread it over the 49950 tables ((255-33)*15*15) but sounds like a ridiculous number of tables to store the one set of data. So does anybody have any ideas on how to store potentially 1,000,000,000 rows in mysql. Each row only contains a few bytes. Thanks.
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
Atli 182 Posting Pro
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
Atli 182 Posting Pro
Atli 182 Posting Pro
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
mwasif 10 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.