Database Quality check tool