Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Added ability to iterate over large queries without exceeding memory #143

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NotionCommotion
Copy link

Thanks for your work creating influxdb-php.

I had the need to perform very large queries and process the data, however, memory limitations prevented me from doing so. One is now able to do so without any regard to PHP memory. It is accomplished by using https://github.com/halaxa/json-machine. Per their documentation, it might be higher performing that json_encode() and I originally intended to use it with the standard query() method as well, however, my initial testing did not seem to indicate so.

Thanks, Michael

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant