Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Increase Query Performance for reports
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

277 Posts

Posted - 03/22/2013 :  14:17:23  Show Profile  Reply with Quote
I have a query that runs for 1min.43sec. Im afraid this will take even longer on the SSRS reports.
Any hints please to increase the performance of the query first.
number of rows expected 80.000 but there are a lot of joins.


Joins are what RDBMS's do for a living

Almighty SQL Goddess

38200 Posts

Posted - 03/22/2013 :  14:39:54  Show Profile  Visit tkizer's Homepage  Reply with Quote
Take a look at the show statistics for it and add the appropriate indexes.

And you can't expect a query that returns that many rows to be fast. No one can process that many rows. Narrow down the result set.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page

Aged Yak Warrior

737 Posts

Posted - 03/25/2013 :  04:48:19  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Also have alook at caching in ssrs reports.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000