You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by N Kapshoo <nk...@gmail.com> on 2011/01/26 20:13:19 UTC

table scan against live data

Hi,

I have 2 region servers in production that I want to gather some stats
against. I want to run a table scan and count a few things (basic
reporting stuff). Is it a bad idea to run such a scan on a production
environment? Is there something I can do to mitigate the risk?

I am probably talking only about a few thousand rows or so in the
table... and the total table size is pretty small too.

Thanks.

Re: table scan against live data

Posted by Stack <st...@duboce.net>.
On Wed, Jan 26, 2011 at 11:13 AM, N Kapshoo <nk...@gmail.com> wrote:
> Hi,
>
> I have 2 region servers in production that I want to gather some stats
> against. I want to run a table scan and count a few things (basic
> reporting stuff). Is it a bad idea to run such a scan on a production
> environment? Is there something I can do to mitigate the risk?
>

A Scan is pretty light-weight operation.  Scan how all data access is
done (A Get is actually a Scan when you go deep).  If a Scan knocks
over your cluster, then something is way off indeed.


St.Ack