SE の雑記

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

Archive for the ‘SQL Server’ Category

AADDS の AADDC で AAG を構築する

leave a comment

先日発表された、Azure Active Directory Domain Services (AADDS) の Azure Active Directory Domain Controller (AADDC) を使って、AlwaysOn 可用性グループ (AAG) が構築できるかを試してみました。

AADDS については、No.1 の Azure Active Directory Domain Services (Public Preview) を見ていただければと。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 17th, 2015 at 1:10 am

Row-Level Security で Block predicates がサポートされました

leave a comment

Preview ではありますが、Row-Level Security で Block predicates (ブロック述語) がサポートされるようになりました。
Public preview: Row-Level Security block predicates for SQL Database
New Row-Level Security functionality: Block predicates (preview)
New Row-Level Security functionality: Block predicates (preview)
CREATE SECURITY POLICY (Transact-SQL)
SQL Database v12 で使えるようになったかと思ったら、SQL Server 2016 CTP 2.4 でも使うことができるようですね。
# BOL では CTP 3.0 となっていましたが。
ざっくり試してみたいと思います。
Read the rest of this entry »

Written by Masayuki.Ozawa

10月 13th, 2015 at 11:59 pm

SQL Server 2016 CTP 2.4 でデモスクリプトを実行していて気付いたこと

leave a comment

SQL Server 2016 Community Technology Preview 2.4 is available でアナウンスされていますが、本日 SQL Server 2016 CTP 2.4 がリリースされました。

サーバーコンポーネントが x64 のみ提供になったりと、導入に影響が出そうな変更がアナウンスされていますね。
# SQL Server Express Edition はどうなるんでしょうか? えろす師匠

以前、作成したデモスクリプトを CTP 2.4 で動かしていて、気づいた点を少し列挙してみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 1st, 2015 at 7:48 pm

Posted in SQL Server

Tagged with ,

SQL Server デモ環境用のフォント設定

leave a comment

SQL Server のデモを実施する際には SSMS を使用することがありますが、デモ環境のフォント設定についてのメモを。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 23rd, 2015 at 2:19 pm

Posted in SQL Server

Tagged with

SQL Server Express LocalDB の照合順序について

leave a comment

SQL Server 2012 から、Express エディションより軽量な SQL Server Express LocalDB (SQLLocalDB) の機能が追加されています。
SQL Server 2014 Express LocalDB

SQL Server Express LocalDB の照合順序について軽くまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 22nd, 2015 at 9:33 pm

Posted in SQL Server

Tagged with

SQL Server 2016 CTP 2.3 の SSRS の変更内容

leave a comment

CTP 2.3 になって、SSRS の変更点がいくつか公開されています。

いくつかの変更点については CTP 2.4 での実装となるようで、現状公開されている 2.3 ではまだ試すことができないようですが、 What’s New in Reporting Services で 2.4 も含めた SSRS の変更内容が公開されています。

データベースエンジン以外は不得手なのですが、多少は触った方がいいかなと思い軽くメモを。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 22nd, 2015 at 4:43 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 のドメインユーザーを使用しない可用性グループをスクリプトベースで作成してみる

leave a comment

AlwaysOn 可用性グループの可用性レプリカ間の接続ですが、ドメインユーザーやミラーアカウントを使用しなくても、データベースミラーリングと同様に、エンドポイントの設定に証明書を使用することで、デフォルトの「NT Service\MSSQLSERVER」で SQL Server のサービスを起動していても、設定をすることができます。

実際の設定方法については、以下が参考になります。
例:証明書を使用したデータベース ミラーリングの設定 (Transact-SQL)
データベース ミラーリング エンドポイントで発信接続に証明書を使用できるようにする (Transact-SQL)
データベース ミラーリング エンドポイントで着信接続に証明書を使用できるようにする (Transact-SQL)
非ドメイン環境上のサーバー間でミラーリングを構築する方法について

簡易ですが、エンドポイント間の接続に証明書を使用した AlwaysOn の環境をスクリプトベースで作成する方法についてまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 20th, 2015 at 12:25 am

Posted in SQL Server

Tagged with ,

SQL Server 2014 で追加されたバックアップ時のチェックサム取得のデフォルト設定

leave a comment

SQL Server 2016 のサーバー構成オプション (sys.configurations) を見ていて気付いたのですが、SQL Server 2014 のタイミングで「backup checksum default」というオプションが追加されたようです。

サーバー構成オプション (SQL Server) にも記載されていないみたいですね。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 16th, 2015 at 11:15 pm

Posted in SQL Server

Tagged with

SQL Server 2016 CTP 2.3 のインストール時の複数 tempdb について

leave a comment

SQL Server 2016 では、インストール時に複数のデータファイルで構成した tempdb の構成でインストールをすることができます。

Multiple TempDB Database Files

image

SQL Server 2016 : Getting tempdb a little more right も参考になるかと。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 14th, 2015 at 6:38 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 の AlwaysOn の DTC サポートについて

leave a comment

SQL Server 2016 では、AlwaysOn で DTC (分散トランザクション) がサポートされるとアナウンスされています。
これに関連する情報を軽くまとめてみたいと思います。
2016/4/15 追記
最新の情報を確認したところ、Windows Server 2012 R2 に KB?3090973 をインストールすることで、DTC がサポートされるらしいです。

Availability Groups must be running on Windows Server 2016 or Windows Server 2012 R2. For Windows Server 2012 R2, you must install the update in KB3090973 available at https://support.microsoft.com/en-us/kb/3090973.

 
Read the rest of this entry »

Written by Masayuki.Ozawa

9月 7th, 2015 at 8:04 am

Posted in SQL Server

Tagged with ,