accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: m.putDelete versus RowDeletingIterator?
Date Wed, 09 Oct 2013 20:21:32 GMT
They do different things.

Deleting mutations marks each entry with a delete marker.  Using the
iterator marks a whole row with a single mutation.

If you have a million entries in your row, the iterator is faster for
the delete, but requires a seek to the start of the row for every
read, so reads are slower.

If your row has one entry, they are the same thing.

Somewhere under N keys... the mutation path will be quite fast, and
still preserve your reading speed.  I'll just pull a number out of
thin air... let's say a few thousand.

-Eric



On Wed, Oct 9, 2013 at 4:01 PM, David Medinets <david.medinets@gmail.com> wrote:
> Are there any reason to favor one approach over the other?

Mime
View raw message