Simple Settings To Help Your AX Solution To Run Faster
Simple Settings To Help Your AX Solution To Run Faster
Your AX 5Solution
Ways to Tell
toifRun
You’reFaster
Ready for
Connected Field Service
4/18/2019
Awards Leverage the Microsoft
Global Credibility Cloud to Your
Local, Strong Skills Advantage with HSO
Retail …
Distribution …
Manufacturing …
Services …
Public …
Presenter Introduction
Steve Walsh
Director of Managed Services
HSO North America
Technical/Developer Background
13 years w/Microsoft
MCS
Global Support Prg Mgr
Tech Acct Manager
Premier Field Engineer
➢ Assumptions
➢ Maintenance
➢ User Features
➢ Resources
Factors that affect performance
Today’s
Topic Repeat Continuous
Improvement
SQL Server Settings
SQL Settings
▪ TempDB
• One file per core & up to 8
• 20% of database size
• Each file should be set to same size
• Set to Simple Recover Model
• Auto growth set to 250-500MB
• Some will recommend setting to 1 Gig to start with
• When SQL is adding size to Temp files… it locks activity down.
SQL Settings
▪ Trace Flags
➢ 1117 – Enabled – This flag grows all file groups simultaneously in the case of
an auto growth event.
➢ 4199 – Enabled – This activates query optimizer fixes from several hotfixes.
➢ 4136 – Disabled – This has parameter sniffing; disabling can improve
performance.
➢ 1224 – Enabled – lock escalations based on the number of locks
➢ 2371 – Enabled – Reduces the threshold for auto-update statistics for large
tables > 25k rows.
SQL Settings
▪ Maintenance:
– Periodic indexing
▪ Administration > Periodic > SQL Administration
– Statistic rebuilding
– Specific Table Sizes:
– INVENTSETTLEMENT
» Run cleanup (inventory management > Periodic > Clean Up > Inventory Settlements
– EVENTCUD
– INVENTSUMLOGTTS
– SYSTRACETABLESQL
– SYSDATABASELOG
» Administration > Setup > Database Log
– SALESPARMLINE
» Administration > Periodic> SQL Administration
AOS Settings
AOS Settings
▪ Database Log
– System setting to capture when a record is inserted/deleted/updated
– Select count(recid) from sysdatabaselog
– If >200K, query for records older than a specific date
– Transaction type tables should not have logging turned on
– Clean-up process: Use Export/Import tools to archive data.
– Clean-up too: Administration -> inquiries -> Database Log -> Clean up Log
Monthly Checks
▪ Sales Line
– Select count(recid) from SalesLine
– Clean Up Process: AR > Periodic > Delete Orders
– Depending on your parameter settings; SO may go to voided table
Quarterly Checks
▪ Inventory Settlement
– Stored temporary data during inventory close and other periodic adjustments
▪ Select count(recid) from inventsettlement
– If record count is > 200K, then run clean up job
▪ Inventory Mgt>Periodic>Clean Up>Inventory Settlement Clean Up.
▪ Only run cleanup on previous financial YEARs.
Batch Jobs
▪ If you have a real-time backup; can you run your reports from there?
Consistency Checks
▪ GUID
– Check AX Environments Unique GUID
▪ SysSQMSettings SQL Table
▪ If the same GUID is Dev/Test/Production; could have User Usage data issues
▪ Usually happens when refreshing from Prod to Dev/Test
▪ Clear the Dev/Test environments (AX will generate a new GUID)
User Features
Fact Boxes & Preview Panes
▪ System Admin > Setup > System > Client Performance Options
– System wide; may not be a great option
▪ Get a Performance
Assessment
– Check Indexes
– Long running queries
▪ Storage Article:
▪ https://blogs.msdn.microsoft.com/dynamics-coe/2013/02/10/storage-
requirements-for-microsoft-dynamics-ax/
▪ Performance Page
▪ https://blogs.msdn.microsoft.com/axsupport/2015/09/28/ax-performance-
what-information-and-data-to-collect-when-you-want-to-open-a-support-
case/
▪ Performance Analyzer
▪ https://blogs.msdn.microsoft.com/axinthefield/cat/dynamicsperf/
Questions?
Learn More
LEARN MORE
Schedule a virtual assessment
with one of our service experts
today.
www.hso.com
(847) 348-0588
[email protected]
www.hso.com