SQL Baseline Build-step

Source: Internet
Author: User

1. Collect the performance metrics on the target machine:
Run:
Configuration file
Execute the following command:
Run as Service
It's 8 to 18 o'clock in the evening in the morning.
Sqldiag-p "C:\sqldiag"-B 08:00:00-e 18:30:00-n2-r
net start SQLdiag

Unloading:
net stop SQLdiag
Sqldiag-u
2, convert the last generated SQLDIAG.BLG file with PAL tool, generate analysis results, observe this result, and focus on problem solving.
Convert sqldiag.blg through relog sqldiag.blg-f csv-o sqldiag.csv to CSV and import into SQL Server for data analysis, such as averages.
3. Open the collected SQL Server TRC file, file-Import performance data, select the generated BLG performance counter file, so you can compare performance counters with specific SQL to view.

SQL Baseline Build-step

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.