OPTIMIZING YOUR EXACT GLOBE AND EXACT …€¢SQL optimization/ Running the Exact System ......

Preview:

Citation preview

OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES

David Dozer, Senior Functional Designer

© 2015 EXACT

Agenda

• Introduction

• Hardware setup

• SQL optimization/ Running the Exact System Information Tool

• Understanding the Report from the ESI

• Re-indexing jobs

• Updating statistics

• What data is getting logged?

• Looking at SQL used in custom reports for optimum performance

• Truncate logs

• Wrap up

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES2

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES3

Introduction

© 2015 EXACT

Factors in performance issues

• Network latency

• Improper hardware setup and/or server configuration

• Increased user activity/adding more users

• More transactional data being entered due to business process changes

• Growing database size

• Custom applications and reporting not retrieving data efficiently

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES4

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES5

Hardware Setup

© 2015 EXACT

Network/Hardware Diagram

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES6

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES7

Exact System Information Tool (ESI)

© 2015 EXACT

Download the ESI

Document: 17.712.656 - Exact System Information Tool

Disclaimer:In article 4.5 of the Customer License Agreement states that the license-holder is responsible for the installation and configuration of the software on his system.The license-holder is responsible for adjustments made to the system with the use of the Exact System Information Tool.

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES8

© 2015 EXACT

Running the ESI

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES9

© 2015 EXACT

Understanding the ESI

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES10

• System Information

• Rec. Optimizations

• SQL Maintenance

• Database Information

• Exact Data

© 2015 EXACT

Understanding the Report

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES11

© 2015 EXACT

SQL Performance Tuning

• Take advantage of the ability to use multiple processors

• Make sure log and DB are on different logical drives

• Set min and max memory usage

• Stay up to date with service packs

• Simple recovery mode

• SQL performance monitoring tools

˃ SQL Server Activity Monitor

˃ Idera

˃ SolarWinds

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES12

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES13

SQL Jobs

© 2015 EXACT

SQL Jobs to setup and configure

• Database backups

• Update statistics

• Re-index

• Shrink database files

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES14

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES15

Logging Data

© 2015 EXACT

Specify which data gets logged in Exact Synergy Enterprise

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES16

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES17

Reviewing Custom SQL Statement

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES18

Truncating files in Exact Synergy Enterprise

© 2015 EXACT

How to truncate log files in Exact Synergy Enterprise

- OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES19

© 2015 EXACT - OPTIMIZING YOUR EXACT GLOBE AND EXACT SYNERGY DATABASES20

QUESTIONS?

www.exact.com

FOCUS ONWHAT’S NEXT

Recommended