TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   MySQL & Databases (http://www.talkphp.com/mysql-databases/)
-   -   Important Database Structure Question! (http://www.talkphp.com/mysql-databases/1769-important-database-structure-question.html)

AnthonyOS 12-19-2007 04:01 PM

Important Database Structure Question!
 
I've searched around quiet a bit for an answer to my question but haven't been successful so now I hope that the members of this great forum can enlighten me with a satisfactory answer.

Ok so my question may sound like a newbie one and for that forgive me but in all my other web applications using db's one database containing all tables did the job just fine as they were not too full with content. But my newest database driven site is a very large-scale social networking and resource site and for that reason I have the following question:

Which is better structure, 1 database with all tables needed or many databases with 1-2 tables in each??

I hope you can help me with this and apologies for the long intro.

Thanks in advance!^^

Haris 12-19-2007 06:19 PM

1 database with all the tables is certainly the most widely used database design.

AnthonyOS 12-19-2007 10:48 PM

Quote:

Originally Posted by Haris (Post 6874)
1 database with all the tables is certainly the most widely used database design.

But would that be considered the best solution and most efficient or just the most common?

Haris 12-20-2007 12:56 AM

Quote:

Originally Posted by AnthonyOS (Post 6882)
But would that be considered the best solution and most efficient or just the most common?

Yes, it will be. :-)

Village Idiot 12-20-2007 04:12 AM

There is no need for more the one database unless you are dealing with millions and millions of rows. At that point you would need an SQL server. Just use one database.

AnthonyOS 12-20-2007 03:26 PM

That's great guys. Thanks alot for the rapid feedback! ^^:-D


All times are GMT. The time now is 04:44 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0