Fixed sql dry mode output and compression level