In many use cases, the key distribution changes over time. If the row portion of the key is itself time-based, deleterows provides the most most efficient method of removing old data while also keeping you from having a bunch of empty tablets. On Apr 14, 2014 8:51 PM, "Arshak Navruzyan" <[email protected]> wrote:
> BTW, I noticed that with > > deleterows -t foo -f > > you lose your split points. Not sure why this is desirable behavior in > the code. > > > On Mon, Apr 14, 2014 at 12:53 PM, Tiffany Reid <[email protected]> wrote: > >> Thanks so much for all responses. >> >> Tiffany >> >> On Apr 14, 2014, at 3:24 PM, "Keith Turner" <[email protected]> wrote: >> >> deletemany pulls data back to the client and write deletes back. The >> deleterows command is more efficient, it preforms operations on the server >> side. Entire tablets that fall within the range are just dropped. >> >> >> >> >> On Mon, Apr 14, 2014 at 3:20 PM, Russ Weeks <[email protected]>wrote: >> >>> deletemany -t <table> -f >>> >>> If you have a large table, that command will produce a lot of output. I >>> don't know if there's a way to make it less verbose? Maybe best to pipe it >>> to /dev/null. >>> >>> -Russ >>> >>> >>> On Mon, Apr 14, 2014 at 12:13 PM, Tiffany Reid <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> >>>> >>>> How do I delete all rows in a table via Accumulo Shell? >>>> >>>> >>>> >>>> Thanks, >>>> >>>> Tiffany >>>> >>>> >>>> >>>> >>>> >>> >>> >> >
