Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 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 - Upgrades
Forum to discuss upgrading SalesLogix from version to version. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Upgrades | New ThreadView:  Search:  
 Author  Thread: Upgrade to SQL 2005
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 10:27 AM
Hello all, I have a client who just upgraded to MSSQL Server 2005 from SQL2000. They are on 7.0.1 with all hot fixes. All is running fine except the performance has taken a hit.. Are there any tweaks I can put in place to increase performance?

I seem to recall something about the SQL Server Native provider being faster.. Should I change the provider in the connection manager to the SQL native client? Thanks
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 10:45 AM
Quote:
Originally posted by Steve Knowles

I seem to recall something about the SQL Server Native provider being faster.. Should I change the provider in the connection manager to the SQL native client?


Abolutely. Change the provider for the connection in the Connection Manager to "SQL Native Client".
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 10:54 AM
Thanks Ryan. Do the client machines need this provider also? I read a post on ITToolbox that says this should also be done..
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 10:57 AM
Yes. The SQL Client Provider will need to be installed on all SLX machines, including workstations. SLX will make some direct calls to the database from the client, using the connection string configured on the SLX server - so it will need the provider in order to make the connection using the configured connection. Make sense?
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 11:02 AM
Makes sense.. so if I change the connection manager to the native client, but a machine does not have it yet, that machine will experience errors, or just the same slow connection? I can guess the answer, but doesn't hurt to ask.. thanks
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 11:09 AM
I've not tried that (no provider on the client), but I would guess they'd get errors.
[Reply][Quote]
Ted Sturr
Posts: 78
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 12:31 PM
One other thing to be aware of when working with SQL 2005. The database engine (doesn't matter which client you use) does not like the "IN" clause in a sql statement. I ran into this with our integration with our ERP system. We had to change the SQL clause from an "NOT IN" to an "NOT EXIST" statement. As an example a query that would take 3 seconds on the SQL 2000 server (less processor and less memory) took over 5 minutes on a SQL 2005 server (more processor and more memory). We had this researched and it is a known issue with SQL 2005. Here are some links:

http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=11869

http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=19438

One thing to note as well is that not all "NOT IN's" have problems; in this case, it is a problem when the two columns are concatenanted in the query.

Hope this information helps. It was a bit of a pain to troubleshoot and took some help from our ERP provider to help locate the problem with the queries.

Ted
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 4:45 PM
If your Connection Manager is configured to use it and the Native Client has not been installed on the client, you will get an error when you try to connect (something unhelpful about the Data Dictionary, IIRC).

PP
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 7:15 AM
Thanks all. Do the connections at the remote office and remotes clients need to be deleted and recreated to use the Native client? Will errors occur otherwise? Thanks
[Reply][Quote]
Robert Levine
Posts: 132
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 8:44 AM
Two Questions come to mind regarding a change to the SQL Native Client:
1. Do I have to convert Crystal Reports which were defined using the Slx OLE-DB provider?
2. How is generation of Remote User Databases affected? The MSDE used even in Slx 7.2 is a cut down SQL2000 model and not based on SQL 2005.
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 9:00 AM
The client is experiencing performance issues since the upgrade even using the native client. Any other performance enhancing tips? It is very slow on login and when performing lookups etc..
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 9:44 AM
We just renabled 'Array Acceleration Mode' on the DB server and it improved things dramatically..
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 10:40 AM
Array Acceleration Mode? I've never heard of that. I'm excited to take a look and see what that's all about. Thanks for the information.

One thing we did (which may not help you a ton) is to set the checkbox "Use AWE to allocate memory" for the server properties, menu section. Since we have Windows 2003, it works really well, and SQL server now uses more of the available RAM - before I did this, SQL Server was restricting it's memory usage to 1.7 Gb of memory, causing it to use the hard drive constantly and heavily. We were only using one 10k RPM hard drive for our 9 Gb database, so allowing it to use more RAM was a huge benefit to our performance concerns.
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 2:09 PM
I just googled "Array Acceleration Mode", but the only thing that came up was this thread. I also looked in Books Online and found nothing. Is there any documentation, or is it known as something else in SQL Server?
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 7:04 PM
Jeff, the system admin performed the miracle - I believe it is a function of the array controller.. The problem persists anyway. It was strange - the performance jumped for about a half hour then bogged down again.

Tech support sent me a reindex script. Has anyone run this script before? Any gotchas if I run this?

exec sp_msforeachtable @command1="print '?' dbcc dbreindex('?','',80)"

Still looking for the cause of this slowness..
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 07 8:16 PM
Tried the reindex - don't think it helped but I did notice if hide the notes history tab that alleviates the problem - specifically on the opportunities. Same with the summary tab.. They both seem to bring things to a near halt for about a minute or so.. very painful.
[Reply][Quote]
Ted Sturr
Posts: 78
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 07 8:15 AM
The reindex script is fine - don't know of any gotchas. In fact we run this on a regular basis without issues.

Have you run profiler to see what statements are possibly causing the slowness?

Ted
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 07 9:19 AM
For the Notes / History tab, we actually already had a discussion on this, especially for the Opportunity main view:
http://www.slxdeveloper.com/forum.aspx?forumid=2000&postid=11949

I was able to resolve my issue pretty nicely.
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Upgrade to SQL 2005Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 07 3:22 PM
Resolved! We moved the .ldf to a different drive than the .mdf and all is working as before the upgrade to SQL2005.

I found a lot of info regarding poor performance in SQL server being fixed by running sp_updatestats against the db. Is anyone familiar with this stored procedure? Is it something that should be run after SQL an upgrade?

Thanks for everyones input.
[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/26/2024 12:44:14 AM