SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

Archive for 4月, 2011

行のバージョン管理をページ情報から確認してみる

leave a comment

DBCC PAGE でいろいろな情報を見ていく当ブログですが、今回は行のバージョン管理 (RLV : Row Level Versioning) についてみていきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 24th, 2011 at 10:50 pm

Posted in SQL Server

Tagged with

large value types out of row と Textpointer と BLOB Inline Data

one comment

SQL Server 2005 以降では BLOB を格納する際のデータ型は text / ntext / image ではなく、varchar(max) / nvarchar(max) / varbinary(max) が推奨となっています。

型の変更だけでなく、[large value types out of row] というテーブルオプションも追加されています。

今回はこのテーブルオプションについて見ていきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 19th, 2011 at 8:28 pm

Posted in SQL Server

Tagged with

統計情報の statblob について

leave a comment

SQL Server ではクエリ実行時にオプティマイザーがクエリプランを作成する際に [統計情報] を使用してデータの分布状況を判断します。

今回はその統計情報の格納先についてみていきたいと思います。

SQL Server 2005 の情報になりますが、以下の技術情報に詳細が記載されています。
Microsoft SQL Server 2005 のクエリ オプティマイザが使用する統計情報

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 17th, 2011 at 10:59 pm

Posted in SQL Server

Tagged with

DBCC PAGE でストアドプロシージャを見てみる

leave a comment

今日は趣向を変えて DBCC PAGE でストアドプロシージャを見てみたいと思います。
# あまり趣向変わってないのではという突っ込みは全力でスルーします。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 14th, 2011 at 11:36 pm

Posted in SQL Server

Tagged with

SQL Server のゴーストクリーンアップタスクの基本動作 その 4

leave a comment

久しぶりにゴーストクリーンアップタスク (GhostCleanupTask) の続きを。
今回はゴーストクリーンアップタスクが動いているのを確認する方法などをまとめてみたいと思います。

何を書こうと思っていたか、だいぶ忘れてきてしまいました…。
勢いにのってガシガシ書かないと駄目ですね。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 13th, 2011 at 11:21 am

Posted in SQL Server

Tagged with