HairyMonkeyMan
July 11th, 2008, 09:30 AM
We have 2 seperate database servers, development and live. They both run MySQL with the InnoDB engine. The settings are identical.
I have tested how many concurrent inserts each server could handle per second.
Development machine could insert approx 1000 records per second (4 fields in table).
Live machine could only insert approx 100 records per second (4 fields in table).
The Live server is approximately 10 times slower than the development server. Both test were run locally on each server. The structure of both databases is identical. The live server has more data.
The machine specs are as follows:
Development server
Processors: 4 x Intel Xeon 2.8 ghz
Memory: 2gb RAM
Drive: Dell PERC raid array
Live server
Processors: 8 x Intel Xeon 1.6 ghz
Memory: 4gb RAM
Drive: LSI Logic Megaraid and Adaptec SCSI
Anyone have a suggestion as to why the live machine might be slower?
I have tested how many concurrent inserts each server could handle per second.
Development machine could insert approx 1000 records per second (4 fields in table).
Live machine could only insert approx 100 records per second (4 fields in table).
The Live server is approximately 10 times slower than the development server. Both test were run locally on each server. The structure of both databases is identical. The live server has more data.
The machine specs are as follows:
Development server
Processors: 4 x Intel Xeon 2.8 ghz
Memory: 2gb RAM
Drive: Dell PERC raid array
Live server
Processors: 8 x Intel Xeon 1.6 ghz
Memory: 4gb RAM
Drive: LSI Logic Megaraid and Adaptec SCSI
Anyone have a suggestion as to why the live machine might be slower?