SSRS 2012 integrated with SharePoint 2013 Usage and Performance monitor / log dbo.ExecutionLogStorage

For performance, and also for usage we started using table dbo.ExecutionLogStorage in SSRS database.
We setup ETL process to extract data from this table and uploaded into a custom created FactUsage table.
Then created SSAS cube on the FactUsage table and do our usage analytics.

The view ExecutionLog3 provided by Microsoft.

More information on this view can be found at http://www.sqlchick.com/entries/2011/2/6/querying-the-report-server-execution-log.html

Query to get reports access between a certain days:

SELECT

catalog.name AS report,

e.username AS [User],

e.timestart,

e.timeend,

Datediff(mi,e.timestart,e.timeend) AS ‘Time In Minutes’,

catalog.modifieddate AS [Report Last Modified],

users.username

FROM

catalog (nolock)

INNER JOIN executionlogstorage e (nolock)

ON catalog.itemid = e.reportid

INNER JOIN users (nolock)

ON catalog.modifiedbyid = users.userid

WHERE

e.timestart >= Dateadd(s, 1, ’05/26/2015′)

AND e.timeend <= Dateadd(DAY, 1, ’05/28/2015′)

The above query reference is http://geekswithblogs.net/NibblesAndBits/archive/2012/04/02/looking-under-the-hood-of-ssrs.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s