![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have mysql 5.0.22 GROUP BY and HAVING don't really "help" the database server, right? I mean, it basically has to do more work than if I just read in all the results? *It's a heavier query if I do group by and having, right? |
|
Instead of group by and having, I'm willing to sort out the results in my code instead, if it's easier for the db. |
|
Similarly, is limit x, offset x helping the db at all, or is it better for the db server if I do it in my code (on the webserver) instead? thanks |
#3
| |||
| |||
|
|
I have mysql 5.0.22 GROUP BY and HAVING don't really "help" the database server, right? I mean, it basically has to do more work than if I just read in all the results? *It's a heavier query if I do group by and having, right? Instead of group by and having, I'm willing to sort out the results in my code instead, if it's easier for the db. Similarly, is limit x, offset x helping the db at all, or is it better for the db server if I do it in my code (on the webserver) instead? |
|
thanks |
#4
| |||
| |||
|
|
I have mysql 5.0.22 GROUP BY and HAVING don't really "help" the database server, right? I mean, it basically has to do more work than if I just read in all the results? It's a heavier query if I do group by and having, right? Instead of group by and having, I'm willing to sort out the results in my code instead, if it's easier for the db. Similarly, is limit x, offset x helping the db at all, or is it better for the db server if I do it in my code (on the webserver) instead? thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |