TAILIEUCHUNG - Hướng dẫn học Microsoft SQL Server 2008 part 113

Cấu hình các bản ghi bằng cách sử dụng Transact-SQL Giống như hầu hết các cấu hình đăng nhập khác vận chuyển cũng có thể được cấu hình bằng cách sử dụng Transact-SQL. Cách dễ nhất để cấu hình vận chuyển đăng nhập bằng cách sử dụng Transact-SQL là cấu hình nó một lần bằng cách sử dụng SQL Server Management Studio và nhấn Script cấu hình như được giải thích trước đó (xem hình 46-8). | Part VI Enterprise Data Management 19. Once you have finished configuring log shipping you will see a page similar to Figure 46-8. Notice that it also has the option of scripting the log shipping configuration. FIGURE 46-8 If your log shipping has a number of non-default options scripting your changes makes it easier to ensure that each time it is done the configuration stays the same. Finished configuring log shipping 20. Once you click OK the Save Log Shipping Configuration dialog box sets up the log shipping as shown in Figure 46-9. 1082 Log Shipping 46 FIGURE 46-9 Successful completion of Log Shipping Configuration Configuring log shipping using Transact-SQL Like most other configurations log shipping can also be configured using Transact-SQL. The easiest way to configure log shipping using Transact-SQL is to configure it once using SQL Server Management Studio and click Script Configuration as explained earlier refer to Figure 46-8 . The following system stored procedures need to be executed to configure log shipping On the primary server execute the following system stored procedures Configures the primary database and creates the transaction log backup job 1083 Part VI Enterprise Data Management Creates the schedule for the backup job Links the backup job to the schedule Enables the backup job Adds an entry for the secondary database on the primary server On the secondary server execute the following system stored procedures Configures the primary server information and creates the copy and restore jobs Creates the schedule for the copy job Links the copy job to the schedule Creates the schedule for the restore job .

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.