SE の雑記

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

SQL Database のセルフサービスリストアのメモ

leave a comment

先日、SQL Database の新しいサービスレベルの導入に伴いセルフサービスリストアの機能が追加されました。
少し調べることがあったのでメモを残しておきたいと思います。

詳細については以下を参照してください。
Azure SQL データベースに新しいサービス レベルを導入
Azure SQL Databaseが新しいService Tierを導入

Azure SQL Database Business Continuit
Azure SQL Database Backup and Restore
Changing Database Service Tiers and Performance Levels

Read the rest of this entry »

Written by Masayuki.Ozawa

5月 1st, 2014 at 12:51 pm

Posted in SQL Database

Tagged with

待ち事象を時系列で解析するためのデータを取得する

leave a comment

SQL Server の待ち事象は sys.dm_os_wait_stats / sys.dm_os_latch_stats というような動的管理ビューを利用して確認することができます。

パフォーマンスモニターの SQL Server: Wait Statistics からも確認をすることができますが、こちらは一部の項目しか取得することができません。

一時テーブルや PowerShell 等を使用すれば定期的に DMV の情報を出力するということもできますが、環境に依存せずに SSMS だけで実行するための方法をまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 23rd, 2014 at 12:16 pm

Posted in SQL Server

Tagged with

SQL Server の状態を取得する際に取得しておきたいパフォーマンスモニター

leave a comment

案件として、SQL Server の診断を実施させていただくことがあるのですが、その際にはパフォーマンスモニターの情報を取得して解析することがあります。

詳細については DELL (もともとは Quest の資料) が公開している SQL Server Perfmon Counters Poster が参考になりますが、私が取得している情報をメモとして。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 22nd, 2014 at 5:27 pm

Posted in SQL Server

Tagged with

Windows 8.1 Update1 / Windows Server 2012 R2 Update 1 についてのメモ

2 comments

先週から Windows 8.1 Update 1 と Windows Server 2012 R2 Update 1 が公開されました。
これらについてのメモを少しまとめておきたいと思います。
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 13th, 2014 at 4:52 pm

Windows Server 2012 R2 評価版を AVMA で認証させる

leave a comment

Windows Server 2012 R2 の評価版を使用して AVMA で認証させる方法を。
AVMA については Automatic Virtual Machine Activation / AVMA のプロダクトキーを VAMT に追加 を。

image

評価版を製品版にアップグレードする方法については、Windows Server 2012 の評価バージョンとアップグレード オプション に記述されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 13th, 2014 at 3:01 pm

PowerShell で SQL Server がバックアップ/リストア中かを取得してみる

leave a comment

PowerShell で SQL Server がバックアップ/リストア中かを取得するサンプルです。
サービスやサーバーの停止をする際に処理が実行されているかを判断するのに使えるかなと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 13th, 2014 at 1:24 pm

Posted in PowerShell,SQL Server

Tagged with ,

シグマクロを作ってみよう

leave a comment

突然ですがシグマクロを作ってみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 12th, 2014 at 11:00 pm

Posted in Office

Tagged with

Azure の仮想マシンで使用されている BGInfo の仕組みを使ってみる

leave a comment

現状の仮想マシンではデスクトップに BGInfo の情報を表示することができます。
# VM エージェントを有効にした場合だったかと思いますが。

仮想マシンで使用されている仕組みを Hyper-V のゲスト OS に移植してみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 12th, 2014 at 10:20 pm

PowerShellでイベントログに情報を出力

leave a comment

PowerShell でイベントログに情報を出力する場合のメモを。

参考となる情報としては以下のものがあります。
How to Use PowerShell to Write to Event Logs
List eventlog sources?

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 12th, 2014 at 9:41 pm

Posted in PowerShell

Tagged with

SQL Server 2014 のデータベースのファイルを BLOB に配置する構成について

one comment

SQL Server 2014 ではデータベースのファイルを Microsoft Azure の BLOB ストレージに配置することができるようになりました。

以前、[SQL Server 2014 CTP2]Azure 連携の強化 という投稿で少し触れたのですが、RTM 版でまとめてみたいと思います。

技術情報としては Windows Azure 内の SQL Server データ ファイル になるかと。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 8th, 2014 at 11:39 pm

Posted in SQL Server

Tagged with