accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: Delete All Data In Table
Date Mon, 12 May 2014 13:47:27 GMT
Not really, you enumerated the options pretty thoroughly :)

BatchDeleter is slow like you said due to pulling back all of the data to
the client and issuing deletes from there.

You could get the splits for your table (just in memory or write to disk if
they won't fit) and just re-add the splits after.

You could also try setting the DevNullIterator on the table for major
compaction and then compact it. This is just a little round about.
On May 12, 2014 9:30 AM, "BlackJack76" <> wrote:

> Besides using the tableOperations to deleteRows or delete the table
> entirely,
> what is the fastest way to delete all data in a table?  I am currently
> using
> a BatchDeleter but it is extremely slow when I have a large amount of data.
> Any better options?
> I don't want to use the tableOperations because both the deleteRows and
> delete blow away the splits.  I would like to keep the splits in place.
> Appreciate your thoughts!
> --
> View this message in context:
> Sent from the Users mailing list archive at

View raw message