1

I was trying to insert 1M entries in redis timeseries DB (on my local machine). For this, I was using add(sourceKey, timestamp, value) method of RedisTimeSeries on every entry.

Wanted to know if there's a better way to do this and if bulk load is possible in redis timeseries.

Couldn't find a method for bulk loading of data in this doc: https://oss.redis.com/redistimeseries/commands/#tsadd

Thanks

1 Answer 1

3

Currently, the fastest way is to combine pipelining and the TS.MADD command

Sign up to request clarification or add additional context in comments.

1 Comment

thanks for the response. Do this process work with the redistimeseries module: redis.io/topics/mass-insert

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.