<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Process ID  killed by ...</title><link>http://sqlserver.ro/forums/thread/5179.aspx</link><pubDate>Fri, 27 Jun 2008 09:33:49 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:5179</guid><dc:creator>sabin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/5179.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=5179</wfw:commentRss><description>Am vazut in log ul SQL  ului ,treaba cu kill ul si eram curios ce a generat blocajul&lt;br /&gt;&lt;br /&gt;Kill ul nu l-am facut eu; si cred ca s-a facut din EM_Management_current Activity...&lt;br /&gt;&lt;br /&gt;Merci pt replay&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Process ID  killed by ...</title><link>http://sqlserver.ro/forums/thread/5178.aspx</link><pubDate>Fri, 27 Jun 2008 07:18:23 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:5178</guid><dc:creator>rremus</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/5178.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=5178</wfw:commentRss><description>Conexiunea cu @@SPID 89 a fost terminata de applicatia care ruleaza pe host-ul S-1 cu process-id-ul 2000. Din pacate termenul de 'Process ID' are doua semnificatzii in acest mesaj, prima data se refera la un @@SPID de conexiune SQL, a doua oara la un PID de Windows.&lt;br&gt;&lt;br&gt;Intrebarea ta este cum s-a facut KILL-ul? Sau tu ai facut KILL-ul si vrei acuma sa intzelegi de ce a trebuit facut?&lt;br&gt;&lt;br&gt;Momentul cel mai bun de descoperit de ce tranzactia se bloca era cind era blocat. In SQL 2000 folosesti sp_who, sp_who2 si sp_lock ca sa vezi ce procese sint blocate si evebntual de ce. In SQL 2005 ai mult mai multe informatii la dispozitie si te uitzi in sys.dm_exec_connections, sys.dm_exec_sessions si sys.dm_exec_requests pentru a vedea ce face fiecare 'process', in sys.dm_tran_database_transactions, sys.dm_tran_locks, sys.dm_tran_active_transactions si sys.dm_tran_session_transactions pentru a vedea ce tranzactii se executa, ce lock-uri sint acordate sau in asteptare. In fine mai ai sys.dm_os_schedulers, sys.dm_os_workers si sys.dm_os_tasks pentru cazurile rare cind ai de a face cu un caz de 'workers starvation'.&lt;br&gt;&lt;br&gt;Pentru a face o analiza retroactiva asupra ce sa intimplat, este mult prea greu. Cel mult ai putea sa analizezi log-urile cu DBCC LOG sau cu ::fn_dblog. Daca ai noroc poate gasesti ceva in ERRORLOG care sa-tzi dea un hint, dar putzin probabil.&lt;br&gt;Recomandarea mea ar fi sa asteptzi sa se intimple din nou si cind se intimpla sa te conectezi la server, fara sa omori procesul care s-a blocat, si sa vezi de ce s-a blocat (sau de ce face progres foarte incet daca face progres).&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: Process ID  killed by ...</title><link>http://sqlserver.ro/forums/thread/5176.aspx</link><pubDate>Thu, 26 Jun 2008 15:53:38 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:5176</guid><dc:creator>sabin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/5176.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=5176</wfw:commentRss><description>SQL 2000&lt;br /&gt;&lt;br /&gt;Erau cativa utilizatori  blocati pe server - o tranzactie- si a killer-it procesele respective.&lt;br /&gt;&lt;br /&gt;M-ar interesa sursa , ce procedura a generat blocajul&lt;br /&gt;Orice informatie in plus , m-ar ajuta :&lt;br /&gt;ce statie, sau utilizator sau procedura ...&lt;br /&gt;&lt;br /&gt;Multam pt replay&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Process ID  killed by ...</title><link>http://sqlserver.ro/forums/thread/5175.aspx</link><pubDate>Thu, 26 Jun 2008 12:23:54 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:5175</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/5175.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=5175</wfw:commentRss><description>&lt;P&gt;SQL 2000 sau SQL 2005?&lt;/P&gt;
&lt;P&gt;Ce informatii vrei sa afli? Ai probleme cu o aplicatie, sau cu query-uri rulate de exemplu&amp;nbsp;in Query Analyzer?&lt;/P&gt;</description></item><item><title>Process ID  killed by ...</title><link>http://sqlserver.ro/forums/thread/5174.aspx</link><pubDate>Thu, 26 Jun 2008 05:08:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:5174</guid><dc:creator>sabin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/5174.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=5174</wfw:commentRss><description>Salutare,&lt;br /&gt;&lt;br /&gt;Am si eu nevoie de putin ajutor&lt;br /&gt;&lt;br /&gt;A ramas cineva blocat pe server ( o tranzactie)&lt;br /&gt;si s-a  anulat (killed)  procesul  ...&lt;br /&gt;&lt;br /&gt;Process ID ... killed by ..., host process ID 2000.&lt;br /&gt;&lt;br /&gt;Cum pot sa imi dau seama - ce tranzactie a facut probleme sau cum pot afla informatii legate de "process ID "  ?&lt;br /&gt;&lt;br /&gt;Am gasit in log -actiunile de anulare a proceselor .&lt;br /&gt;Process ID 89 killed by hostname S-1, host process ID 2000.&lt;br /&gt;Spid 51&lt;br /&gt;&lt;br /&gt;Multumesc</description></item></channel></rss>