CSV export problems - Request datapoint limit reached (8928)

Hi im running version | 9.3 | 2016.01.26.

I can export one days worth of data fine (samples every 10s) but when trying to export 2-3 days worth of data in one hit i get the message
{"success":false,"message":"Request datapoint limit reached (8928), increase request interval or time range, requested datapoints = 51840"}
 

is it possible to change this limit of 8928 records? rather than having to pull the data every min ie a smaller sample rate?

 

I am aware this may have a performance impact on a live unit.

is this just a hardcoded limit i can just change or are there other ramifications i see a reference to it in

emoncms/Modules/feed/engine/PHPFina.php

emoncms/Modules/feed/engine/PHPTimeSeries.php

 

Thanks

ChrisValentine's picture

Re: CSV export problems - Request datapoint limit reached (8928)

Have you tried increasing the amount of memory PHP can use via php.ini ?

TrystanLea's picture

Re: CSV export problems - Request datapoint limit reached (8928)

This is just a hard coded limit, your welcome to increase it, it will just result in a request that takes longer.

dafyddhirst's picture

Re: CSV export problems - Request datapoint limit reached (8928)

Fantastic Thanks for the conformation i have increased both memory and limits and can say so far its still stable. Slow on big exports but thats to be expected.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.