As a follow-up to https://github.com/influxdata/influxdb-comparisons/pull/188, this removes the GROUP BY * statement from the InfluxQL query. This makes the InfluxQL query run a little bit faster, but still slower than the Flux query in my local tests.
Without the GROUP BY *, the list of results would look something like this:
This second form is perhaps more directly comparable to the raw Flux output which includes separate tables for each result, but adds additional processing to the InfluxQL query compared to the Flux query. Since this query is being created in response to a concern that the Flux query is slower than the InfluxQL query, removing the extra processing step from the InfluxQL query and having the flux query still be actually faster provides a less obtuse comparison between the two.
As a follow-up to https://github.com/influxdata/influxdb-comparisons/pull/188, this removes the
GROUP BY *
statement from the InfluxQL query. This makes the InfluxQL query run a little bit faster, but still slower than the Flux query in my local tests.Without the
GROUP BY *
, the list of results would look something like this:With the
GROUP BY *
, the results are grouped like this:This second form is perhaps more directly comparable to the raw Flux output which includes separate tables for each result, but adds additional processing to the InfluxQL query compared to the Flux query. Since this query is being created in response to a concern that the Flux query is slower than the InfluxQL query, removing the extra processing step from the InfluxQL query and having the flux query still be actually faster provides a less obtuse comparison between the two.