eelixduppy

msg:4431754 | 4:12 pm on Mar 21, 2012 (gmt 0) |
Thanks for sharing your results! Reports that took 12 seconds now take 10, 6 seconds now take 5. |
| That is awfully a lot of time to begin with; it wouldn't surprise me that there are other things that need to be optimized here to make these run faster.
|
brotherhood of LAN

msg:4431838 | 6:59 pm on Mar 21, 2012 (gmt 0) |
Good shout. Basically if you don't need to do another query while dealing with the initial query data, then use unbuffered. It's vital to use when you have a massive table, you can do a SELECT * from a billion row table and start dealing with the rows instantly rather than unnecessarily waiting for MySQL to load the load into memory... and then sending it to your client.
|
Frank_Rizzo

msg:4431846 | 7:26 pm on Mar 21, 2012 (gmt 0) |
What amazes most is that I never knew it existed. Found it by chance looking for something else. | That is awfully a lot of time to begin with; |
| Two years the biggest report took about 25 seconds. Last week it was 16 seconds. Latest hardware upgrade got it down to 12. Now this function change shaved another 2 seconds off it. I don't think they can be generated any quicker. The mysql stuff takes about 3 seconds, the php parsing of the data and formatting the output tables takes about 7 seconds.
|
|