Re: List all keys on a small bucket

2016-12-08 Thread John Daily
I'd completely forgotten leveldb had that advantage. Russell is correct. Sent from my iPhone > On Dec 8, 2016, at 4:51 PM, Russell Brown wrote: > > Depends on what backend you are running, no? If leveldb then this list keys > operation can be pretty cheap. > > It’s a coverage query, but if it’s

Re: List all keys on a small bucket

2016-12-08 Thread Russell Brown
Depends on what backend you are running, no? If leveldb then this list keys operation can be pretty cheap. It’s a coverage query, but if it’s leveldb at least you will seek to the start of the bucket and iterate over only the keys in that bucket. Cheers Russell On 8 Dec 2016, at 21:19, John D

List all keys on a small bucket

2016-12-08 Thread Arun Rajagopalan
Hello Riak Users I have a use case where I would really like to list all keys of a bucket despite all the warnings about performance. The number of keys is relatively small - in the few thousands at the very most, Usually its no more than 100 I also have other buckets in the same cluster that hav

Re: List all keys on a small bucket

2016-12-08 Thread John Daily
The size of the bucket has no real impact on the cost of a list keys operation because each key on the cluster must be examined to determined whether it resides in the relevant bucket. -John > On Dec 8, 2016, at 4:17 PM, Arun Rajagopalan > wrote: > > Hello Riak Users > > I have a use case w

Re: Monitor Riak Network Port and IO Port

2016-12-08 Thread Fred Dushin
The process is (typically) beam.smp, though you may have multiple on your machine, if for example, you are connected to riak via the console, or if you are running administrative commands (e.g., riak-admin). For the ports (if that is also what you are looking for) see: http://docs.basho.com/ri

Monitor Riak Network Port and IO Port

2016-12-08 Thread Jing Liu
Hi, Currently, I need to know exactly which process occupies the network port (OS level) and performs file IO while Riak is running (For some research usage). I have seen tools like Erlang+drace, but it seems a little difficult. I'm not very familiar with Erlang world, so would you mind giving me