Perform periodic database repairs