hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: count of rows in table
Date Thu, 29 Jul 2010 22:04:46 GMT
The questions was "Is there a way to obtain count faster ?" and there
is 2, which I gave.

The existence of a row in HBase is nothing like your typical RDBMS.

J-D

On Thu, Jul 29, 2010 at 3:00 PM, Vladimir Rodionov
<vrodionov@carrieriq.com> wrote:
> I think topic starter prefers something like:
> "select count(*) from table" and not to launch M/R job
> for this purpose.
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
>
> ________________________________________
> From: jdcryans@gmail.com [jdcryans@gmail.com] On Behalf Of Jean-Daniel Cryans [jdcryans@apache.org]
> Sent: Thursday, July 29, 2010 2:26 PM
> To: dev@hbase.apache.org
> Subject: Re: count of rows in table
>
> In 0.89 you can specify CACHE for the count command. Set it higher (it
> defaults to 10 rows per call).
>
> Also you can use the RowCounter MR job.
>
> J-D
>
> On Thu, Jul 29, 2010 at 2:22 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>> Hi,
>> The count method in HBase shell is quite slow.
>> Is there a way to obtain count faster ?
>>
>> Thanks
>>
>

Mime
View raw message