3 ms·
The overhead of an SQL query has nothing to do with the language you're using.
by tcdent 10y ago
The overhead of an SQL query has nothing to do with the language you're using.
- cpncrunch 10y agoOf course I'm aware of that. I was just giving an example of a specific case I came across. The point I was making is that there is a lot of inefficient php code out there.
- 27182818284 10y agoRecently a colleague and I took a PHP+MySQL page that was taking 1-2 minutes to load and were able to drop it down to 30 seconds after our first round of revisions. After a second round of revisions, we got it under 15 seconds, then after another round we got it to the 1-5 second range. Most of the optimizations were in the PHP not in the SQL.