The way to deal with excess debt is not to have a cranky database that loses the records. Also forgiveness seldom happens.
What does happen in reality often is inflation - government gives money to the needy (or similar) and the money being given out inflates away the debts.