Database repair almost finished