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
   Confirming Actions With an "Are you sure?" Prompt in Infor CRM (Saleslogix)
I'm not a huge fan of bugging end users. I figure, if an end user clicked something, he or she meant
Posted on Nov 18, 2014 by Ryan Farley to Ryan Farley's Blog
 
   Infor CRM (formerly Saleslogix) Statement of Direction
Learn more about the future of Infor CRM. Recently I received my login information for the Infor Partn
Posted on Nov 13, 2014 by Brianna Ojard to The Inbox
 
   Xbar for InforCRM (formerly SalesLogix) Installation Issue
After installing Xbar 1.1 on a Windows 2008 R2 server the Xbar application was not available in Outlook 2
Posted on Nov 11, 2014 by Mark Duthoy to SalesLogix Support
 
   Programmatically Using Security Roles and Secured Actions in Infor CRM (Saleslogix)
In most places in the Infor CRM (Saleslogix) web client, it's pretty easy to use security roles. You
Posted on Nov 07, 2014 by Ryan Farley to Ryan Farley's Blog
 
   Infor CRM (Formerly Saleslogix) Needs an Acronym - I Propose ICRM!
For years we've referred to Saleslogix as "SLX". It makes things easy when referring to i
Posted on Nov 06, 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