外观
USE [master] GO ALTER DATABASE [mgstat] SET READ_ONLY WITH NO_WAIT GO
USE [master] GO ALTER DATABASE [mglog] SET READ_WRITE WITH NO_WAIT GO