Server integrity check on database