You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the option to return some query execution statistics when using the influxdb3 query command. This would be set to false by default, but when enabled, it would output query statistics to stdout. For example:
Use case:
This would help to easily see execution stats of single queries and provide an alternative to having to query stats from system tables.
Alternatives considered:
DataFusion outputs query durations in their REPL, so I believe at least some of this data is available at query time. AFAIK, this functionality isn't exposed in a usable way.
The text was updated successfully, but these errors were encountered:
I would also propose that if results are written to a file, the statistics would still only be output on the command line and not included with query results in the output file.
sanderson
changed the title
Add '--show-stats' to `influxdb3 query'
Add '--show-stats' to 'influxdb3 query'
Feb 5, 2025
It would be nice to have the option to return some query execution statistics when using the
influxdb3 query
command. This would be set tofalse
by default, but when enabled, it would output query statistics to stdout. For example:Use case:
This would help to easily see execution stats of single queries and provide an alternative to having to query stats from system tables.
Alternatives considered:
DataFusion outputs query durations in their REPL, so I believe at least some of this data is available at query time. AFAIK, this functionality isn't exposed in a usable way.
The text was updated successfully, but these errors were encountered: