I've been using NRT for a very long time and have made some modifications to it (such as tracking HoDs) to keep up with my needs (as it doesn't seem to be updated anymore).
One of the things that saved me a lot of frustration was the following /script command I wrote to delete old loot data:
/script while _G.NRT.db.profile.loot[1]["date"]<time()-(60*60*24*7) do v=_G.NRT.db.profile.loot[1]; _G.NRT:Print("Removing "..date("%d/%m %H:%M", v["date"]).." "..v["player"].." "..v["item"].." "..v["from"]); table.remove(_G.NRT.db.profile.loot, 1); end
That will remove any recorded loot data older than 7 days.