First the good news. You really did a good job with the information you
provided here. The bad news, this is very strange. The most common reasons
for slowness is lots of data returned (but you only have 12 rows), second is
having a filter. The issue with a filter isn't a filter per se but the fact
that all the data is brought over prior to the filter being applied. If you
execute the stored procedure in query analyzer and it returns 12 rows there
then something else is going on.
Do you have a large amount of fields being returned?
How is your data source credential setup? I am wondering if something is
going on with regards to your credentials that is causing the problem.
Do you have another report that uses the same data source? If so, how is its
performance. If not, then try some simple report that uses the same data
source so we can eliminate that as a possible problem.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
[quoted text, click to view] "Brian Takita" <briantakitaspam@yahoo.com> wrote in message
news:1112301864.710648.22590@z14g2000cwz.googlegroups.com...
> Hello,
>
> I have a dataset that uses a stored procedure as the data source. In
> the query analyzer, it takes just over 2 seconds to execute. However,
> in the execute query mode in the Visual Studio reports designer, the
> query takes several minutes.
>
> The report, when run from the server, also takes a very long time to
> complete.
>
> There are only 4 parameters, two varchar(2) and two datetime fields.
> The particular query I am running returns 12 rows. There are no filters
> applied to the report, not that would affect the query in the VS
> reports designer.
>
> Does anybody have any ideas on how to improve the performance?
>
> Thank you,
> Brian Takita
>