TAILIEUCHUNG - Microsoft SQL Server 2008 R2 Unleashed- P18

Microsoft SQL Server 2008 R2 Unleashed- P18: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 | 124 CHAPTER 6 SQL Server Profiler The first place you should look when creating a new trace is at the trace templates. These templates contain predefined trace settings that address some common auditing needs. They have preset events data columns and filters targeted at specific profiling scenarios. The available trace templates found in the template drop-down on the General tab of the Trace Properties window are listed in Table . TABLE SQL Profiler Templates Template Description SP_Counts Tracks all the stored procedures as they start. No event except for the stored procedure starting is traced. Standard Traces the completion of SQL statements and Remote Procedure Calls RPCs as well as key connection information. TSQL Traces the start of SQL statements and RPCs. This template is useful for debugging client applications where some of the statements are not completing successfully. TSQL_Duration Traces the total execution time for each completed SQL statement or RPC. TSQL_Grouped Traces the start of SQL statements and RPCs grouped by Application NTUser LoginName and ClientProcessId. TSQL_Locks Traces the completion of SQL statements along with the key lock information that can be used to troubleshoot lock timeouts deadlocks and lock escalation issues. TSQL_Replay Captures profiling information that is useful for replay. This template contains the same type of information as the standard template but it adds more detail including cursor and RPC output details. TSQL_SPs Traces stored procedures in detail including the start and completion of each stored procedure. The SQL statements within each procedure are traced as well. Tuning Performs a streamlined trace that tracks only the completion of SQL statements and RPCs. The completion events provide duration details that can be useful for performance tuning. Download from Creating Traces 125 Keep in mind that the templates that come with SQL Server 2008 are not actual traces. They simply provide

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.