SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Why the Delay in TimeStart


Why the Delay in TimeStart

Author
Message
uk00121
uk00121
SSC-Enthusiastic
SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)

Group: General Forum Members
Points: 107 Visits: 463
I'm seeing some odd behavior in our SSRS 2008R2 environment. Our Reporting Services are running on a separate server from the database.

The reports are starting significantly after the subscription time, and I need to know why to help prevent in the future. I am looking at historic data from 1st of the month reports, so it is not something I can easily recreate or monitor live.

Per ReportServer.dbo.Subscriptions.LastRunTime = '2014-01-01 08:23:04.213'
Per ReportServer.dbo.ExecutionLog.TimeStart = '2014-01-01 13:45:52.073'

Notice this is nearly 5 hours delayed!!!

The reports themselves run in about 1 minute (normal) generating xls files that are picked up by other external processes. Our users are complaining that when the reports generate so late, it throws off the later steps in the process and require a lot of manual cleanup (don't know/care these processes, just the loud complaints).

If anyone can point me to what may be the cause of this lag, or where to query to find the info, I will be most grateful. SSRS logging has always struck me a cryptic at best, and nothing in the blogosphere has given me pointers yet.
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)

Group: General Forum Members
Points: 221218 Visits: 42002
The best way would be to write the reports to return the correct timeframe rather than relying on the time that they are executed.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search