AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 01.03.2011, 08:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
axinthefield: Setting up Performance Analyzer for Microsoft Dynamics
Источник: http://blogs.msdn.com/b/axinthefield...-dynamics.aspx
==============

Performance Analyzer 1.0 for Microsoft Dynamics is the tool used by Microsoft Dynamics support, Premier Field Engineers and product team members to diagnose performance issues with Dynamics products. The following is a step-by-step guide to installing this toolset on your SQL Server environment.

This tool is delivered as a SQL Server solution file and can be downloaded from http://code.msdn.com/dynamicsperf. Once the file is unzipped the solution can be opened from within SQL Server Management Studio.

On the Menu, click File | Open | Project Solution



Choose the Performance Analyzer 1.0 for Microsoft Dynamics Solution file





To view the Solution Explorer in SQL Server Management Studio, click View | Solution Explorer or Ctrl - ALT-L.



The next step in deploying the tool is creating the database and the objects. In Solution Explorer, on the right hand side, select CreateDynamicsPerfDB.sql query.



This script will create a database called DynamicsPerf in the default location. It is initially 500Mb for the data file and 100Mb for the Transaction Log file for this database. Each data collection is approximately 500Mb to 1 GB in size. This varies widely depending upon total system memory and how much activity is occurring. To manage database size, there is a job called DYNPERF_Capture_Stats_Purge. This job by default will run once per day at 6PM and delete data older then 7 days old. Adjusting the number of days to retain data in this job is the method for controlling the database size of the DynamicsPerf database.

The next step is to create all of the database objects and SQL Jobs used by Performance Analyzer. . In Solution Explorer, on the right hand side, select CreateDynamicsPerfObjects.sql query.



This script creates all of the Tables, Procedures, and SQL Jobs used by the tool in the DynamicsPerf database. In order to do blocking analysis, the script will set a configuration option called "Blocked Processes Report" to 5 seconds. Setting up data gathering for blocking will be explained in another blog post. After running the create object script the results returned from this script should look as follows:



Performance Analyzer is designed to capture all Query and Index data for one database. To make this easier to configure, all basic functionality to collect data has been provided in a set of SQL Jobs. In order to do basic data capture, the SQL Job called DYNPERF_Capture_Stats must be edited to define which database to collect performance data on.



Either double click this job or right click and select properties. This should bring up the following dialog to edit the SQL job.



Click on the Steps page on the left hand side of this dialog



Click the Edit button to edit the single step in this job.

In the command of this job step change the '' to the name of the database to collect performance data from such as 'AX_Live'. Click the 'Ok' button to save the changes.



At this point, basic data collection has been setup for Performance Analyzer . By default data will be collected once per day at 5PM. This is the default schedule for the DYNPERF_Capture_Stats job, but you can edit it to find a time that better fits the data you're trying to collect.

If you have any questions or issues, please leave a note in the comments or email us at pfedynamics@microsoft.com. If you're interested in having a Performance Review done on your system using the Performance Analyzer tool, you can find more information here.






Источник: http://blogs.msdn.com/b/axinthefield...-dynamics.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axinthefield: Degraded Performance on Dynamics AX and the SQL Server TokenAndPermUserStore Blog bot DAX Blogs 0 15.01.2011 00:11
axinthefield: Podcast - Performance Analyzer for Dynamics AX Blog bot DAX Blogs 0 12.01.2011 03:18
axinthefield: Performance Analyzer for Dynamics Blog bot DAX Blogs 0 11.12.2010 06:22
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 06:57.