Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Multithreaded application performance degraded after upgration to latest version of SQL Expand / Collapse
Author
Message
Posted Thursday, November 6, 2008 6:07 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 31, 2010 12:40 AM
Points: 3, Visits: 15
Hi,

I have just configured my C# multi-threaded application from 32 bit to 64 bit platform for getting more memory support. But my application runs up to 40 - 50% slower as compared to 32 bit platform.

The overall idea about the multithreaded application is, we do recalculation for server hundred thousand records available in the database. Fetch the records from the table and do the recalculation finally it will update it into the table.


Earlier we had the following sever configuration as bellow

OS- Windows 2003 server 32 bit version
SQL - SQL Server 2005 Enterprise Edition for 32 bit version
8GB RAM


Now we changed to the latest version

OS- Windows 2003 server 64 bit version
SQL - SQL Server 2008 Standard Edition for 64 bit version
8GB RAM

The application was working fine and recalculated 3000 records per minute. But now after changing to 64 bit version it is calculating only 1200 records per minute.


I have tried with the following scenarios.

Changed to enterprise edition 64 bit version and tested - no improvement (memory utilization is high)
Page lock in memory in enterprise version and tested - no improvement (memory utilization is high).


Can you suggest where I need to concentrate to improve the performance? (OS Level / SQL Level /Application Level)

Thanks in advance.
Natarajan.M
Post #598048
Posted Thursday, November 6, 2008 6:14 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, August 10, 2010 5:07 AM
Points: 2,661, Visits: 23,078
You changed from 32 bit to 64 bit and changed from SQL 2005 to SQL 2008 at the same time. I also assume the hardware changed - is the old hardware still running?

After upgrading, did you rebuild all of the indexes? This is important during a SQL version change.

The first step for performance tuning is to look at the execution plans. That is why having the old hardware and database would be nice, you would be able to compare the execution plans pre-upgrade to those after the upgrade. Since your process sounds like it is running a lot of small queries that are probably very similar, a few minor changes can have a big impact. Focus on the individual queries and their execution plans, any of the changes you have made could impact the plan generated by the database engine.
Post #598053
Posted Thursday, November 6, 2008 7:37 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 31, 2010 12:40 AM
Points: 3, Visits: 15
Thanks for your quick suggestion.

We did all the changes in old h/w only.As you suggested we rebuilt all the indexes and tested the application but still it is running with the same performance(1200 records/Min).

Any other Suggestions?


Thanks,
Natarajan.M


Post #598126
Posted Thursday, November 6, 2008 1:56 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, November 21, 2014 6:34 AM
Points: 6,259, Visits: 2,031
Did you updated all the stats with fullscan ?
If after all that you are still getting the same throughput the app and not the server is the likely bottleneck.




* Noel
Post #598543
Posted Friday, November 7, 2008 6:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 31, 2010 12:40 AM
Points: 3, Visits: 15
I have updated the sats with full scan but still i didn't find much more improvement on the performance.
Post #598863
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse