all groups > sql server reporting services > october 2006 >
You're in the

sql server reporting services

group:

ExecutionLog reports and subscriptions


ExecutionLog reports and subscriptions Jason
10/25/2006 1:39:56 PM
sql server reporting services:
Hi All,

We have a report that queries the ReportServer and gives us metrics on
each Report and shows a hitcount for each individual report.

here's my question:

If someone sets up a subscription to a report (say running at 8:00 AM
each Monday) - does that 'running of the report' get counted in the
HitCount?

My guess is "Yes" because even if it's a subscription that runs the
report, it's being 'Ran'.

I'll paste the T-SQL we use to pull the data from ReportServer database

SELECT ExecutionLogs.[RowCount], ExecutionLogs.ByteCount,
ExecutionLogs.TimeRendering, ExecutionLogs.TimeProcessing,
ExecutionLogs.TimeDataRetrieval, Users.UserName,
Reports.Name,
ExecutionLogs.TimeRendering +
ExecutionLogs.TimeProcessing + ExecutionLogs.TimeDataRetrieval AS
TotalTime, Reports.ReportID,
ExecutionLogs.TimeStart
FROM Reports INNER JOIN
ExecutionLogs ON Reports.ReportKey =
ExecutionLogs.ReportKey INNER JOIN
Users ON ExecutionLogs.UserKey = Users.UserKey
WHERE ExecutionLogs.TimeStart >=@pDateBegin AND
ExecutionLogs.TimeStart <@pDateEnd
ORDER BY ExecutionLogs.TimeStart DESC
RE: ExecutionLog reports and subscriptions Carmine
11/21/2006 12:38:02 PM
Subscriptions have: ExecutionLog.RequestType = 1, Report manager runs have
ExecutionLog.RequestType = 0.

But, one thing that I have noticed that throws the Execution Log numbers off
is if you run a report in Report Manager that is 3 pages long, every time you
click the next page, that adds another record to the Execution Log.

[quoted text, click to view]
AddThis Social Bookmark Button