otherwise db is likely to get corrupted during restart
otherwise db is likely to get corrupted during restart