Prasad,

When you run a transaction, that involves many entries, the whole key set
is sent between nodes multiple times.
It also generates a lot of garbage, which cannot be released until the
transaction is committed.
It's better to remove values in small batches.
So, try changing the batch size. It's possible, that singular removes will
work faster.

Denis

вт, 22 янв. 2019 г. в 16:37, Prasad Bhalerao <[email protected]>:

> Hi,
>
> I am removing around 2 million entries from cache using cache.removeAll
> api.
> I removing entries in a batch of 100k.  To remove 2 million entries ignite
> takes around 218 seconds.
> This cache is transactiona and write synchronization mode is full sync.
>
> Is there any way to improve the performance of removeAll operation?
>
> Thanks,
> Prasad
>
>
>

Reply via email to