TAILIEUCHUNG - The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P118

The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P118: Congratulations on your journey to become certified in SQL Server 2008. This book will help prepare you for your exam and give you a practical view of working with SQL Server 2008. | Performance Tuning Chapter 13 567 Server-Side Tracing Server-side tracing reduces the impact of tracing and is recommended when tracing busy production servers or machines where system resources memory CPU etc are low. Additionally when traces are run from the server itself there is no network time involved in reporting start times for query execution. Since network time can vary . latency due to traffic of other network users tracing across a network can produce inconsistent results. There are two methods to create a server-side trace. As always a family of stored procedures are provided which can be cumbersome and difficult to translate to actual events and columns. It is possible to create a trace within Profiler and then script the trace definition. To script the trace definition select File Export Script Trace Definition For SQL Server 2005 2008. Open the trace definition in SQL Server Management Studio and you ll see the sp_trace_create statement to define the trace. Here you ll need to replace InsertFileNameHere with the path to the folder where trace files should be saved see Figure . Try to avoid tracing to system drives or those where data or log files are stored since this will affect performance of the database server. Figure Trace Definition Created by SQL Profiler 568 Chapter 13 Performance Tuning Configuring Implementing. Avoid Tracing to System Drives Try to place the trace files on a dedicated disk with enough capacity for the duration of the trace. Avoid storing trace files on system drives. If the drive does fill recovering a server from a full system partition is more difficult and time consuming that if a nonsystem partition fills. Once the destination is configured run the script and make a note of the TracelD that is returned by the query. The trace is now defined on the server however there s an additional step required to start the trace. The system stored procedure sp_trace_setstatus is used to control the trace and requires .

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.