On Wed, Apr 10, 2002 at 12:12:32AM -0500, Truong Thai wrote: > > I have a performance question between having a single database for > all tables or splitting up tables into multiple databases. > > The hosting service I use charges extra for multiple databases. > Using PHP/MySQL for website. > > I currently have 12 tables in one database. Are there any > performance advantages if I create 3 databases and split up the > tables?
No. The only real performance advantages would appear if you had 300,000 tables in a single database. (I made that number up.) The difference between 3 and 12 or even 1,000 just isn't significant. > Also, if I split up the databases...how would i perform > a table join from two tables which are in different databases. Fully qualify the names, such as: mydb.mytable.mycolumn Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.47-max: up 63 days, processed 1,719,526,716 queries (312/sec. avg) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php