Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Data queried not enough under InfluxDB 1.2.0 #434

Closed
hongquan opened this issue Apr 5, 2017 · 3 comments
Closed

Data queried not enough under InfluxDB 1.2.0 #434

hongquan opened this issue Apr 5, 2017 · 3 comments

Comments

@hongquan
Copy link

hongquan commented Apr 5, 2017

In InfluxDB 1.2.0, the data returned is chunked by 10,000 rows, including "partial":true to indicate this.
influxdb-python currently doesnot support this feature and hence, leaves missing data.

@hongquan
Copy link
Author

hongquan commented Apr 5, 2017

To let you have idea where the "partial":true tag is, I include a screenshot here:
selection_124

@nicolajkirchhof
Copy link
Contributor

This is related to influxdata/influxdb#7879.
If you seek for a quick fix, try setting 'max-row-limit = 0' in your influxdb.conf to get the full data range.

@bradm-pa
Copy link

bradm-pa commented Apr 7, 2017

So, #418 which was merged allows you to work around this issue.

Arguably, having both chunked and chunk_size parameters feels a bit redundant, as they appear to be interdependent. Doesn't chunk_size != 0 imply chunked = True?

And there is still the issue that if you do not specify chunking and the server applies the max-row-limit, you will silently get fewer results than you expect.

Having defaults of chunked=True and chunk_size=10,000 would less surprising to the user, eliminate the issue of server overload, and have no impact on queries returning < 10,000 results.

Hmm. After further consideration, note that as of InfluxDB 1.2.2 the default has returned to max-row-limit = 0, so perhaps this becomes moot over time.

@hongquan hongquan closed this as completed Apr 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants