Hey guys,

Just noticed some surprising behavior for select statements in HBase 0.15: a 
select command without a num_versions = 1 clause takes 2 orders of magnitude 
longer to run than a bare select.

Is this inconsistent implementation, or is it taking extra time to scan for 
additional versions? If this isn't a bug, then perhaps the default for 
num_versions should be 1 to keep things snappy by default.

============================================================

Hbase> describe test;
+-----------------------------------------------------------------------------+
| Column Family Descriptor                                                    |
+-----------------------------------------------------------------------------+
| name: hex, max versions: 3, compression: NONE, in memory: false, max length:|
|  2147483647, bloom filter: none                                             |
+-----------------------------------------------------------------------------+
1 columnfamily(s) in set (0.310 sec)
Hbase> select hex: from test where row = '3980000' num_versions = 1;
3cbae0
1 row(s) in set (0.016 sec)
Hbase> select hex: from test where row = '3980000';                 
3cbae0
1 row(s) in set (1.882 sec)

============================================================


Thanks,


Stu Hood
Webmail.us
"You manage your business. We'll manage your email."®

Reply via email to