Database scanner