Woomera Posted January 23, 2007 Share Posted January 23, 2007 i have two program that both use mysql databases.both databases are planned to be hosted on a same server BUT is there any diffrence that i make one mysql DB for both and use prefix name for their tables or make 2 individual DB's?by diffrence i mean performance diffrence. Link to comment Share on other sites More sharing options...
tain Posted March 7, 2007 Share Posted March 7, 2007 Probably a bit faster to have the two tables. Link to comment Share on other sites More sharing options...
ripken204 Posted March 14, 2007 Share Posted March 14, 2007 tain- do you mean two tables or two databases?im not exactly sure if you would notice the performance increase tho, unless your working with millions of entries.i was just thinking about this, seriously like an hour ago, and i just decided to put it all in 1 database. only reason was b/c of organization. say the server where you were going to have the database already has like 20 databases on it... i use phpmyadmin alot, just for testing right now, hopefully i wont ever have to use it later on besides from having to manually edit/delete something for some reason. Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted March 14, 2007 Share Posted March 14, 2007 If they're seperate programs containing seperate data it's generally recommended to have them in seperate databases. What if you wanted to move the database for one application to another server, but not move the database for the other application? If you put them in the same database then you'd be stuck pulling the tables apart for a situtation like that. Link to comment Share on other sites More sharing options...
ZcWorld Posted April 20, 2007 Share Posted April 20, 2007 if your webhosting only gave / lets you have one database than use the prefix but if you got more than one database than use a database for each oneso its quicker to backup / restore / to use Link to comment Share on other sites More sharing options...
jcarle Posted April 20, 2007 Share Posted April 20, 2007 I was going to post about this but considering the original post's date and the lack of a response from the original poster, I'd almost say this is a dead topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now