Login / Register  search  syndication  about

SalesLogix Support

SalesLogix Cloud / Web / LAN Support Topics from Mark Duthoy

Using the Database Tuning Advisor For Creating New Indexes on a SalesLogix SQL Database

In a previous post I discussed using the slxprofiler to find bottlenecks in SalesLogix sql statements. Today we will examine one query and create an Index with the Database Engine Tuning Advisor. Before you began this procedure keep in mind these new indexes can be over 200mb so make sure you have adequate drive space. This will not increase the performance on Remote Databases. I also recommend backing up the db before applying any new query. Open up SQL Server Management Studio and paste your script from slxprofiler into a new query - run this query against your SalesLogix DB. Here is an example. SELECT A1.HISTORYID FROM HISTORY A1 INNER JOIN PICKLIST A2 ON (A1.TYPE=A2.ID) WHERE (((A1.TYPE<>262162) OR (A1.USERID='U0CRFA00000E')) AND (A1.OPPORTUNITYID IS NOT NULL AND A1.OPPORTUNITYID <> '')) AND (A1.OPPORTUNITYID = '123') AND (A1.TYPE <> 262156) Order By A1.COMPLETEDDATE Desc ,A1.HISTORYID If there are any question marks in the query replace those with double quotes and some sample data. In the query above I replaced a ? for opportunityid with '123'. Then from the Query menu select Analyze Query in Database Engine Tuning Advisor. The Advisor with date stamp your session so your next step is to select your database on the general tab. Leave the Tuning Options at the defaults and click on Start Analysis. Once the Progress tab shows completed and Recommendations are produced, select all recommendations and then from the Actions menu Save Recommendations. Now you will have a query that you will run against your db in Query analyzer.
What's This?
  
Bookmark and Share

About Mark Duthoy

  


Related Content
   Preserving Custom Roles, Secured Actions, and Assignments in Infor CRM (formerly Saleslogix) Upgrades
When upgrading between levels of Infor CRM one of the tasks that is commonly needed is to run a batch/exe
Posted on Dec 16, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Easily Showing and Hiding Tabs at Runtime in Infor CRM (Saleslogix)
Showing and hiding tabs in the Infor CRM (Saleslogix) client should be an easy thing. It should be someth
Posted on Dec 16, 2014 by Ryan Farley to Ryan Farley's Blog
 
   Checking Infor CRM (Saleslogix) Picklists for valid data
This week I received a question about a particular picklist. One of the picklist items, when chosen, wou
Posted on Dec 05, 2014 by Dale Richter to Infor CRM Questions & Answers
 
   InforCRM (formerly SalesLogix) Web Issues with McAfee VSE 8.8 Patch 4
We have see an issue with SalesLogix v8.0 and v8.1 web clients where randomly all users are bounced due t
Posted on Dec 05, 2014 by Mark Duthoy to SalesLogix Support
 
   Avoiding the Dirty Data Message When Programatically Redirecting to a Record in Infor CRM (Saleslogix)
In my last post I wrote about using the OnClientClick property of a control (or button) to run JavaScript
Posted on Dec 02, 2014 by Ryan Farley to Ryan Farley's Blog
 
Comments

 

Twitter Trackbacks for Using the Database Tuning Advisor For Creating New Indexes on a SalesLogix SQL Database - SalesLogix Support [customerfx.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Using the Database Tuning Advisor For Creating New Indexes on a SalesLogix SQL Database - SalesLogix Support         [customerfx.com]        on Topsy.com

September 10, 2010 6:45 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2014 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register