Re: why bloom filter is only for row key?

2014-09-17 Thread Philo Yang
Thanks Rob Thanks, Philo Yang 2014-09-16 2:12 GMT+08:00 DuyHai Doan doanduy...@gmail.com: Nice catch Rob On Mon, Sep 15, 2014 at 8:04 PM, Robert Coli rc...@eventbrite.com wrote: On Sun, Sep 14, 2014 at 11:22 AM, Philo Yang ud1...@gmail.com wrote: After reading some docs, I find that

Re: why bloom filter is only for row key?

2014-09-15 Thread Philo Yang
Thanks DuyHai, I think the trouble of bloom filter on all row keys column names is memory usage. However, if a CF has only hundreds of columns per row, the number of total columns will be much fewer, so the bloom filter is possible for this condition, right? Is there a good way to adjust bloom

Re: why bloom filter is only for row key?

2014-09-15 Thread Robert Coli
On Sun, Sep 14, 2014 at 11:22 AM, Philo Yang ud1...@gmail.com wrote: After reading some docs, I find that bloom filter is built on row keys, not on column key. Can anyone tell me what is considered for not building bloom filter on column key? Is it a good idea to offer a table property option

Re: why bloom filter is only for row key?

2014-09-15 Thread DuyHai Doan
Nice catch Rob On Mon, Sep 15, 2014 at 8:04 PM, Robert Coli rc...@eventbrite.com wrote: On Sun, Sep 14, 2014 at 11:22 AM, Philo Yang ud1...@gmail.com wrote: After reading some docs, I find that bloom filter is built on row keys, not on column key. Can anyone tell me what is considered for

why bloom filter is only for row key?

2014-09-14 Thread Philo Yang
Hi all, After reading some docs, I find that bloom filter is built on row keys, not on column key. Can anyone tell me what is considered for not building bloom filter on column key? Is it a good idea to offer a table property option between row key and primary key for what boolm filter is built

Re: why bloom filter is only for row key?

2014-09-14 Thread DuyHai Doan
Hello Philo Building bloom filter for column names (what you call column key) is technically possible but very expensive in term of memory usage. The approximate formula to calculate space required by bloom filter can be found on slide 27 here: