Wednesday, March 28, 2012
Reporting services 2005 extremely slow performance
Server got upgraded from 2000 to 2005)
The general web interface is completely unresponsive!
It takes 5-10 seconds just to move between the tabs, not talking about
running reports.
I have dual Xeon 2.8Ghz machine with 3Gb of memory available - it should
respond momentarily.
Anyone with the same problem? Any ideas?
TIA.I've the same problem. I have a server 2003 with SPS 2003 + RS 2005 (on
a different port). SPS 2003 is very fast, but I need to wait 30s when I
click on a folder (just browse). My server is a HP 360 with 2 CPU +
4Go, I really don't understand :-(|||The first time RS starts up after a lag you will get a long pause like that.
This is an IIS thing. You can set timeout on the IIS application pools.
Go to IIS Manager, under Applocation Pools node, right click
"DefaultAppPool" in which the Reporting Server work process is running,
select properties. On "Performace" tag, you will see, by default, the app
pool will shut down if > being idle for 20 min. You can extend this time to
8x60min 480min, so that the app pool will not shut down for a regular
working day. However, the first report reader of the day, will hit the
delay. You may schedule a dummy report at beginning of a work day for this.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
<pascal.brel@.gmail.com> wrote in message
news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005 (on
> a different port). SPS 2003 is very fast, but I need to wait 30s when I
> click on a folder (just browse). My server is a HP 360 with 2 CPU +
> 4Go, I really don't understand :-(
>|||That is not the case.
I tried everything - so far no luck.
Yes, it takes a while to load the CLR for the first time.
But the reposnse after that is still slow.
I can see a message on status bar - "downloading picture ..." of a really
small gif file for a few seconds and that is in a local mode!
Any other ideas?
Thanks.
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
> The first time RS starts up after a lag you will get a long pause like
> that. This is an IIS thing. You can set timeout on the IIS application
> pools.
> Go to IIS Manager, under Applocation Pools node, right click
> "DefaultAppPool" in which the Reporting Server work process is running,
> select properties. On "Performace" tag, you will see, by default, the app
> pool will shut down if > being idle for 20 min. You can extend this time
> to 8x60min 480min, so that the app pool will not shut down for a regular
> working day. However, the first report reader of the day, will hit the
> delay. You may schedule a dummy report at beginning of a work day for
> this.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> <pascal.brel@.gmail.com> wrote in message
> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005 (on
>> a different port). SPS 2003 is very fast, but I need to wait 30s when I
>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>> 4Go, I really don't understand :-(
>|||OK, two different people on this thread. For Pascal I think it is the IIS
issue.
Oleg, is it only reports with an image? If so, where is the image stored
(database or external)? Also, initially you said just seeing the reports,
not running them. Once RS is spun up you should see the report listing
pretty instantaneously on your configuration. RS 2005 is faster than RS
2000, both for displaying report list and running the reports.
Just to make sure, this is from Report Manager, not from your own app?
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
news:O0d4L5ZOGHA.3284@.TK2MSFTNGP14.phx.gbl...
> That is not the case.
> I tried everything - so far no luck.
> Yes, it takes a while to load the CLR for the first time.
> But the reposnse after that is still slow.
> I can see a message on status bar - "downloading picture ..." of a really
> small gif file for a few seconds and that is in a local mode!
> Any other ideas?
> Thanks.
>
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
>> The first time RS starts up after a lag you will get a long pause like
>> that. This is an IIS thing. You can set timeout on the IIS application
>> pools.
>> Go to IIS Manager, under Applocation Pools node, right click
>> "DefaultAppPool" in which the Reporting Server work process is running,
>> select properties. On "Performace" tag, you will see, by default, the
>> app pool will shut down if > being idle for 20 min. You can extend this
>> time to 8x60min 480min, so that the app pool will not shut down for a
>> regular working day. However, the first report reader of the day, will
>> hit the delay. You may schedule a dummy report at beginning of a work day
>> for this.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> <pascal.brel@.gmail.com> wrote in message
>> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005 (on
>> a different port). SPS 2003 is very fast, but I need to wait 30s when I
>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>> 4Go, I really don't understand :-(
>>
>|||My issue is the same as Pascal's one - slow Report Manager performance.
As mentioned before - the Report manager is slow. I'm not running any
reports yet.
It is very, very slow, when moving between pages within Report Manager
interface.
Even Report Manager's own small image files are loading extremely slow,
until they are cached.
I suspect it is an IIS issue. There are a lot of other web applications
running on the same IIS server, but they are fast.
The only problem is RS 2005.
Thanks.
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:uwxL$diOGHA.3260@.TK2MSFTNGP11.phx.gbl...
> OK, two different people on this thread. For Pascal I think it is the IIS
> issue.
> Oleg, is it only reports with an image? If so, where is the image stored
> (database or external)? Also, initially you said just seeing the reports,
> not running them. Once RS is spun up you should see the report listing
> pretty instantaneously on your configuration. RS 2005 is faster than RS
> 2000, both for displaying report list and running the reports.
> Just to make sure, this is from Report Manager, not from your own app?
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
>
> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
> news:O0d4L5ZOGHA.3284@.TK2MSFTNGP14.phx.gbl...
>> That is not the case.
>> I tried everything - so far no luck.
>> Yes, it takes a while to load the CLR for the first time.
>> But the reposnse after that is still slow.
>> I can see a message on status bar - "downloading picture ..." of a
>> really small gif file for a few seconds and that is in a local mode!
>> Any other ideas?
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
>> The first time RS starts up after a lag you will get a long pause like
>> that. This is an IIS thing. You can set timeout on the IIS application
>> pools.
>> Go to IIS Manager, under Applocation Pools node, right click
>> "DefaultAppPool" in which the Reporting Server work process is running,
>> select properties. On "Performace" tag, you will see, by default, the
>> app pool will shut down if > being idle for 20 min. You can extend this
>> time to 8x60min 480min, so that the app pool will not shut down for a
>> regular working day. However, the first report reader of the day, will
>> hit the delay. You may schedule a dummy report at beginning of a work
>> day for this.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> <pascal.brel@.gmail.com> wrote in message
>> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005 (on
>> a different port). SPS 2003 is very fast, but I need to wait 30s when I
>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>> 4Go, I really don't understand :-(
>>
>>
>|||It should be subsecond. Is this the only 2.0 framework app on your web
server?
The other possibility might be authentication. Still, you would think that
would only be right when you first connect.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
news:uQHu$L9OGHA.2704@.TK2MSFTNGP15.phx.gbl...
> My issue is the same as Pascal's one - slow Report Manager performance.
> As mentioned before - the Report manager is slow. I'm not running any
> reports yet.
> It is very, very slow, when moving between pages within Report Manager
> interface.
> Even Report Manager's own small image files are loading extremely slow,
> until they are cached.
> I suspect it is an IIS issue. There are a lot of other web applications
> running on the same IIS server, but they are fast.
> The only problem is RS 2005.
> Thanks.
>
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:uwxL$diOGHA.3260@.TK2MSFTNGP11.phx.gbl...
>> OK, two different people on this thread. For Pascal I think it is the IIS
>> issue.
>> Oleg, is it only reports with an image? If so, where is the image stored
>> (database or external)? Also, initially you said just seeing the reports,
>> not running them. Once RS is spun up you should see the report listing
>> pretty instantaneously on your configuration. RS 2005 is faster than RS
>> 2000, both for displaying report list and running the reports.
>> Just to make sure, this is from Report Manager, not from your own app?
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
>> news:O0d4L5ZOGHA.3284@.TK2MSFTNGP14.phx.gbl...
>> That is not the case.
>> I tried everything - so far no luck.
>> Yes, it takes a while to load the CLR for the first time.
>> But the reposnse after that is still slow.
>> I can see a message on status bar - "downloading picture ..." of a
>> really small gif file for a few seconds and that is in a local mode!
>> Any other ideas?
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
>> The first time RS starts up after a lag you will get a long pause like
>> that. This is an IIS thing. You can set timeout on the IIS application
>> pools.
>> Go to IIS Manager, under Applocation Pools node, right click
>> "DefaultAppPool" in which the Reporting Server work process is
>> running, select properties. On "Performace" tag, you will see, by
>> default, the app pool will shut down if > being idle for 20 min. You
>> can extend this time to 8x60min 480min, so that the app pool will not
>> shut down for a regular working day. However, the first report reader
>> of the day, will hit the delay. You may schedule a dummy report at
>> beginning of a work day for this.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> <pascal.brel@.gmail.com> wrote in message
>> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005
>> (on
>> a different port). SPS 2003 is very fast, but I need to wait 30s when
>> I
>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>> 4Go, I really don't understand :-(
>>
>>
>>
>|||Posted initially in a wrong thread.
That is the only 2.0 app in the system yet.
Uninstalled SQL Server 2005, reinstalled it completely from scratch - same
problem.
In addition to the problem description I'd like to list some verbose logs of
simply changing pages within a Report manager
w3wp!runningrequests!1!02/27/2006-11:55:24:: v VERBOSE: User
map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
w3wp!runningrequests!1!02/27/2006-11:55:24:: v VERBOSE: SoapAction:
"http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetProperties"
w3wp!library!1!02/27/2006-11:55:26:: v VERBOSE: Call to GetProperties('/')
w3wp!library!1!02/27/2006-11:55:26:: i INFO: Catalog SQL Server Edition =Enterprise
w3wp!library!1!02/27/2006-11:55:26:: v VERBOSE: Call to GetProperties
completed.
w3wp!runningrequests!1!02/27/2006-11:59:34:: v VERBOSE: User
map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
w3wp!runningrequests!1!02/27/2006-11:59:34:: v VERBOSE: SoapAction:
"http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetSystemPermissions"
w3wp!library!1!02/27/2006-11:59:34:: i INFO: Call to GetSystemPermissions
As you see:
11:55:24 - SoapAction...
11:55:26:: v VERBOSE: Call to GetProperties('/')
took two seconds to execute
11:55:26:: v VERBOSE: Call to GetProperties completed.
11:59:34:: v VERBOSE: User map'<Users>.....
8 seconds beween calls.
from another log file:
w3wp!runningrequests!1!02/27/2006-11:59:28:: v VERBOSE: SoapAction:
"http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListSecureMethods"
w3wp!runningrequests!6!02/27/2006-11:59:35:: v VERBOSE: User
map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
w3wp!runningrequests!6!02/27/2006-11:59:35:: v VERBOSE: SoapAction:
"http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies"
SoapAction ... -- took 7 seconds to execute
Seems like any SoapAction calls take a long time to execute in a local mode
on a very powerfull machine.
Question is why?
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:uTjABy9OGHA.1132@.TK2MSFTNGP10.phx.gbl...
> It should be subsecond. Is this the only 2.0 framework app on your web
> server?
> The other possibility might be authentication. Still, you would think that
> would only be right when you first connect.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
>
> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
> news:uQHu$L9OGHA.2704@.TK2MSFTNGP15.phx.gbl...
>> My issue is the same as Pascal's one - slow Report Manager performance.
>> As mentioned before - the Report manager is slow. I'm not running any
>> reports yet.
>> It is very, very slow, when moving between pages within Report Manager
>> interface.
>> Even Report Manager's own small image files are loading extremely slow,
>> until they are cached.
>> I suspect it is an IIS issue. There are a lot of other web applications
>> running on the same IIS server, but they are fast.
>> The only problem is RS 2005.
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:uwxL$diOGHA.3260@.TK2MSFTNGP11.phx.gbl...
>> OK, two different people on this thread. For Pascal I think it is the
>> IIS issue.
>> Oleg, is it only reports with an image? If so, where is the image stored
>> (database or external)? Also, initially you said just seeing the
>> reports, not running them. Once RS is spun up you should see the report
>> listing pretty instantaneously on your configuration. RS 2005 is faster
>> than RS 2000, both for displaying report list and running the reports.
>> Just to make sure, this is from Report Manager, not from your own app?
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
>> news:O0d4L5ZOGHA.3284@.TK2MSFTNGP14.phx.gbl...
>> That is not the case.
>> I tried everything - so far no luck.
>> Yes, it takes a while to load the CLR for the first time.
>> But the reposnse after that is still slow.
>> I can see a message on status bar - "downloading picture ..." of a
>> really small gif file for a few seconds and that is in a local mode!
>> Any other ideas?
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
>> The first time RS starts up after a lag you will get a long pause like
>> that. This is an IIS thing. You can set timeout on the IIS application
>> pools.
>> Go to IIS Manager, under Applocation Pools node, right click
>> "DefaultAppPool" in which the Reporting Server work process is
>> running, select properties. On "Performace" tag, you will see, by
>> default, the app pool will shut down if > being idle for 20 min. You
>> can extend this time to 8x60min 480min, so that the app pool will not
>> shut down for a regular working day. However, the first report reader
>> of the day, will hit the delay. You may schedule a dummy report at
>> beginning of a work day for this.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> <pascal.brel@.gmail.com> wrote in message
>> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005
>> (on
>> a different port). SPS 2003 is very fast, but I need to wait 30s when
>> I
>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>> 4Go, I really don't understand :-(
>>
>>
>>
>>
>|||Finally found a problem after looking into the System Event log. It was full
of complains about NETWORKSERVICE insufficient permissions.
Added Local Launch and Local Activation permissions of netman in DCOM config
screen to the NETWORKSERVICE account and it started to respond momentarily.
"Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
news:uc6exzkPGHA.2704@.TK2MSFTNGP15.phx.gbl...
> Posted initially in a wrong thread.
> That is the only 2.0 app in the system yet.
> Uninstalled SQL Server 2005, reinstalled it completely from scratch - same
> problem.
>
> In addition to the problem description I'd like to list some verbose logs
> of simply changing pages within a Report manager
> w3wp!runningrequests!1!02/27/2006-11:55:24:: v VERBOSE: User
> map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
> w3wp!runningrequests!1!02/27/2006-11:55:24:: v VERBOSE: SoapAction:
> "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetProperties"
> w3wp!library!1!02/27/2006-11:55:26:: v VERBOSE: Call to GetProperties('/')
> w3wp!library!1!02/27/2006-11:55:26:: i INFO: Catalog SQL Server Edition => Enterprise
> w3wp!library!1!02/27/2006-11:55:26:: v VERBOSE: Call to GetProperties
> completed.
> w3wp!runningrequests!1!02/27/2006-11:59:34:: v VERBOSE: User
> map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
> w3wp!runningrequests!1!02/27/2006-11:59:34:: v VERBOSE: SoapAction:
> "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetSystemPermissions"
> w3wp!library!1!02/27/2006-11:59:34:: i INFO: Call to GetSystemPermissions
> As you see:
> 11:55:24 - SoapAction...
> 11:55:26:: v VERBOSE: Call to GetProperties('/')
> took two seconds to execute
> 11:55:26:: v VERBOSE: Call to GetProperties completed.
> 11:59:34:: v VERBOSE: User map'<Users>.....
> 8 seconds beween calls.
> from another log file:
> w3wp!runningrequests!1!02/27/2006-11:59:28:: v VERBOSE: SoapAction:
> "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListSecureMethods"
> w3wp!runningrequests!6!02/27/2006-11:59:35:: v VERBOSE: User
> map'<Users><User><Name>WEB\aaa</Name><Paths><Path>http://localhost/ReportServer/ReportService2005.asmx</Path><NrReq>1</NrReq></Paths></User></Users>'
> w3wp!runningrequests!6!02/27/2006-11:59:35:: v VERBOSE: SoapAction:
> "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetPolicies"
> SoapAction ... -- took 7 seconds to execute
> Seems like any SoapAction calls take a long time to execute in a local
> mode on a very powerfull machine.
> Question is why?
>
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:uTjABy9OGHA.1132@.TK2MSFTNGP10.phx.gbl...
>> It should be subsecond. Is this the only 2.0 framework app on your web
>> server?
>> The other possibility might be authentication. Still, you would think
>> that would only be right when you first connect.
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
>> news:uQHu$L9OGHA.2704@.TK2MSFTNGP15.phx.gbl...
>> My issue is the same as Pascal's one - slow Report Manager performance.
>> As mentioned before - the Report manager is slow. I'm not running any
>> reports yet.
>> It is very, very slow, when moving between pages within Report Manager
>> interface.
>> Even Report Manager's own small image files are loading extremely slow,
>> until they are cached.
>> I suspect it is an IIS issue. There are a lot of other web applications
>> running on the same IIS server, but they are fast.
>> The only problem is RS 2005.
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:uwxL$diOGHA.3260@.TK2MSFTNGP11.phx.gbl...
>> OK, two different people on this thread. For Pascal I think it is the
>> IIS issue.
>> Oleg, is it only reports with an image? If so, where is the image
>> stored (database or external)? Also, initially you said just seeing the
>> reports, not running them. Once RS is spun up you should see the report
>> listing pretty instantaneously on your configuration. RS 2005 is faster
>> than RS 2000, both for displaying report list and running the reports.
>> Just to make sure, this is from Report Manager, not from your own app?
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Oleg Yevteyev" <myfirstname001atgmaildotcom> wrote in message
>> news:O0d4L5ZOGHA.3284@.TK2MSFTNGP14.phx.gbl...
>> That is not the case.
>> I tried everything - so far no luck.
>> Yes, it takes a while to load the CLR for the first time.
>> But the reposnse after that is still slow.
>> I can see a message on status bar - "downloading picture ..." of a
>> really small gif file for a few seconds and that is in a local mode!
>> Any other ideas?
>> Thanks.
>>
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:eYsfgK%23NGHA.140@.TK2MSFTNGP12.phx.gbl...
>> The first time RS starts up after a lag you will get a long pause
>> like that. This is an IIS thing. You can set timeout on the IIS
>> application pools.
>> Go to IIS Manager, under Applocation Pools node, right click
>> "DefaultAppPool" in which the Reporting Server work process is
>> running, select properties. On "Performace" tag, you will see, by
>> default, the app pool will shut down if > being idle for 20 min. You
>> can extend this time to 8x60min 480min, so that the app pool will
>> not shut down for a regular working day. However, the first report
>> reader of the day, will hit the delay. You may schedule a dummy
>> report at beginning of a work day for this.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> <pascal.brel@.gmail.com> wrote in message
>> news:1140631396.770354.207790@.g44g2000cwa.googlegroups.com...
>>> I've the same problem. I have a server 2003 with SPS 2003 + RS 2005
>>> (on
>>> a different port). SPS 2003 is very fast, but I need to wait 30s
>>> when I
>>> click on a folder (just browse). My server is a HP 360 with 2 CPU +
>>> 4Go, I really don't understand :-(
>>>
>>
>>
>>
>>
>>
>
Monday, March 26, 2012
Reporting Services 2000 Performance
Reporting Services 2000 performance. We are creating 5 relatively large
reports that are stable for 24 hours. We have different users that have
different credentials. Is caching available? What is the best way to
measure performance? Are there any perfmon metrics that are useful? What
is a bad metric range besides response time?The scenario you have here is what snapshots are designed for. Look in books
online under snapshots.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Robert Bernheim" <rlb@.yahoo.com> wrote in message
news:2e8b8e9b0b58444b967f3b1fb5b646a2@.ureader.com...
> Can anyone point me in the right direction or give me information on
> Reporting Services 2000 performance. We are creating 5 relatively large
> reports that are stable for 24 hours. We have different users that have
> different credentials. Is caching available? What is the best way to
> measure performance? Are there any perfmon metrics that are useful? What
> is a bad metric range besides response time?
Friday, March 9, 2012
reporting service performance issue
I construct a sql statement as a dataset. But when I click Run or Refresh,
the VS.NET runs so slow and no response sometimes. Do you know why, and how
to
deal with this issue?
below is the sql statement I used for:
DECLARE
@.sql NVARCHAR(4000)
select @.resp=ltrim(rtrim(@.resp)),
@.country =ltrim(rtrim(@.country )),
@.entity=ltrim(rtrim(@.entity)),
@.loc=ltrim(rtrim(@.loc)),
--@.office=ltrim(rtrim(@.office)),
@.local_oc=ltrim(rtrim(@.local_oc)),
@.for_agent=ltrim(rtrim(@.for_agent))
select @.sql =
'SELECT Country_Application.country_code, Country_Application.type,
Country_Application.appl_no,
Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
Action_Due.item, Action_Due.action_due_resp_atty,
Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
Action_Due.due_date,
Action_Due.remark, Action_Due.resp_admin
from Country_Application INNER JOIN Action_Due on
Country_Application.pdno = Action_Due.pdno and Country_Application.sub_case
= Action_Due.sub_case
inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type) <>
''ANNUITY''' + --hard code
' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' + @.DateEnd +
''''
if @.resp not in ('ALL', '')
begin
set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
end
if @.country not in ('ALL', '')
begin
if @.country = '<> US'
begin
set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
end
else
begin
set @.sql = @.sql + ' and Country_Application.country_code in ('+ @.country
+')'
end
end
if @.entity not in ('ALL', '')
begin
set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
Invention_Data.loc = '''+@.loc+''''
end
if @.local_oc <> ''
begin
set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
end
if @.for_agent <> ''
begin
set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
end
exec sp_executesql @.sqlThe best way to deal with this is to pull the query out and run it in SQL
SErver Management Studio - get the query plan and find out what is
happening...
You are using some <>, and functions in where clauses which prevents the
optimizer from using index statistics to choose indexes..so you might not the
best plan...
--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC
I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.
"David Zhu" wrote:
> Hi,
> I construct a sql statement as a dataset. But when I click Run or Refresh,
> the VS.NET runs so slow and no response sometimes. Do you know why, and how
> to
> deal with this issue?
> below is the sql statement I used for:
> DECLARE
> @.sql NVARCHAR(4000)
> select @.resp=ltrim(rtrim(@.resp)),
> @.country =ltrim(rtrim(@.country )),
> @.entity=ltrim(rtrim(@.entity)),
> @.loc=ltrim(rtrim(@.loc)),
> --@.office=ltrim(rtrim(@.office)),
> @.local_oc=ltrim(rtrim(@.local_oc)),
> @.for_agent=ltrim(rtrim(@.for_agent))
> select @.sql => 'SELECT Country_Application.country_code, Country_Application.type,
> Country_Application.appl_no,
> Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
> Action_Due.item, Action_Due.action_due_resp_atty,
> Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
> Action_Due.due_date,
> Action_Due.remark, Action_Due.resp_admin
> from Country_Application INNER JOIN Action_Due on
> Country_Application.pdno = Action_Due.pdno and Country_Application.sub_case
> = Action_Due.sub_case
> inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
>
> where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type) <>
> ''ANNUITY''' + --hard code
> ' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' + @.DateEnd +
> ''''
> if @.resp not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
> end
> if @.country not in ('ALL', '')
> begin
> if @.country = '<> US'
> begin
> set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
> end
> else
> begin
> set @.sql = @.sql + ' and Country_Application.country_code in ('+ @.country
> +')'
> end
> end
> if @.entity not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
> Invention_Data.loc = '''+@.loc+''''
> end
> if @.local_oc <> ''
> begin
> set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
> end
> if @.for_agent <> ''
> begin
> set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
> end
> exec sp_executesql @.sql
>
>
>
>|||Hi Snyder,
Thanks a lot.
I also did some investigation. Unfortunately, the sql statement run fast
enough in
Sql query analyser. And I found the report run fast on the RS2000 without
SP2 machine, but slow on RS2000 with SP2.
Could you please give me some suggestion?
"Wayne Snyder" wrote:
> The best way to deal with this is to pull the query out and run it in SQL
> SErver Management Studio - get the query plan and find out what is
> happening...
> You are using some <>, and functions in where clauses which prevents the
> optimizer from using index statistics to choose indexes..so you might not the
> best plan...
> --
> Wayne Snyder MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> I support the Professional Association for SQL Server ( PASS) and it''s
> community of SQL Professionals.
>
> "David Zhu" wrote:
> > Hi,
> >
> > I construct a sql statement as a dataset. But when I click Run or Refresh,
> > the VS.NET runs so slow and no response sometimes. Do you know why, and how
> > to
> > deal with this issue?
> >
> > below is the sql statement I used for:
> >
> > DECLARE
> >
> > @.sql NVARCHAR(4000)
> >
> > select @.resp=ltrim(rtrim(@.resp)),
> > @.country =ltrim(rtrim(@.country )),
> > @.entity=ltrim(rtrim(@.entity)),
> > @.loc=ltrim(rtrim(@.loc)),
> > --@.office=ltrim(rtrim(@.office)),
> > @.local_oc=ltrim(rtrim(@.local_oc)),
> > @.for_agent=ltrim(rtrim(@.for_agent))
> >
> > select @.sql => >
> > 'SELECT Country_Application.country_code, Country_Application.type,
> > Country_Application.appl_no,
> > Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
> > Action_Due.item, Action_Due.action_due_resp_atty,
> > Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
> > Action_Due.due_date,
> > Action_Due.remark, Action_Due.resp_admin
> >
> > from Country_Application INNER JOIN Action_Due on
> > Country_Application.pdno = Action_Due.pdno and Country_Application.sub_case
> > = Action_Due.sub_case
> > inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
> >
> >
> > where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type) <>
> > ''ANNUITY''' + --hard code
> >
> > ' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' + @.DateEnd +
> > ''''
> >
> > if @.resp not in ('ALL', '')
> > begin
> > set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
> > end
> >
> > if @.country not in ('ALL', '')
> > begin
> > if @.country = '<> US'
> > begin
> > set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
> > end
> > else
> > begin
> > set @.sql = @.sql + ' and Country_Application.country_code in ('+ @.country
> > +')'
> > end
> > end
> >
> > if @.entity not in ('ALL', '')
> > begin
> > set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
> > Invention_Data.loc = '''+@.loc+''''
> > end
> >
> > if @.local_oc <> ''
> > begin
> > set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
> > end
> >
> > if @.for_agent <> ''
> > begin
> > set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
> > end
> >
> > exec sp_executesql @.sql
> >
> >
> >
> >
> >
> >
> >|||My suggestion is to put this in a stored procedure and call that instead and
see what that does for performance.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"David Zhu" <DavidZhu@.discussions.microsoft.com> wrote in message
news:C32A3B2C-5392-4C4B-B909-13D6B1B26F9B@.microsoft.com...
> Hi Snyder,
> Thanks a lot.
> I also did some investigation. Unfortunately, the sql statement run fast
> enough in
> Sql query analyser. And I found the report run fast on the RS2000 without
> SP2 machine, but slow on RS2000 with SP2.
> Could you please give me some suggestion?
> "Wayne Snyder" wrote:
>> The best way to deal with this is to pull the query out and run it in SQL
>> SErver Management Studio - get the query plan and find out what is
>> happening...
>> You are using some <>, and functions in where clauses which prevents the
>> optimizer from using index statistics to choose indexes..so you might not
>> the
>> best plan...
>> --
>> Wayne Snyder MCDBA, SQL Server MVP
>> Mariner, Charlotte, NC
>> I support the Professional Association for SQL Server ( PASS) and it''s
>> community of SQL Professionals.
>>
>> "David Zhu" wrote:
>> > Hi,
>> >
>> > I construct a sql statement as a dataset. But when I click Run or
>> > Refresh,
>> > the VS.NET runs so slow and no response sometimes. Do you know why, and
>> > how
>> > to
>> > deal with this issue?
>> >
>> > below is the sql statement I used for:
>> >
>> > DECLARE
>> >
>> > @.sql NVARCHAR(4000)
>> >
>> > select @.resp=ltrim(rtrim(@.resp)),
>> > @.country =ltrim(rtrim(@.country )),
>> > @.entity=ltrim(rtrim(@.entity)),
>> > @.loc=ltrim(rtrim(@.loc)),
>> > --@.office=ltrim(rtrim(@.office)),
>> > @.local_oc=ltrim(rtrim(@.local_oc)),
>> > @.for_agent=ltrim(rtrim(@.for_agent))
>> >
>> > select @.sql =>> >
>> > 'SELECT Country_Application.country_code, Country_Application.type,
>> > Country_Application.appl_no,
>> > Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
>> > Action_Due.item, Action_Due.action_due_resp_atty,
>> > Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
>> > Action_Due.due_date,
>> > Action_Due.remark, Action_Due.resp_admin
>> >
>> > from Country_Application INNER JOIN Action_Due on
>> > Country_Application.pdno = Action_Due.pdno and
>> > Country_Application.sub_case
>> > = Action_Due.sub_case
>> > inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
>> >
>> >
>> > where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type)
>> > <>
>> > ''ANNUITY''' + --hard code
>> >
>> > ' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' +
>> > @.DateEnd +
>> > ''''
>> >
>> > if @.resp not in ('ALL', '')
>> > begin
>> > set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
>> > end
>> >
>> > if @.country not in ('ALL', '')
>> > begin
>> > if @.country = '<> US'
>> > begin
>> > set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
>> > end
>> > else
>> > begin
>> > set @.sql = @.sql + ' and Country_Application.country_code in ('+
>> > @.country
>> > +')'
>> > end
>> > end
>> >
>> > if @.entity not in ('ALL', '')
>> > begin
>> > set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
>> > Invention_Data.loc = '''+@.loc+''''
>> > end
>> >
>> > if @.local_oc <> ''
>> > begin
>> > set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
>> > end
>> >
>> > if @.for_agent <> ''
>> > begin
>> > set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
>> > end
>> >
>> > exec sp_executesql @.sql
>> >
>> >
>> >
>> >
>> >
>> >
>> >|||I have the same problem..
Unfortunately, things did improve when I wrote it into a stored procedure.
The bad part about this is that we are planning to allow our customers
create reports using our views. They will not like extremely slow reports. I
have tracked this down in the log files to the fact that the report is being
add to a job list and then not being run from 1 to 3 minutes.
I haven't figured out how to make the report run without going to this list.
"David Zhu" <DavidZhu@.discussions.microsoft.com> wrote in message
news:44673263-E25F-44C1-8C33-E5D9DF419422@.microsoft.com...
> Hi,
> I construct a sql statement as a dataset. But when I click Run or Refresh,
> the VS.NET runs so slow and no response sometimes. Do you know why, and
> how
> to
> deal with this issue?
> below is the sql statement I used for:
> DECLARE
> @.sql NVARCHAR(4000)
> select @.resp=ltrim(rtrim(@.resp)),
> @.country =ltrim(rtrim(@.country )),
> @.entity=ltrim(rtrim(@.entity)),
> @.loc=ltrim(rtrim(@.loc)),
> --@.office=ltrim(rtrim(@.office)),
> @.local_oc=ltrim(rtrim(@.local_oc)),
> @.for_agent=ltrim(rtrim(@.for_agent))
> select @.sql => 'SELECT Country_Application.country_code, Country_Application.type,
> Country_Application.appl_no,
> Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
> Action_Due.item, Action_Due.action_due_resp_atty,
> Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
> Action_Due.due_date,
> Action_Due.remark, Action_Due.resp_admin
> from Country_Application INNER JOIN Action_Due on
> Country_Application.pdno = Action_Due.pdno and
> Country_Application.sub_case
> = Action_Due.sub_case
> inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
>
> where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type) <>
> ''ANNUITY''' + --hard code
> ' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' + @.DateEnd
> +
> ''''
> if @.resp not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
> end
> if @.country not in ('ALL', '')
> begin
> if @.country = '<> US'
> begin
> set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
> end
> else
> begin
> set @.sql = @.sql + ' and Country_Application.country_code in ('+ @.country
> +')'
> end
> end
> if @.entity not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
> Invention_Data.loc = '''+@.loc+''''
> end
> if @.local_oc <> ''
> begin
> set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
> end
> if @.for_agent <> ''
> begin
> set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
> end
> exec sp_executesql @.sql
>
>
>
>|||David.
You may experience a great performance improvment if you write the
statement as a stored procedure AND avoid using dynamic execution
(sp_executesql).
In fact, you can rewrite your SQL query in a simple statement.
Try to replace code like the following:
if @.resp not in ('ALL', '')
begin
set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
end
by a condition in the clause WHERE:
WHERE
...
AND (@.resp not in ('ALL', '') or Action_Due.hpj_resp_atty in (select
[str] from fList(@.resp)))
where fList is as UDF that converts a comma-separated list of values to
a table:
ALTER FUNCTION fList(@.list ntext)
RETURNS @.tbl TABLE
( listpos int IDENTITY(1, 1) NOT NULL,
str varchar(4000) COLLATE
SQL_Latin1_General_CP1_CI_AS,
nstr nvarchar(2000) COLLATE
SQL_Latin1_General_CP1_CI_AS
)
AS
BEGIN
if @.list is null return
DECLARE @.pos int, @.textpos int, @.tam smallint, @.tmpstr
nvarchar(4000), @.resto nvarchar(4000), @.tmpval nvarchar(4000)
SET @.textpos = 1
SET @.resto = ''
WHILE @.textpos <= datalength(@.list) / 2
BEGIN
SET @.tam = 4000 - datalength(@.resto) / 2
SET @.tmpstr = @.resto + substring(@.list, @.textpos, @.tam)
SET @.textpos = @.textpos + @.tam
SET @.pos = charindex(',', @.tmpstr)
WHILE @.pos > 0
BEGIN
SET @.tmpval = ltrim(rtrim(left(@.tmpstr, @.pos - 1)))
INSERT @.tbl (str, nstr) VALUES(@.tmpval, @.tmpval)
SET @.tmpstr = substring(@.tmpstr, @.pos + 1, len(@.tmpstr))
SET @.pos = charindex(',', @.tmpstr)
END
SET @.resto = @.tmpstr
END
INSERT @.tbl(str, nstr) VALUES (ltrim(rtrim(@.resto)),
ltrim(rtrim(@.resto)))
RETURN
END
David Zhu escreveu:
> Hi,
> I construct a sql statement as a dataset. But when I click Run or Refresh,
> the VS.NET runs so slow and no response sometimes. Do you know why, and how
> to
> deal with this issue?
> below is the sql statement I used for:
> DECLARE
> @.sql NVARCHAR(4000)
> select @.resp=ltrim(rtrim(@.resp)),
> @.country =ltrim(rtrim(@.country )),
> @.entity=ltrim(rtrim(@.entity)),
> @.loc=ltrim(rtrim(@.loc)),
> --@.office=ltrim(rtrim(@.office)),
> @.local_oc=ltrim(rtrim(@.local_oc)),
> @.for_agent=ltrim(rtrim(@.for_agent))
> select @.sql => 'SELECT Country_Application.country_code, Country_Application.type,
> Country_Application.appl_no,
> Action_Due.hpj_resp_atty, Action_Due.pdno, Action_Due.sub_case,
> Action_Due.item, Action_Due.action_due_resp_atty,
> Action_Due.action_type, Action_Due.action_due, Action_Due.indicator,
> Action_Due.due_date,
> Action_Due.remark, Action_Due.resp_admin
> from Country_Application INNER JOIN Action_Due on
> Country_Application.pdno = Action_Due.pdno and Country_Application.sub_case
> = Action_Due.sub_case
> inner join Invention_Data on Action_Due.pdno=Invention_Data.pdno
>
> where upper(Action_Due.done) = ''NO'' and upper(Action_Due.action_type) <>
> ''ANNUITY''' + --hard code
> ' and Action_Due.due_date between '''+ @.DateBegin + ''' and ''' + @.DateEnd +
> ''''
> if @.resp not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
> end
> if @.country not in ('ALL', '')
> begin
> if @.country = '<> US'
> begin
> set @.sql = @.sql + ' and Country_Application.country_code <> ''US'''
> end
> else
> begin
> set @.sql = @.sql + ' and Country_Application.country_code in ('+ @.country
> +')'
> end
> end
> if @.entity not in ('ALL', '')
> begin
> set @.sql = @.sql + ' and Invention_Data.entity = '''+@.entity+''' and
> Invention_Data.loc = '''+@.loc+''''
> end
> if @.local_oc <> ''
> begin
> set @.sql = @.sql +' and Action_Due.local_oc = '''+@.local_oc+''''
> end
> if @.for_agent <> ''
> begin
> set @.sql = @.sql +' and Action_Due.for_agent = '''+@.for_agent+''''
> end
> exec sp_executesql @.sql|||David.
You may experience a great performance improvment if you write the
statement as a stored procedure AND avoid using dynamic execution
(sp_executesql).
In fact, you can rewrite your SQL query in a simple statement.
Try to replace code like the following:
if @.resp not in ('ALL', '')
begin
set @.sql = @.sql + ' and Action_Due.hpj_resp_atty in ('+ @.resp + ')'
end
by a condition in the clause WHERE:
WHERE
...
AND (@.resp not in ('ALL', '') or Action_Due.hpj_resp_atty in (select
[str] from fList(@.resp)))
where fList is as UDF that converts a comma-separated list of values to
a table:
ALTER FUNCTION fList(@.list ntext)
RETURNS @.tbl TABLE
( listpos int IDENTITY(1, 1) NOT NULL,
str varchar(4000) COLLATE
SQL_Latin1_General_CP1_CI_AS,
nstr nvarchar(2000) COLLATE
SQL_Latin1_General_CP1_CI_AS
)
AS
BEGIN
if @.list is null return
DECLARE @.pos int, @.textpos int, @.tam smallint, @.tmpstr
nvarchar(4000), @.resto nvarchar(4000), @.tmpval nvarchar(4000)
SET @.textpos = 1
SET @.resto = ''
WHILE @.textpos <= datalength(@.list) / 2
BEGIN
SET @.tam = 4000 - datalength(@.resto) / 2
SET @.tmpstr = @.resto + substring(@.list, @.textpos, @.tam)
SET @.textpos = @.textpos + @.tam
SET @.pos = charindex(',', @.tmpstr)
WHILE @.pos > 0
BEGIN
SET @.tmpval = ltrim(rtrim(left(@.tmpstr, @.pos - 1)))
INSERT @.tbl (str, nstr) VALUES(@.tmpval, @.tmpval)
SET @.tmpstr = substring(@.tmpstr, @.pos + 1, len(@.tmpstr))
SET @.pos = charindex(',', @.tmpstr)
END
SET @.resto = @.tmpstr
END
INSERT @.tbl(str, nstr) VALUES (ltrim(rtrim(@.resto)),
ltrim(rtrim(@.resto)))
RETURN
END
Reporting Service Performance
The Control is based on the following code: http://blogs.msdn.com/bryanke/articles/71491.aspxThe image rendering extension was not really designed to be used this way
and is known to have issues with large reports. Bryan's code is a interim
approach until we have the supported set of report controls available in VS
Whidbey.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Dasirr" <Dasirr@.discussions.microsoft.com> wrote in message
news:0BE027EA-51C5-4B4E-BC32-2CC51EE01E0C@.microsoft.com...
>I have developed a Windows Forms Control that renders ReportingService
>reports as a metafile, This way the reports can be shown on as 'Crystal
>Reports' does in the wysiwyg way. But when the reports contain some
>hundered pages (and that happens often) the rendering of one page takes up
>to 3 seconds. The reason for this is not the SQL statement (it is a simple
>listing of 15000 records in one table). Is there a way to speed this up
>without using caches or snapshots? The Controls main feature must be that
>it can easily show and print reports.
> The Control is based on the following code:
> http://blogs.msdn.com/bryanke/articles/71491.aspx
Tuesday, February 21, 2012
reporting on a DTS performance reporting
that does some imports/queries against about the same amount of data
each run. I am wondering (hoping!) if I can run a query that will show
its performance over the past 6 months in terms of how long the
execution for each run took.
I think SQL server saves this dts package run history somewhere and if
so how can I do this? Am I totally off base?"sumGirl" <emebohw@.netscape.net> wrote in message
news:a5e13cff.0410050512.37245b7a@.posting.google.c om...
> Hi all. I have a dts package called package1 that I run once a week
> that does some imports/queries against about the same amount of data
> each run. I am wondering (hoping!) if I can run a query that will show
> its performance over the past 6 months in terms of how long the
> execution for each run took.
> I think SQL server saves this dts package run history somewhere and if
> so how can I do this? Am I totally off base?
If you scheduled it as a scheduled job, then you can look at the job history
in msdb..sysjobhistory. If you also enabled package logging to MSSQL, you
can check out the msdb..sysdtssteplog table, which has start and end time
columns, as well as elapsed time.
Simon