Hi All
My problem is as follows: I am currently running a PHP application that has a MySQL backend (Apache & PHP are on a seperate server to MySQL which is on a dedicated box - P4, 1.6GHz, 512MB RAM, OS: Linux). Part of the application merges data from approximately 900 tables in one DB (roughly 2.9 GB) into a single table in another DB on the same physical partition. We have stripped off all the indexes on the destination table and indexed the fields in the source tables that qualify the query.
What we notice is that in the first half hour of processing approximately 5.4 million records are written, in the next 30 minutes only 250 000 records are written - indicating a massive decrease in peformance.
If the peformance was consistently poor, I would understand that the query is written badly and attempt to correct it. However, I cannot understand why the performance suddenly degrades and by such a large amount.
Can anyone suggest possible solutions? Places to look?
Regards
r
My problem is as follows: I am currently running a PHP application that has a MySQL backend (Apache & PHP are on a seperate server to MySQL which is on a dedicated box - P4, 1.6GHz, 512MB RAM, OS: Linux). Part of the application merges data from approximately 900 tables in one DB (roughly 2.9 GB) into a single table in another DB on the same physical partition. We have stripped off all the indexes on the destination table and indexed the fields in the source tables that qualify the query.
What we notice is that in the first half hour of processing approximately 5.4 million records are written, in the next 30 minutes only 250 000 records are written - indicating a massive decrease in peformance.
If the peformance was consistently poor, I would understand that the query is written badly and attempt to correct it. However, I cannot understand why the performance suddenly degrades and by such a large amount.
Can anyone suggest possible solutions? Places to look?
Regards
r