Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Disable slxtriggers? Or a way to make them better?
Shane
Posts: 38
 
Disable slxtriggers? Or a way to make them better?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Sep 14 7:16 PM

Recently I noticed some abysmal performance from a select query against the HISTORY table and was finally able to track it down to an SLX Trigger.... There's an SlxLoggingTrigger.dll against the history table that generates a query like this


(@P1 nchar(26))SELECT HISTORYID,TYPE,ACCOUNTID,ACCOUNTNAME,CONTACTNAME,DESCRIPTION,COMPLETEDDATE,RESULT,COMPLETEDUSER FROM HISTORY WITH (NOLOCK) where HISTORYID = @P1


Which is really bad because HISTORYID is a char(12) .... So this query has to do an implciit conversion from nchar to char....


Is this a bug that's been fixed? Is there a hotfix? or is it safe to just disable these triggers? If so how do I go about doing that?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Disable slxtriggers? Or a way to make them better?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Oct 14 9:03 AM

You can disable them using UPDATE SLXTRIGGERS SET ENABLED = 'F' WHERE PATH='SlxLoggingTrigger.dll' - you can also do the same for SpeedSearch if you're not using that (be sure also to truncate INDEXUPDATES).

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 4:36:49 AM