Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Getting deadlocks on accessing SSRS report in DB

$
0
0

I need your guidance on following issue.

We do have CRM app on prem. application installed which runs on SQL DB. Now we do send out time table for our contractors for next day. We are doing this via looking at 4 different views and pulling data about site address, phone number, service name, additional details, billing account etc in the time table report. I user schedule which passes name and email as parameter to this SSRS report and then SSRS runs the report creates pdf and scheduler software sends out email with that odf to that contractor.

Now issue is we do get random dead locks on certain contractors when scheduler passes parameters to SSRS to run and create the pdf but in that case contractors gets only email but no attachment since pdf doesn't get created in their case due to deadlock.

Now we do have staff coming in in and out of in the application touching these 4 entities and they always add/update/delete few things which might be creating deadlock when scheduler ask SSRS to run on the report using information from these 4 entities.

we do send out 500+ email to all our contractors so I have to find manually which contractors didn't get schedules and have run the scheduler again, which is very pain full.

I need your guidance on how to solve this?

few option which comes up in my mind which are as follows.

  1. put no lock on top of SP used by SSRS report to generate report.
  2. Creating replica/Mirro/logshipping/snapshot

Please guide me which option is best and can be used right away.

Schedule starts at 6 o'clock in the evening , I am OK with just reading the data available till 5:45, so I do have 15 minutes window to do any of my second option and then run the scheduler on that so that nobody is touching those 4 entities from any of solution from my option #2 which you guys recommend.

Please help.

Thanks.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>