SQL 2008 R2 Report on historic DeadLocks ? And Deadlock Detect

One caveat -- I imagine this is a common question, I just haven't found anything yet.

I am a dev and frequently lack rights run Sql Profiler, Activity Monitor,  can's add a traceflag etc due to rights.  I have no 3rd party software.

Is there a log (other than THE log) of these events I can query for historic locks?  I have been sniffing through system queries and views and although some look promising I haven't found anything useful.

I found this script that gets CURRENTlock info, put it on a loop to insert to MyLockTable every 1 second, this is clumsy and resource intensive, but it does give me all the info that I need.  Is there anything better out there?
Hec RamseyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This is a good Microsoft link on how to detect deadlocks. You've seen it?

Hec RamseyAuthor Commented:
Yes, that is current locks.  I want to see historic, trends.  I dont always have acces to profiler andtraces are expensive.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Scott PletcherSenior DBACommented:
An administrator seriously needs to turn on trace flag 1222 (globally).

DBCC TRACEON ( 1222, -1 )

Even with extended events, I'd still want the trace, as that puts the info into the SQL error log where you can always scrape it out later (assuming you have authority to access the log I guess :-( ).
Hec RamseyAuthor Commented:
I work in a huge company and have 0 influence over how dba do their thing and cannot run profiler.  

Assuming all i can do is query data  and run non ddl or config procs, is thete anyway to view deadlock info?
Scott PletcherSenior DBACommented:
Not really.  Given that, then the DBAs should be responsible for stopping the deadlocks.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.