<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koogucc11</author_name>
  <author_url>https://blog.hatena.ne.jp/koogucc11/</author_url>
  <blog_title>都内で働くSEの技術的なひとりごと / Technical soliloquy of System Engineer working in Tokyo</blog_title>
  <blog_url>https://ryuchan.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL Server</anon>
  </categories>
  <description>クエリコンパイル恐るべし....DBCC TRACEON を動いているシステムに設定しちゃうので、ちゃんと MSDN とか読んでみてやり方を予習してみる - 都内で働くSEの技術的なひとりごとryuchan.hatenablog.com ということで、クエリコンパイル時間を短縮するため、プランガイドを使用します。手順は下記の通りです。 プランガイドを設定したいクエリを実行します。 SELECT * FROM Production.WorkOrder WHERE ProductID = 725; クエリプランのハンドルおよびオフセット値を取得します。下記のクエリを SQL Server Mana…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuchan.hatenablog.com%2Fentry%2F2015%2F05%2F01%2F224014&quot; title=&quot;クエリ発行時にクエリコンパイルに時間がかかりすぎて、クエリがタイムアウトしたりするのが怖いので、プランガイドを使用して、少しでもクエリコンパイル時間を短くしてみる - 都内で働くSEの技術的なひとりごと / Technical soliloquy of System Engineer working in Tokyo&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>http://cdn-ak.f.st-hatena.com/images/fotolife/k/koogucc11/20150417/20150417133831.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-05-01 22:40:14</published>
  <title>クエリ発行時にクエリコンパイルに時間がかかりすぎて、クエリがタイムアウトしたりするのが怖いので、プランガイドを使用して、少しでもクエリコンパイル時間を短くしてみる</title>
  <type>rich</type>
  <url>https://ryuchan.hatenablog.com/entry/2015/05/01/224014</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
