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

Slides:



Advertisements
Similar presentations
Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Chris Ruel * Image used without permission.
Big Data Working with Terabytes in SQL Server Andrew Novick
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Memory Management 2010.
Data Warehousing: Defined and Its Applications Pete Johnson April 2002.
Russ Houberg Senior Technical Architect, MCM KnowledgeLake, Inc.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Exam QUESTION CertKiller.com has hired you as a database administrator for their network. Your duties include administering the SQL Server 2008.
Data Center Infrastructure
Managing Multi-User Databases AIMS 3710 R. Nakatsu.
Stephan Hurni Consultant Trivadis AG, SQL Server notes from the field.
Database Systems – Data Warehousing
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
1 Oracle Database 11g – Flashback Data Archive. 2 Data History and Retention Data retention and change control requirements are growing Regulatory oversight.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
1 Moshe Shadmon ScaleDB Scaling MySQL in the Cloud.
Introduction Journal Analysis and Optimization Journaling Uses and Benefits Understanding Costs and Implications Ongoing Management and Administration.
1099 Why Use InterBase? Bill Todd The Database Group, Inc.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
1. When things go wrong: how to find SQL error Sveta Smirnova Principle Technical Support Engineer, Oracle.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
SharePoint enhancements through SQL Server RSS integration with SharePoint What’s New Elimination of IIS
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Alwayson Availability Groups
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Database Growth: Problems & Solutions.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
SQL Server - Review Managing the System. Objectives  Understand the importance of maintenance plans.  Check for database consistency.  Understand how.
Dynamicpartnerconnections.com Development for performance Oleksandr Katrusha, Program manager
How to kill SQL Server Performance Håkan Winther.
AM04 – MAINTAINING TARGET SYSTEM PERFORMANCE WHEN UPGRADING FROM ON-PREMISE TO A VIRTUAL ENVIRONMENT Alexander Lutz, brands4friends Tassos Vassilopoulos,
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
AM06 APPROACHES TO MANAGING YOUR HISTORICAL DATA Alexander Lutz, Brands4fFiends Tassos Vassilopoulos, SQLPerform.
Blog.eardley.org.uk SharePoint Databases What you need to know Alan Eardley SQL Saturday Exeter 25 April 2015.
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
SQL Server DBA Online TrainingSQL Server DBA Online Training.
SQL Database Management

You Inherited a Database Now What?
Tips for SQL Server Performance and Resiliency
Managing Multi-User Databases
Chapter 2 Memory and process management
Hitting the SQL Server “Go Faster” Button
Very Large Databases in your future
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Introduction of Week 6 Assignment Discussion
Tips for SQL Server Performance and Resiliency
Your Data Any Place, Any Time
Hitting the SQL Server “Go Faster” Button
Migrating your SQL Server Instance
Very large Databases in your future Eric Peterson.
Database hidden disasters…
You Inherited a Database Now What?
Jean Joseph DBA\DEVELOPER
Maintenance of data warehouse
Sql Saturday Philadelphia
Presentation transcript:

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

2

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

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

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

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

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

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

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

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

Or another view ApplicationSQL ServerHardware

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

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

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

SQL Perform Tools Family We need tools 15

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

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

Perform-Tools Summary 18

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

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 Example: disk response times & IO requests

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

SQL Server Configuration Perform-Tools command “pt_sqlsetup” 23

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

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

SQL Server Configuration Log Fragmentation 26

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

NAV Database Setup 28

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

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

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

Blocks Analysis 32

Deadlocks Case – Pernod Ricard 33

34

35

Giant savings at Fritom 36

Inefficient Queries 37

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

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

Recent case - alerts Deleted 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

Trending Analysis – blocks example 41

Fixed deadlocks at Pernod Ricard 42

Helped HEINEKEN in La Réunion 43

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

Archive-Tools for Dynamics NAV Maintaining Lean NAV Database 45

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

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

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

Before Archiving Drill down 2695 entries

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

Before Archiving

After Archiving Dimension information is kept

Navigate Old Entries Should be done from the archive database

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

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

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

Customer Case 57

Archiving G/L Entry & Coffee 58

Archiving G/L Entry & Coffee 59

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

Questions?

Thank you

Get in touch Contact Us SQL Perform Europe SQL Perform Germany SQL Perform North America Other Regions