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
Related Q & A:
- Are There Any Databases Of Digitalised Natural Stimuli On Milliseconds Scale?Best solution by Quora
- How to completely backup all mysql databases?Best solution by Server Fault
- Is it better to use many records in one table, or to use multiple tables?Best solution by Stack Overflow
- How to improve the performance of the query?Best solution by Stack Overflow
- How can I improve my computer's performance and speed?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.