Results 1 to 5 of 5

Thread: SQL Server 2005 - performance

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    SQL Server 2005 - performance

    I have tried to performance tune SQL Server 2005 database to unfortunately try and take a hit of absurd queries generated by the client and LINQ to SQL. But it apperently hasnt made any difference in terms of performance improvement.

    it did state it would improve performance by about 77% - but supposidly there isnt much of a difference

    so, anything else I can do to improve the SQL performance?

    LINQ generates an unreal query unfortunately to do a search on multiple tables. This causes the whole thing to slow down of course but we cannot change LINQ, whilst there are plans to make a DAL from scratch in the ASP.NET application, until then we cannot do much.

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server 2005 - performance

    Have you looked at locking or blocking? What about waits for reasources? I/O waits? CPU waits?
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: SQL Server 2005 - performance

    there are no record blockings going on. It's more of a CPU wait I guess because the CPU spikes up when we have say 2 users do different searches on the same page... which isnt scalable considering there are meant to be 400 users at any one time as maximum! otherwise it will time out... stupid, i know

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  4. #4
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server 2005 - performance

    There is a tool on codeplex called SQLNexus

    http://www.codeplex.com/sqlnexus

    I have used this to get information and help me figure out what is going on. It will capture PerfMon stats and SQL server stats (there is a setof scripts to run to gather the need data). It shows you stuff in a graphical format. I have used it to gather data on our production systems to look for imporvement spots.

    I would say give it a try. Get the traces started then try and have a couple of people log in and try a search.

    The tool is from some MS engineers.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: SQL Server 2005 - performance

    thanks, much appreciated! i will give this a bash tomorrow. SQL is fine, just the unfortunate poor coding of developers and LINQ knocking out the CPU

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width