Breaking News
Loading...
27/04/2013

'Use single transaction when processing the queries' khi set up data source trong SSRS

Khi set up data source cho 1 report trong SQL Server Reporting Services (SSRS), bạn sẽ thấy có 1 thuộc tính 'Use single transaction when processing the queries' như hình bên dưới. Vậy tùy chọn này có ý nghĩa như thế nào?



Câu trả lời là để giảm số lượng connection kết nối đến database, giảm lưu lượng mạng (network traffic) và tăng performance.

Ví dụ có thể trong 1 report của bạn có 3 dataset, thì nếu ta không chọn option này, sẽ có 3 connection đến database. Nếu ta chọn option này, thì chỉ có duy nhất 1 connection đến database cho 3 dataset.

Tham khảo: http://bidn.com/blogs/SMcDonald/bidn-blog/2201/ssrs-use-single-transaction-when-processing-the-queries

0 comments:

Post a Comment

 
Toggle Footer