Db Optimizer User Guide Contents
Total Page:16
File Type:pdf, Size:1020Kb
Product Documentation IDERA DB Optimizer User Guide Version 17.0 Published November 2017 © 2017 IDERA, Inc. IDERA, the IDERA logos, and all other IDERA product or service names are trademarks or registered trademarks of IDERA, Inc. All other trademarks are property of their respective owners. This software/documentation contains proprietary information of IDERA, Inc.; it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright law. Reverse engineering of the software is prohibited. At IDERA, we deliver a new generation of tools for managing, administering, and securing your Microsoft Windows Servers, including SQL Server, PowerShell and Microsoft Dynamics. We employ numerous industry experts worldwide who are devoted to bringing proven solutions to you, the administrator. IDERA provides solutions that help you ensure server performance and availability and reduce administrative overhead and expense. Our award-winning products install in minutes, configure in hours and deploy worldwide in days. IDERA is a Microsoft Gold Certified Partner headquartered in Houston, Texas, with offices in London, UK, Melbourne, Australia, and Sao Paulo, Brazil. To learn more, please visit http://www.idera.com/. November 21, 2017 Contents Welcome to DB Optimizer . .. .. 9 About this Document . 9 Configuring DB Optimizer . .. 11 Initial Setup . 11 Specify a Workspace . 12 License DB Optimizer . 12 Customizing DB Optimizer (Preferences) . 13 Specify Data Sources Preferences. 13 Specify SQL Development Preferences . 15 Specify SQL Editor Preferences. 16 Specify Code Assist Preferences . 17 Specify Code Formatter Preferences . 19 Create and Edit Code Formatting Profiles . 20 Specify Code Quality Preferences . 21 Specify Results Viewer Preferences . 22 Specify SQL Templates Preferences . 24 Specify Syntax Coloring Preferences. 26 Specify SQL Execution Preferences . 27 Specify SQL Filters Preferences. 27 Specify Data Source Indexing Preferences . 28 Specify Profile Alerts Preferences . 30 Specify Profile Repositories Preferences . 30 Specify Tuning Job Editor Preferences. 30 Specify VST Diagrams Tuning Preferences . 30 Specify File Encoding Preferences . 31 Introduction to Database Tuning . 35 Introduction to DB Optimizer’s Tuner . 35 SQL Tuning Methodology . 37 SQL Tuner Overview . 38 What's happening on the databases? . 39 Tuning Example . 42 The Database is Hanging or the Application has Problems . 42 The Database Caused the Problem . 44 The Machine Caused the Problem . 45 D B OPTIMIZER USER GUIDE 3 CONTENTS Finding and Tuning Problem SQL . 47 Using DB Optimizer . 49 Working with Data Sources . 49 Register Data Sources . 50 Add a New Data Source. 53 Import and Export Data Sources . 56 Categorize Data Sources . 57 Customizing Data Source Categories . 58 Browse a Data Source . 59 View Database Object Properties . 60 Search for Database Objects . 62 Filter Database Objects . 63 Define Data Source-Specific Object Filters . 64 Define Global Database Object Filters . 64 Drop a Database Object . 65 Working with SQL Projects . 66 Create a New SQL Project . 66 Open an Existing Project . 67 Search a Project . 67 Add Files to a Project . 68 Delete a Project . ..