Does having many databases affect MySQL performance?

Does separating tables across multiple databases improve performance?

  • If I have two tables, let's say products and orders.  And if orders is mission critical let's say, but products is not and sometimes products runs large queries, if I separate the tables into two different databases, would that make the performance more independent or would I have to put them on two entirely different mysql servers?

  • Answer:

    No. Putting the two tables in different databases on the same server will gain you  absolutely no performance benefit -- presuming your server becomes disk-bound when querying the "products" table, there's no dead-simple solution to gain back performance on the orders table, save for setting up replication and running your large queries on a slave.

Ben Osheroff at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.