TAILIEUCHUNG - Microsoft SQL Server 2008 R2 Unleashed- P113

Microsoft SQL Server 2008 R2 Unleashed- P113:SQL Server 2005 provided a number of significant new features and enhancements over what was available in SQL Server 2000. This is not too surprising considering there was a five-year gap between these major SQL Server 2008 is not as much of a quantum leap forward from SQL Server 2005 | 1064 CHAPTER 32 Database Snapshots go RESTORE DATABASE AdventureWorks FROM DATABASE_SNAPSHOT SNAP_AdventureWorks_6AM go When this process is complete the source database and snapshot are essentially the same point-in-time database. But the source database quickly diverges as updates begin to flow in again. Using Database Snapshots with Testing and QA Reverting to a golden copy of a database via a database snapshot is going to be popular going forward because of the simplicity that creating and reverting provides. Testing and QA groups will thrive on this feature and this will directly affect the velocity of testing in your organization. With the increase in the frequency and stability of your testing and QA environments a direct improvement in the quality of your application should be attainable. Essentially these are the steps 1. Create the golden database snapshot before you run your testing Use master go CREATE DATABASE SNAP_AdventureWorks_GOLDEN ON NAME AdventureWorks_Data FILENAME C Program Files Microsoft SQL Server MSSQL DATA AS SNAPSHOT OF AdventureWorks Go 2. Run tests or QA to your heart s content. 3. Revert to the golden copy when the testing is completed so that the process can be repeated again regression testing can be run stress testing can be done performance testing can be started or further application testing can be done USE master go RESTORE DATABASE AdventureWorks FROM DATABASE_SNAPSHOT SNAP_AdventureWorks_GOLDEN go Setting Up Snapshots Against a Database Mirror If you are using database mirroring to improve your availability you can also create a database snapshot against this mirrored database and expose the snapshot to your reporting users. Doing so further enhances the overall database availability to all end users Download from Setting Up Snapshots Against a Database Mirror 1065 transactional and reporting users . In addition it serves to isolate the reporting users .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.