Jay
Jay

Reputation: 9612

How to perform a bulk insert with Riak?

How do I insert millions keys into a Riak bucket?

Inserting them one at a time takes too long.

Ideally I'd like something like MySQL's "LOAD DATA INFILE".

Upvotes: 1

Views: 928

Answers (1)

phoet
phoet

Reputation: 18845

AFAIK riak does not have bulk insert mode. you can increase the performance by using the protobuffer protocol.

reading the readme here https://github.com/basho/riak-ruby-client also indicates that map types support batch operations.

Upvotes: 1

Related Questions