Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4100442
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:34:02+00:00 2026-05-20T20:34:02+00:00

Update 25/03/2011 I’ve marked this question as answered, while I don’t yet have the

  • 0

Update 25/03/2011
I’ve marked this question as answered, while I don’t yet have the specific answers to help improve the system I don’t think it’s fair to hold off until I’ve gone that far. The question was broad, and the answers have given me lots of pointers to help me on my way. When I have more specific questions to ask i’ll be back with those. Unfortunately I can only mark one answer with the tick, but I want to thank everyone for their input, it’s all been valuable, thanks for your time.

Original Question

Apologies in advance as this question is going to probably be quite broad!

I’m literally just about to step in to a project where one of our other developers has put together a massive system based around SQL Server 2008 Enterprise Edition, Reporting Services and Stored Procedures. What we’ve found in performance testing on a VM system (i.e. where SQL Server is running on a Windows Server 2008 R2 system hosted by VMWare1 ESXi) is that it does not appear to take advantage of extra memory or cores.

As I get in to this project I was looking for some guidance about some initial outline questions:

  1. What are the opportunities for optimising to make use of more memory and more processor cores within SQL Server 2008?
  2. Are there rules regarding how the stored procedures are called, structured, developed etc that will influence how SQL Server can parallelise the stored procedures?

Further, I guess the next obvious point is – what are the things I need to look out for in the code that might provide more insight to others as to how it’s structured and allow me to provide more specific examples? There are a lot of lines of code in the system, but obviously the ideal is to try and find a condensed example or pattern that demonstrates usage.

The Stored Procedures are, I believe, called by Reporting Services.

In our tests it almost seems that it’s linear execution – i.e. if we configure the VM with 2 cores, 2ghz CPU allocation, and 4gb of memory, if 1 report concurrently runs in 2 minutes, 2 will take nearly 4 minutes (i.e. twice the time for both reports), it’s not quite as linear as that but close enough – everything gets slower almost as though they aren’t really running in parallel at all.

Could it be SQL Server Reporting Services is simply only running reports one at a time or something related to that?

Stored procedures are all developed in Transact-SQL.

Again, apologies for the broad question. If there’s someone out there that can help educate me in how to get deeper and more knowledgeable in this area then that would be most appreciated!

Matt.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:34:03+00:00Added an answer on May 20, 2026 at 8:34 pm

    A couple of things to keep in mind

    1. Memory is your friend, the more you
      have the less SQL Server has to go
      to disk which is 1000 times slower
    2. Do you have the correct indexes and
      are they used?
    3. Are your where clauses/order by
      covered by indexes?
    4. is the where clause sargable or is
      it written in a way that SQL Server
      won’t use the index?
    5. Are the procs using a SET based
      operation or is it using cursors and
      looping through data sets (which is
      way slower)
    6. Are the procs using SELECT * when
      only really 2 columns are needed?
    7. Separate Log, tempdb and data files
      on their own disk spindle, if you
      have non clustered indexes also put
      those on their own disk
    8. While the procs are running use
      performance monitor or even task
      manager and look at what
      happens…is CPU maxed..is RAM maxed
    9. Is one report blocking the other?
      run EXEC sp_who2 and look at the
      BlkBy column
    10. Grab one of the procs, run it in
      SSMS and look at the execution
      plan..if you see a lot of scans and
      high % of total execution
      items..first focus on those, also look for things like conversions in the plan

    Can you show some code, we can quickly look at it and tell you if we see red flag

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE : I got my O3D situation straightened out, but I have yet to
UPDATE - No need to answer this now, I have solved below. Hi, I'm
UPDATE 14 June 2011 A quick update... Most respondents have focused on the dodgy
Update Oct 15, 2012 PyPi is now showing matplotlib at 1.1.0 so this issue
Update : this is more-or-less a dupe , and it turns out to be
Update 6/20/2011 I can only build the test project once or twice before getting
Using Entity Framework with MVC2, I have a series of date textboxes, that I
Update: As someone pointed out I was missing an s in my Route registration.
[UPDATE] Thanks guys,final code: var EUR_share_cost = 0; var USD_share_cost = 0; var GBP_share_cost
Update: the much better answer has little to do with refactoring, but has to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.