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

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

xhostx
Constraint Violating Yak Guru

USA
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.

Thanks!

--------------------------
Joins are what RDBMS's do for a living

tkizer
Almighty SQL Goddess

USA
37163 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
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ahmeds08
Aged Yak Warrior

India
667 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000