hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Rodionov <vrodio...@carrieriq.com>
Subject RE: count of rows in table
Date Thu, 29 Jul 2010 22:00:30 GMT
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.


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

View raw message