© Sonata Software Ltd, 2015. Confidential. 1 © Sonata Software Ltd, 2015. Confidential. Dynamics AX Performance, Audit, Tuning & Benchmarking
© Sonata Software Ltd, 2015. Confidential.
1© Sonata Software Ltd, 2015. Confidential.
Dynamics AX Performance, Audit, Tuning & Benchmarking
© Sonata Software Ltd, 2015. Confidential.
2
Session Topics
Why is performance a hot topic on AX ?
When should we think about performance?
What are the symptoms of poor performance?
What are the contributors to performance?
What are the most common performance issues?
What can you do to deal with it?
What are the tools at your disposal?
What to do when the performance issues just wont go away?
© Sonata Software Ltd, 2015. Confidential. 3
The Need
Dynamics AX 3.0 Dynamics AX 4.0 Dynamics AX 2009 Dynamics AX 2012
• Core Horizontal ERP• Ready for
Standalone Implementation
• New UI• 3 Tier Configuration• Version Control• CLR Interoperability• Unicode compliance• Optimistic
Concurrency Control
• Workflow• Time zone Support• 3 Layers for MDIS
solutions• .Net Business
Connector• Role Center• XML Documentation• Application Integration
Framework (AIF)• SSRS Reporting & BI
• Models and Model Store
• Org Model• SSRS Primary Reporting
Platform• X++ Code Compiled to
CIL• Events & Delegates• Enterprise Portal is now
based on Microsoft SharePoint 2010
• Services hosted on AOS• Table Inheritance &
Surrogate Keys• Enhancements in
Developer Tools• Partner Tools
Dynamics AX7
• Cloud First• Mobile First• Web client• X++ First Class .Net
language• Full CIL• Lifecycle Services• Visual Studio• Self Service BI• Dynamics support for
various Form Factors• Extension Models
Current & Future Needs
Scalability(Design/Code)
StabilitySizing /
Capacity Planning
© Sonata Software Ltd, 2015. Confidential. 4
Typical Signs of Performance Problems
More than one user complaining with same / similar symptoms Response time
Throughput
Availability (Application not responding)
High utilization or pressure on resources across tiers CPU
Memory
Disk I/O
Network
© Sonata Software Ltd, 2015. Confidential.
5
Contributors
Dynamics AX
ClientAOS
SQL Server /
SSAS / SSRS
Hardware
InfrastructureIIS
SharePoint
(EP)
© Sonata Software Ltd, 2015. Confidential.
6
Typical Issues Observed
Workloads
Change in workload
Other processes
AOS / Application Configurations
Application & Kernel Versions
Configuration Keys
Debugging / Tracing
Table Caching
Number Sequences
SQL Server
Configurations
File placements, Auto
Growth, RCSI, MAXDOP,
DB Statistics, TempDB,
MAXDOP, Cluster Size
Expensive Queries
Blockings / Deadlocks
Missing / Un Used Indexes
© Sonata Software Ltd, 2015. Confidential.
7
Typical Issues Observed
Hardware
Sizing
Disk Settings / Layout
Security
Roles & Security Policies
Audit Logs
Application Code
Server Side / Client Side code
Cache lookup settings
TTS Blocks
Nested Loops
Row based vs Set based
Multiple Selects
© Sonata Software Ltd, 2015. Confidential.
8
Tools of Trade
• Lifecycle Services
• Customization Analysis Tool
• System Diagnostics
• Event Logs , SQL Logs , IIS Logs
• Performance Analyzer
• Collects SQL and Microsoft Dynamics specific product data
• Query Stats, Query Plans, Index Stats, Database & AOS
Configurations / Metadata, Event Logs & Database Blocking
• Trace Parser
• Code call stack , RPC’s
© Sonata Software Ltd, 2015. Confidential.
9
Tools of Trade
• SQL Profiler
• Trace SQL events and uncover performance issues
• SQL Dynamic Management Views
• Provides insights into the database execution engine, operations
and metadata
• Intelligent Data Management Framework
• System & Application Health monitoring
• Data purging & Archiving
• Performance Counters & Network Monitor
© Sonata Software Ltd, 2015. Confidential.
10
AX7 – What's Different?
Monitoring &
Diagnostics
Diagnostic Events
SQL Azure
Azure Infrastructure
Performance Counters
Availability
© Sonata Software Ltd, 2013. Confidential.© Sonata Software Ltd, 2013. Confidential.
Thank You
Naveen Ajmal: [email protected] Jyoti: [email protected] George: [email protected] (510.371.3400)
Dallas Office: 405 State Highway 121, Ste A250, Lewisville TX 75067. Ph.: 469.444.3765Corporate Office: 2201 Walnut Avenue, # 180, Fremont CA 94538 Ph.: 510.791.7220