JohnGaf
01-03-2008, 08:16 PM
Hi there,
We have a large vBulletin forum and a custom CMS for our main pages which is currently in two different databases. The main page database has around 20 tables in it.
Was just snooping around on phpMyAdmin earlier and looking at the different query types and saw that "change db" was 34.84% of the queries.
Was just thinking that if I move all the tables to the same database as vB (and perhaps just add a prefix to get more of a system) we would save 1/3 of the queries, which would help a lot on the mySQL server which is already struggling.
Could anyone think of disadvantages by doing it this way?
Quick SQL stats:
This MySQL server has been running for 1 days, 1 hours, 4 minutes and 12 seconds. It started up on Jan 02, 2008 at 09:00 PM.
Query statistics: Since its startup, 21,645,953 queries have been sent to the server.
Average queries pr second: 239
We have a large vBulletin forum and a custom CMS for our main pages which is currently in two different databases. The main page database has around 20 tables in it.
Was just snooping around on phpMyAdmin earlier and looking at the different query types and saw that "change db" was 34.84% of the queries.
Was just thinking that if I move all the tables to the same database as vB (and perhaps just add a prefix to get more of a system) we would save 1/3 of the queries, which would help a lot on the mySQL server which is already struggling.
Could anyone think of disadvantages by doing it this way?
Quick SQL stats:
This MySQL server has been running for 1 days, 1 hours, 4 minutes and 12 seconds. It started up on Jan 02, 2008 at 09:00 PM.
Query statistics: Since its startup, 21,645,953 queries have been sent to the server.
Average queries pr second: 239