Quote:
Originally Posted by Brinnie
I noticed a lot of people make a big deal over queries and I'm wondering if I should be making a big deal too.
How much space/time/whatever does your average query load?
|
It depends on what the query is. You can have ONE SQL query insert or lookup a number of different things. Also, as Erwin said, a badly written one will do, slowly and inefficiently, what a well written one would do fairly painlessly.
You'll notice, for instance that at the bottom of vBulletin.org's pages they've got something showing the load. This page tells me:
Page generated in 0.16971 seconds with 15 queries. This tells me that the queries were fairly light and that the CPU this thing is running on is fairly good!
- Sid