<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guitarrapc_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/guitarrapc_tech/</author_url>
  <blog_title>tech.guitarrapc.cóm</blog_title>
  <blog_url>https://tech.guitarrapc.com/</blog_url>
  <categories>
    <anon>SQL</anon>
  </categories>
  <description>MySQLといえば、スケーリングが容易なオープンソースRDBMSとして有名です。 そのMySQLですが、高負荷環境においてレプリケーション遅延や他理由で、セッションがたまりすぎて、やむを得ずSelect系のセッションのみkill必要に迫られる場合があります。 そんな時数百以上あるセッションをサクッとキルするクエリをPowerShellで生成してみましょう。 サクッと書いて、SQLを生成、クリップボードに転送、実行できます。思いついてから実行までの手軽さ、堅実性、柔軟性は使ってて快適です。 生成方法 kill SessionIDの形式でいいでしょう。SessionIDはshow full pro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.guitarrapc.com%2Fentry%2F2013%2F07%2F19%2F210725&quot; title=&quot;PowerShellでMySQLのkill sessionidをShow Full Processlistから生成してみる - tech.guitarrapc.cóm&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-07-19 21:07:25</published>
  <title>PowerShellでMySQLのkill sessionidをShow Full Processlistから生成してみる</title>
  <type>rich</type>
  <url>https://tech.guitarrapc.com/entry/2013/07/19/210725</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
