Please start any new threads on our new site at http://forums.sqlteam.com. 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!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Stored Proc for SSRS
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 03/18/2013 :  09:55:58  Show Profile  Reply with Quote
hi,

I have created an SSRS report that calling a Stored proc but it is taking about 30 sec when I call it from the Report MAnager. However, the same stored proc takes 2 Sec on SSMS.
The SP is just a simple select. Yes, it does have a lot of Columns but not calculations at all.
Any help will appreciated.

Thanks!

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

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 03/18/2013 :  12:31:51  Show Profile  Reply with Quote
is it parameterised? is both cases using same set of parsmeters?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 03/18/2013 :  13:56:38  Show Profile  Reply with Quote
No Parameters at all. it is just straight Select

--------------------------
Joins are what RDBMS's do for a living
Go to Top of Page

Lamprey
Flowing Fount of Yak Knowledge

4614 Posts

Posted - 03/18/2013 :  19:00:44  Show Profile  Reply with Quote
Is the call taking 30 seconds or is rendering the report taking 30 seconds?
Go to Top of Page

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 03/19/2013 :  11:59:02  Show Profile  Reply with Quote
Rendering the data of the report takes about 30 secs.

Thanks!

--------------------------
Joins are what RDBMS's do for a living
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 03/19/2013 :  12:00:58  Show Profile  Reply with Quote
does procedure uses OPENQUERY or any linked server connection?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

xhostx
Constraint Violating Yak Guru

USA
277 Posts

Posted - 03/19/2013 :  19:30:02  Show Profile  Reply with Quote
No, just a straight Select query embedded inside a Stored proc. I created a data source calling the SP, created a data set based on that SP and showing that on a Table on the report.
So, the same SP takes 2 sec but on the report is taking that long!

Thanks!

--------------------------
Joins are what RDBMS's do for a living
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.05 seconds. Powered By: Snitz Forums 2000