I've been playing around with riak lately as really my first usage of a
distributed key/value store. I quite like many of the concepts and
possibilities of Riak and what it may deliver, however I'm really stuck on
an issue.

Doing the equivalent of a select * from sometable in riak is seemingly slow.
As a quick test I tried...

http://localhost:8098/riak/mytable?keys=true

Before even iterating over the keys this was unbearably slow already. This
took almost half a second on my machine where mytable is completely empty!

I'm a little baffled, I would assume that getting all the keys of a table is
an incredibly common task?  How do I get all the keys of a table quickly? By
quickly I mean a few milliseconds or less as I would expect of even a "slow"
rdbms with an empty table, even some tables with 1000's of items can get all
the primary keys of a sql table in a few milliseconds.

Tom Burdick
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to