{"id":5776,"date":"2019-05-11T06:36:43","date_gmt":"2019-05-10T21:36:43","guid":{"rendered":"https:\/\/lovely-moon.com\/blog\/?p=5776"},"modified":"2019-05-11T06:36:43","modified_gmt":"2019-05-10T21:36:43","slug":"%e5%82%99%e5%bf%98%e9%8c%b2-%e3%83%87%e3%83%83%e3%83%89%e3%83%ad%e3%83%83%e3%82%af%e3%81%ae%e5%8e%9f%e5%9b%a0%e3%82%92%e8%aa%bf%e6%9f%bb%e3%81%99%e3%82%8b-sql-server","status":"publish","type":"post","link":"https:\/\/lovely-moon.com\/blog\/?p=5776","title":{"rendered":"\u5099\u5fd8\u9332 \u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u539f\u56e0\u3092\u8abf\u67fb\u3059\u308b (SQL Server)"},"content":{"rendered":"<p>SQL Server \u306e\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30d0\u30c3\u30d5\u30a1\u30d7\u30fc\u30eb\u304b\u3089\u524a\u9664\u3059\u308b\u3002<br \/>\nHow to investigate the deadlock error on SQL Server.<\/p>\n<h4><span style=\"color: #a52a2a;\">\uff3bOS version\uff3d<\/span><\/h4>\n<ul>\n<li>Windows Server 2012 R2<\/li>\n<\/ul>\n<h4><span style=\"color: #a52a2a;\">\uff3bMiddleware version\uff3d<\/span><\/h4>\n<ul>\n<li>SQL Server 2014<\/li>\n<\/ul>\n<h4><span style=\"color: #a52a2a;\">\uff3bSQL Server Management Studio \u3067\u306e\u8abf\u67fb\uff3d<\/span><\/h4>\n<p>SQL Server Management Studio \u3092\u4f7f\u7528\u3057\u3066\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b\u3002<br \/>\nThe cause of DEADLOCK can be investigated using SQL Server Management Studio.<\/p>\n<ul>\n<ol><strong><em><span style=\"color: #0000FF;\">#1: Run the SQL Server Management Studio.<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#2: [\u7ba1\u7406] \u2013 [\u62e1\u5f35\u30a4\u30d9\u30f3\u30c8] \u2013 [\u30bb\u30c3\u30b7\u30e7\u30f3] \u2013 [system_health] \u2013 [package0.event_file]<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#3: [\u62e1\u5f35\u30a4\u30d9\u30f3\u30c8] \u2013 [\u30d5\u30a3\u30eb\u30bf\u30fc]<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#4: Create new filter that is \u201cname = xml_deadlock_report\u201d.<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#5: Do the double click the target line in [\u8a73\u7d30] tab.<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#6: Find [KEY] number in () of &lt;process-list&gt;.<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">#7: Run below sql command.<\/span><\/em><\/strong><\/ol>\n<ol><strong><em><span style=\"color: #0000FF;\">Select * from [Table Name] where %%lockres%% = \u2018([Value of KEW])\u2019;<\/span><\/em><\/strong><\/ol>\n<\/ul>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Advertising-Rectangle --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:250px\"\n     data-ad-client=\"ca-pub-0658343697312886\"\n     data-ad-slot=\"8784431573\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server \u306e\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30d0\u30c3\u30d5\u30a1\u30d7\u30fc\u30eb\u304b\u3089\u524a\u9664\u3059\u308b\u3002 How to investigate the deadlock error on SQL Server. \uff3bOS version\uff3d Windows  &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/lovely-moon.com\/blog\/?p=5776\"> <span class=\"screen-reader-text\">\u5099\u5fd8\u9332 \u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u539f\u56e0\u3092\u8abf\u67fb\u3059\u308b (SQL Server)<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[8],"class_list":["post-5776","post","type-post","status-publish","format-standard","hentry","category-3","tag-memorandum"],"_links":{"self":[{"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5776"}],"version-history":[{"count":9,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5776\/revisions"}],"predecessor-version":[{"id":5786,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5776\/revisions\/5786"}],"wp:attachment":[{"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovely-moon.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}