April 6, 2017 at 1:48 pm
Dear colleagues,
I am setting up extended events in a SQL Server 2008R2 SP3 with an interests in getting information about locks in an OLTP database, in this version we have not availability of the blockingProcessReport, my question is how or whats metrics could I use in defining an event to capture this info ?.
Ideas are welcome
Thanks again
This code is not valid in SQL Server 2008R2
CREATE EVENT SESSION [Capture_BlockedProcessReport] ON SERVER
ADD EVENT sqlserver.blocked_process_report ADD TARGET package0.event_file(
SET filename=N'C:\Temp\Capture_BlockedProcessReport.xel')
WITH (MAX_MEMORY=8192 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,
MAX_DISPATCH_LATENCY=30 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=NONE,
TRACK_CAUSALITY=OFF,STARTUP_STATE=OFF);
GO
And Thanks
April 10, 2017 at 1:44 pm
Sue
April 10, 2017 at 1:52 pm
Finally,
I am getting a report, using, SQL Server Performance Dashboard 2012, when you get Current Waiting Requests and hit lock, you get a blocking report.
Now, I am looking, how to send it via email, without using reporting services and when certain conditions apply.
Thanks to all for your responses
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply