-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LIMIT and OFFSET to SLIMIT and SOFFSET and implement LIMIT and OFFSET #1709
Comments
If this is all about paging through points in a series with a lot of data, and narrower time ranges are still not sufficient, seems like we do need it. No other command comes to mind. |
+1 on the functionality. It is very much needed indeed, but I would suggest to switch the names as I'd expect limiting on the database to be the more frequently used case (at least from the way that I use the database). |
Also I think using the LIMIT for the datapoint limit instead of the series is more compatible with sql tradition and previous versions of influxdb. Maybe use SLIMIT for a series limit instead? |
+1 for SLIMIT I agree with Ynguibjoerg. To me, LIMIT should control the number of rows
|
I think I'm sold on that. |
+1 Awesome! |
👍 for |
LIMIT
andOFFSET
currently set the limit and the offset on the series that are returned. We need another layer of limiting, which is the number of data points in each of those series. Change the series limit and offset toSLIMIT
andSOFFSET
and update the currentLIMIT
andOFFSET
to be limits and offsets for the points within each series.This means that if you do a group by on a tag, you could potentially still get a ton of data back if the tag has a high cardinality.
The text was updated successfully, but these errors were encountered: