Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Fastest way to find is a row exist?


+
Jean-Marc Spaggiari 2013-01-04, 15:24
Copy link to this message
-
Re: Fastest way to find is a row exist?
Hi,

using KeyOnlyFilter will prevent sending value via netrwork

04.01.2013 17:24, Jean-Marc Spaggiari пишет:
> Hi,
>
> What's the fastest way to know if a row exist?
>
> Today I'm doing that:
>
> Get get_entry_exist = new Get(key).addColumn(CF_DATA, C_DATA);
> Result entry_exist = table_entry.get(get_entry_exist);
>
> But should this be faster?
> Get get_entry_exist = new Get(key);
> Result entry_exist = table_entry.get(get_entry_exist);
>
> There is only one CF and one C on my table.
>
> Or is there an even faster way?
>
> Also, is there a way to make that even faster? I think BloomFilters
> can help, right?
>
> Thanks,
>
> JM
>
+
Damien Hardy 2013-01-04, 15:35
+
Jean-Marc Spaggiari 2013-01-04, 19:58
+
Adrien Mogenet 2013-01-04, 20:17
+
Mohamed Ibrahim 2013-01-04, 21:04
+
Jean-Marc Spaggiari 2013-01-05, 13:29
+
Mohamed Ibrahim 2013-01-05, 14:07
+
Asaf Mesika 2013-01-06, 20:27
+
Jean-Marc Spaggiari 2013-01-07, 02:14
+
Jean-Marc Spaggiari 2013-01-04, 20:28
+
Bryan Beaudreault 2013-01-04, 20:45
+
Jean-Marc Spaggiari 2013-01-04, 20:54
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB