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

ghdsjkf
  • 13
  • 2

1 Answers1

3

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

Pieter Cailliau
  • 459
  • 3
  • 8
  • thanks for the response. Do this process work with the redistimeseries module: https://redis.io/topics/mass-insert – vgoklani Dec 27 '21 at 12:41