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
   Fixing the Orphaning of Salesfusion Data when Converting Leads to Contacts in Infor CRM (Saleslogix)
We have had a couple of client recently come to other with the same problem-When you convert a Lead to a
Posted on Sep 19, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Official Infor CRM Acquisition FAQ
What to expect now that Saleslogix is Infor CRM. Like many of you, it will take some time (probably a
Posted on Sep 18, 2014 by Brianna Ojard to The Inbox
 
   ComboFix Kills Saleslogix Sync
ComboFix, a third party malware utility, will alter the Operating system so .qts and .que files will no l
Posted on Sep 12, 2014 by Brianna Ojard to SalesLogix Support
 
   How do I access the new Opportunity that I created in Saleslogix??
I had a user ask why they could not access a Salelogix opportunity when they clicked the hyperlink from t
Posted on Sep 04, 2014 by Dale Richter to SalesLogix Questions & Answers
 
   Retrieving Items from a Picklist via Javascript
Saleslogix is very light on how to use client side processes to do things in the Saleslogix web client.&n
Posted on Aug 29, 2014 by Kris Halsrud to Kris Halsrud'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