Hey,
I am having severe problems showing graphs because of some pretty demanding sql queries.
In the file: "frontends/php/include/classes/graph.inc.php"
line: 858, 859, 864.
On those lines are three quite similar but a bit different versions of queries for extracting data for graphs.
Problem is that on a 2GB history table this takes about 3 minutes to run, the server is a HP DL380 with Xeon and plenty of ram.... i haven't had the time to try and optimize the query so i post it here in hopes of someone with the time and joy for queries would like to optimize it and submit a patch of some sort.
Regards,
-Simon
I am having severe problems showing graphs because of some pretty demanding sql queries.
In the file: "frontends/php/include/classes/graph.inc.php"
line: 858, 859, 864.
On those lines are three quite similar but a bit different versions of queries for extracting data for graphs.
Problem is that on a 2GB history table this takes about 3 minutes to run, the server is a HP DL380 with Xeon and plenty of ram.... i haven't had the time to try and optimize the query so i post it here in hopes of someone with the time and joy for queries would like to optimize it and submit a patch of some sort.
Regards,
-Simon
Comment