I have a two part PHP script.
- The first that deletes some rows in the database
- The second that triggers SELECT queries
The second script alone runs in about 0.2 sec. When both parts are processed, the second part takes 5 sec. The next time the second script runs alone, it's back to 0.2 sec.
Any clue?