October 30, 2014
Mass insertion on Redis
You may want to insert a lot of data into Redis. This would be easier to insert a lot data into Redis using Linux commands. Lets say we have a comma separated values in a file.
key1,1200 key2,5000 key35,12345 key12,4500
With following command you can load all the data into Redis. But you should start Redis server first.
You can change data.csv as you want and according to your file.
Post a Comment
Post Comments (Atom)