You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Lucian Iordache <lu...@gmail.com> on 2011/05/25 15:27:57 UTC

HTableInterface.batch actions number limit

Hello,

I have to make a lot of deletes from a hbase table, so I use the batch
method, providing a list of Delete objects.
Is there any limit for the number of Deletes to send in a batch?

-- 
Regards,
Lucian

Re: HTableInterface.batch actions number limit

Posted by Jean-Daniel Cryans <jd...@apache.org>.
There's no "recommended size", I guess as long as it fits in memory
it's ok given that not all JVMs are given the same amount of heap.

J-D

On Wed, May 25, 2011 at 6:48 AM, Lucian Iordache
<lu...@gmail.com> wrote:
> To be more specific, I was thinking of a recommended number of deletes per
> batch.
> For example I need to delete 200.000 rows, should I delete them in several
> batches or all at once?
> (I've noticed that some problems appear for lists containing more than
> 100.000 deletes)
>
> On Wed, May 25, 2011 at 4:27 PM, Lucian Iordache <
> lucian.george.iordache@gmail.com> wrote:
>
>> Hello,
>>
>> I have to make a lot of deletes from a hbase table, so I use the batch
>> method, providing a list of Delete objects.
>> Is there any limit for the number of Deletes to send in a batch?
>>
>> --
>> Regards,
>> Lucian
>>
>

Re: HTableInterface.batch actions number limit

Posted by Lucian Iordache <lu...@gmail.com>.
To be more specific, I was thinking of a recommended number of deletes per
batch.
For example I need to delete 200.000 rows, should I delete them in several
batches or all at once?
(I've noticed that some problems appear for lists containing more than
100.000 deletes)

On Wed, May 25, 2011 at 4:27 PM, Lucian Iordache <
lucian.george.iordache@gmail.com> wrote:

> Hello,
>
> I have to make a lot of deletes from a hbase table, so I use the batch
> method, providing a list of Delete objects.
> Is there any limit for the number of Deletes to send in a batch?
>
> --
> Regards,
> Lucian
>