SE の雑記

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

Author Archive

非対称ストレージを使用したクォーラムの設定

leave a comment

今まで設定したことがなかったのですが、Windows Server 2008 / Windows Server 2008 R2 SP1 に以下の Htofix を適用した環境では、クラスターで非対称ストレージ (非対称ディスク) を使用することができます。

2012 以降ではデフォルトで利用できるようですね。

Hotfix to add support for asymmetric storages to the Failover Cluster Management MMC snap-in for a failover cluster that is running Windows Server 2008 or Windows Server 2008 R2

軽く試してみた内容をまとめてみたいと思います。
ドキュメントとしては、以下が参考になります。
WSFC クォーラム モードと投票の構成 (SQL Server)
Building a High Availability and Disaster Recovery Solution by Using Failover Cluster Instances and Availability Groups
Configure and Manage the Quorum in a Windows Server 2012 Failover Cluster
Failover Cluster Step-by-Step Guide: Configuring the Quorum in a Failover Cluster
SQL Server HA and DR Design Patterns, Architectures, and Best Practices Using Microsoft SQL Server 2012 AlwaysOn

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 19th, 2016 at 8:49 pm

SQL Server 2016 RC0 の Stretch Database を使用して Hot データと Cold データに分割する

leave a comment

SQL Server 2016 RC0 以前にもできたのかもしれませんが、先週気づきました。
Stretch Database が発表された際に、

  • ローカルに Hot データを格納
  • Azure に Cold データを格納

というような、説明がされることがありました。
そのようなデータを分割する方法をまとめてみたいと思います。
詳細については、以下を参照してください。
Stretch Database
Use a Filter Predicate to Select Rows to Migrate (Stretch Database)
Enable Stretch Database for a database
Read the rest of this entry »

Written by Masayuki.Ozawa

3月 15th, 2016 at 11:35 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 RC0 で使える新しい AlwaysOn のセカンダリの初期同期方法

leave a comment

SQL Server 2016 RC0 関連の情報を眺めていて知ったのですが、RC0 では、セカンダリの同期方法として「SEEDING_MODE = AUTOMATIC」という方法が追加されています。

High Availability Enhancements

[RC0] Direct seeding allows a secondary replica to be automatically seeded over the network (rather than manual seeding that requires a physical backup of the target database to be restored on the secondary). Direct seeding is specified by setting SEEDING_MODE=AUTOMATIC in the CREATE AVAILABILITY GROUP (Transact-SQL) or ALTER AVAILABILITY GROUP (Transact-SQL) statements. You must also specify GRANT CREATE ANY DATABASE with ALTER AVAILABILITY GROUP (Transact-SQL) on each secondary replica that is used with direct seeding.

これについて、少しまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 13th, 2016 at 9:47 pm

Posted in SQL Server

Tagged with ,

Data Driven を見ながらつらつらと

one comment

今週は、SQL Server 2016 RC0 / SQL Server on Linux / R Tools for Visual Studio が発表されました。
ビッグリリースが続く中で、Data Driven というイベントが開催されていますので、眺めながらつらつらと。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 11th, 2016 at 12:03 am

Posted in SQL Server

Tagged with

SQL Server 2016 RC0 の Stretch Database を使ってみる

one comment

SQL Server 2016 RC0 では、Stretch Database の仕組みに多少変化がありますので軽くまとめてみたいと思います。
Stretch Database は Azure にも関係がある機能ですので、SQL Server Stretch Database の価格 も併せて参照していただくとよいかと。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 9th, 2016 at 9:36 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 RC0 のデータベースレベルでの構成変更

leave a comment

SQL Server 2016 RC0 では、ALTER DATABASE SCOPED CONFIGURATION という ALTER 文がサポートされるようになりました。
これは SQL Database でもサポートされるようになっているようですね。

面白い機能だと思ったので軽く試してみました。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 8th, 2016 at 11:48 pm

Posted in SQL Server

Tagged with

SQL Server 2016 RC0 と SQL Server on Linux の情報のメモ

one comment

同時にいろいろと情報が出てきたので、あとで確認できる用のメモ。
この状況だと、Data Driven でいろいろな発表が出てきそうですね。
SQL Server on Linux の日本語の情報については、SQL Server on Linux を発表 を見るとよいかと。
Read the rest of this entry »

Written by Masayuki.Ozawa

3月 8th, 2016 at 8:04 am

ARM の仮想マシンをブラウザベースでキャプチャして展開

leave a comment

ARM の仮想マシンをブラウザの操作のみを使用し、イメージのキャプチャと展開をする際の流れを軽くまとめてみたいと思います。

基本的な流れは、以下がとても参考になります。

Step by Step: How to capture your own custom virtual machine image under Azure Resource Manager
Azure Resource Manager で作成した仮想マシンをキャプチャーする

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 6th, 2016 at 7:14 pm

Posted in Microsoft Azure

Tagged with ,

SQLPackage と SQL Database Migration Wizard についての雑記

leave a comment

タイトルの通りですが、SQL Database にツールベースで移行するための方法として、

ここ数日、夜なべして Azure VM 上にインストールした SQL Server で試していた時のの雑記を少し。

[SQL Database] SQL Server ? Windows Azure SQL Database (WASD) 間のデータ同期方法について
SQL Server データベースのクラウド内の SQL Database への移行
も参考になります。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 5th, 2016 at 10:41 pm

Posted in SQL Database

Tagged with

SQL Server 2016 RC0 の情報を追ってみる

leave a comment

今週、SQL Server 2016 RC0 についての情報が公開され、教えていただいた情報含め現状公開されている情報をメモとして。
例によってデータベースエンジンだけですが。

投稿を書いている時点では、評価版の公開はまだ始まっていないみたいですね。
Data Driven 以降に、いろいろな情報出てくるのでしょうかね。

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 5th, 2016 at 9:24 pm

Posted in SQL Server

Tagged with ,