Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stay ahead of the game: Dynamics NAV system’s performance Hynek Muhlbacher Ludo Van den Ende SQL Perform.

Similar presentations


Presentation on theme: "Stay ahead of the game: Dynamics NAV system’s performance Hynek Muhlbacher Ludo Van den Ende SQL Perform."— Presentation transcript:

1 Stay ahead of the game: Dynamics NAV system’s performance Hynek Muhlbacher Ludo Van den Ende SQL Perform

2 2

3 Passionate about your system performance! 3 Experienced specialists100% focus on performanceInternational coverageProven methodologyDelivered hundreds of projects

4 SQL Perform Partners 4 And many more! Apologies to the ones being here and not being on the slide!

5 SQL Perform Customers 5 And many more! In fact we have 500+ active customers!

6 NAV/SQL Performance Complex World 6 SQL Server Hardware SQL Server Network NAV Database SQL Server Maintenance Indexes/VSIFT C/AL Code T-SQL Queries NAV Server Hardware NAV Server Client Hardware NAV Client Locks/Blocks/Deadlocks Application Design

7 NAV/SQL Performance Complex World ++ In addition Reporting Services, Data Warehousing High Availability, Clustering Replication, Log Shipping, Mirroring Disaster Recovery Business Continuity Web/Other Interfaces.... 7

8 Pyramid Of Performance NAV/SQL Performance Complex World 8 SQL Server Hardware SQL Server Network NAV Database SQL Server Maintenance Indexes/VSIFT C/AL Code T-SQL Queries NAV Server Hardware NAV Server Client Hardware NAV Client Locks/Blocks/Deadlocks Application Design

9 Performance Wins Pyramid 9 SQL Server Hardware SQL Server Network NAV Database SQL Server Maintenance Indexes/VSIFT C/AL Code T-SQL Queries NAV Server Hardware NAV Server Client Hardware NAV Client Locks/Blocks/Deadlocks Application Design Performance Wins Pyramid

10 Areas of focus 10 SQL Server Hardware SQL Server NAV Database Indexes VSIFT C/AL Code T-SQL Queries Locks Blocks Deadlocks SQL Server Configuration NAV Database Design NAV Application Design SQL Server Performance Audit Application Audit Server Maintenance

11 Or another view.... 11 ApplicationSQL ServerHardware

12 More Pain – More Gain The higher we go on the pyramid, the higher are performance wins SQL Server Configuration Minor/moderate improvements But important (!) – Setup & Maintenance NAV Database Design Moderate efforts, moderate improvements NAV Application Design Bigger efforts, bigger improvements 12

13 Out Of The Box Thinking T-SQL Queries T-SQL Reports Reporting Services Business Intelligence Application Design Logic Archiving Strategies 13

14 Performance Tuning Yields Application Infrastructure 14 10 – 20% 80 – 90%

15 SQL Perform Tools Family We need tools 15

16 SQL Perform Tools Family 16 SQL Perform Tools Perform-Tools for Dynamics NAV Perform-Tools for SQL Server Archive-Tools for Dynamics NAV

17 Perform-Tools for Dynamics NAV Efficient Analysis Preventive Maintenance Proactive Monitoring 17

18 Perform-Tools Summary 18

19 Helicopter View Report 19 SQL Server Hardware SQL Server NAV Database Indexes VSIFT Locks Blocks Deadlocks NAV/SQL Server Performance Audit Server Maintenance Helicopter View Report T-SQL Queries

20 SQL Server Hardware Example Findings Disks Disks IO load not separated Low level (SAN, RAID type) issues CPU Power Scheme Hyper-Threading RAM Network 20

21 21 Example: disk response times & IO requests

22 SQL Server Setup Example Findings Configuration Max Server Memory Max Degree of Parallelism TempDB setup Multiple files Pre-sized small NAV DB setup Multiple files Fragmented log Autogrow 22

23 SQL Server Configuration Perform-Tools command “pt_sqlsetup” 23

24 SQL Server Configuration Perform-Tools “pt_filesetup” and “pt_filesetupt” 24

25 SQL Server Configuration Perform-Tools “pt_filesetup” and “pt_filesetupt” 25

26 SQL Server Configuration Log Fragmentation 26

27 SQL Server Configuration Memory – Ludo we need a story here or hide it... 27

28 NAV Database Setup 28

29 SQL Server Maintenance Performance related Rebuilding Indexes Creating/Updating Statistics DR related Check Database Consistency Backups 29 Perform- Maintenance

30 Indexes/SIFT Over-indexed databases Low selectivity indexes/SIFT Sub-optimum fetches Blocks/deadlocks/timeouts on indexes/SIFT 30

31 Locks/Blocks/Deadlocks/Timeouts Guaranteed to happen! Focus on Blocks, because Timeouts and Deadlocks are the results of Blocks Who is blocking? What application area is blocking? When are blocks high? Leading to Improving indexes Re-designing application 31

32 Blocks Analysis 32

33 Deadlocks Case – Pernod Ricard 33

34 34

35 35

36 Giant savings at Fritom 36

37 Inefficient Queries 37

38 New NAV humongous queries we need to update this with Ludo 38

39 Proactive Monitoring Perform-Tracking Collects vital statistics Alerts on business critical situations 39

40 Recent case - alerts Deleted 50.000.000 Change Log Entries Inserted them in a new table Transaction started at 8 PM - finished just before 12PM 1 GB left before and error happened > rollback 40

41 Trending Analysis – blocks example 41

42 Fixed deadlocks at Pernod Ricard 42

43 Helped HEINEKEN in La Réunion 43

44 Perform-Tools Summary Efficient Analysis You need tools to analyse the system Preventive Maintenance Must be in place Proactive Monitoring Peace of mind 44

45 Archive-Tools for Dynamics NAV Maintaining Lean NAV Database 45

46 NAV Data Lifecycle OperationalReferenceArchive Needed for day to day transacting Needed for reporting and business decisions Needed for legal compliance and business protection CREATE DISCARD

47 Archiving Process 47 Live DatabaseArchive Database Archived Data Live Data trimmed compressed Archive Compress

48 How does it work? Example ‘big’ CRONUS database Archiving is done for 2005.. 2011 Example focusses on G/L Entry

49 Before Archiving Drill down 2695 entries

50 After Archiving Compressed 61 entries Summary per G/L Account Month Dimension (set) Document No. replaced, Negative Entry No.

51 Before Archiving

52 After Archiving Dimension information is kept

53 Navigate Old Entries Should be done from the archive database

54 Navigate in the Archive Database Related documents available (depends on the scope)

55 Archive-Tools ™ 55 Archive- Tools Perform- Archiving Perform- Compression Perform- Dataport

56 Design Principles and Features 56 Original data never deleted Legal and fiscal requirements are met Any NAV table handling Customization, add- ons, base application Execution within same transaction Rollback if an error is encountered Fast T-SQL execution Compared to C/AL code in NAV The power of undo De-archive possible Dimension handling All functionality retained Link tables handling Orphans are not there Traceability – registers History of archiving retained Data visibility Historic data anytime available

57 Customer Case 57

58 Archiving G/L Entry & Dimensions @Costa Coffee 58

59 Archiving G/L Entry & Dimensions @Costa Coffee 59

60 Summary - Return On Investment Live database is kept small Legal and fiscal requirements are met You can keep running NAV forever! 60

61 Questions?

62 Thank you

63 Get in touch www.sqlperform.com Contact Us SQL Perform Europe SQL Perform Germany SQL Perform North America Other Regions


Download ppt "Stay ahead of the game: Dynamics NAV system’s performance Hynek Muhlbacher Ludo Van den Ende SQL Perform."

Similar presentations


Ads by Google