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
   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
 
   Saleslogix Xbar update coming soon
Scheduled to be released 8/29/2014 Features in Update •Installation improvements •Enterp
Posted on Aug 21, 2014 by Scott Weber to SalesLogix Product Blog
 
   How do you add a parameter for File Attachment Size and Timeout in Saleslogix 8.1?
Question: Is it possible to set a parameter for file attachment size and timeout in Salelogix? If
Posted on Aug 07, 2014 by Dale Richter to SalesLogix Questions & Answers
 
   Fixing Duplicate Saleslogix FieldIndex Values in the SECTABLEDEFS
I had to fix a client's SECTABLEDEFS table that contained duplicate FieldIndex values.  FieldInd
Posted on Aug 07, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Saleslogix XBar Installation
When installing the new XBar application I found the instructions a little vague so I thought I would pas
Posted on Jul 18, 2014 by Mark Duthoy to SalesLogix Support
 
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