SE の雑記

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

Archive for the ‘SQL Server’ Category

AlwaysOn 可用性グループのフェールオーバーに影響する設定について

leave a comment

SQL Server 2012 で追加された AlwaysOn 可用性グループ (AlwaysOn Availability Group) ですがフェールオーバーに影響する設定がいくつかあります。

今回の投稿ではどのような設定があるかまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 2nd, 2012 at 8:44 am

SQL Server 2012 のクラスターを組むと 5 秒間隔でイベントログが出力される

leave a comment

最近気づいたのですが、SQL Server 2012 でクラスターのインスタンス (Failover Cluster Instance : FCI) を組むと、イベントビューアーのアプリケーションに 5 秒間隔で以下のログが出力されていました。

2012/8/30 追記
SQL Server 2012 CU3 で修正されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 29th, 2012 at 8:38 am

Posted in SQL Server

Tagged with ,

あとで見直しておきたい SQL Server のコンテンツ

leave a comment

今月、SQL Server でかなりおもしろいコンテンツが公開されていたのでメモとして。
Troubleshooting SQL server High CPU : Part 1
Troubleshooting SQL server High CPU : Part 2
Why to look at "Wait Statistics" to troubleshoot SQL Performance

どれも内容が深く、面白いものでしたので時間があるときに何回か見直しておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 27th, 2012 at 8:48 am

Posted in SQL Server

Tagged with

チェックポイント実行時のログ出力について

2 comments

SQL Server では定期的にチェックポイント (CHECKPOINT) が実行され、メモリ上のデータとディスク上のデータの同期が行われます。

今回の投稿ではこのチェックポイントが実行された際の情報を SQL Server のログに出力するための方法を見ていきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 22nd, 2012 at 8:47 am

Posted in SQL Server

Tagged with

SSMS で楽してクエリを書く方法

3 comments

Community Open Day の反省点の一つとしてハンズオンに記載されているクエリの入力方法について、説明していなかった点があります。

今回の投稿では SQL Server Management Studio でできるだけ楽をしてクエリを各方法についてまとめてみたいと思います。
SQL Server Profiler やスクリプトを作成するボタンがついている操作を使用するというものもあるかと思いますが今回はそれ以外を使っています。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 12th, 2012 at 9:44 pm

Posted in SQL Server

Tagged with

SQL Wait Stats Joes 2 Pros: SQL Performance Tuning Techniques Using Wait Statistics, Types & Queues を読んでみました

leave a comment

ここ数日、SQL Wait Stats Joes 2 Pros: SQL Performance Tuning Techniques Using Wait Statistics, Types & Queues という書籍を読んでいました。
# 実際に買ったのは Kindle エディション版ですが。

この本を読んだ感想などを少し書いてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 7th, 2012 at 12:10 am

Posted in SQL Server

Tagged with

SQL Wait Stats Joes 2 Pros: SQL Performance Tuning Techniques Using Wait Statistics, Types & Queues を読んでみました

leave a comment

ここ数日、SQL Wait Stats Joes 2 Pros: SQL Performance Tuning Techniques Using Wait Statistics, Types & Queues という書籍を読んでいました。
# 実際に買ったのは Kindle エディション版ですが。

この本を読んだ感想などを少し書いてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 7th, 2012 at 12:10 am

Posted in SQL Server

Tagged with

Windows Server 2008 以降のクラスターインスタンスの MSDTC のクラスターリソースについて

leave a comment

SQL Server のクラスターでは、MSDTC のクラスターリソースを作成していたことがあるかと思います。
# 使用する機能によっては作成しなくても問題はありませんが。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 3rd, 2012 at 2:09 pm

Posted in MSCS/WSFC(MSFC),SQL Server

Tagged with , ,

Workspace Memory の最大値について

leave a comment

SQL Server ではソート / ハッシュ結合 / 並列クエリの実行時などに Workspace Memory (ワークスペースメモリ) が使用されます。
今回の投稿ではこの Workspace Memory の最大値について見ていきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

5月 30th, 2012 at 9:56 pm

Posted in SQL Server

Tagged with

SQL Server 2012 の IVS のサポート状況

leave a comment

Windows 8 CP や Windows Server 8 Beta (Windows Server 2012) の IME では IVS (Ideographic Variation Sequence) がサポートされるようになりました。
IVS については Wikipedia の 異体字セレクタ が参考になります。

Read the rest of this entry »

Written by Masayuki.Ozawa

5月 26th, 2012 at 12:22 pm