SE の雑記

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

Archive for the ‘SQL Server’ Category

SQL Server 2017 の ML サービスの Python を勉強するためのファーストステップ

leave a comment

先日、SQL Server の Python を勉強するための取り掛かりについての話題になったので、自分なりのまとめを。
SQL Server の ML サービスですが、SQL Server 2016 までの R サービスがベースになっているため、基本的な内容については、R サービスの内容を使用することができるかと。
R サービスの際のコンテンツとしては、次のものが基本となるかと。

基本的な動作を確認するには、チュートリアルを最初から流してみるといいかと思います。
Microsoft から提供されているチュートリアルとしては次のようなものがあります。

Read the rest of this entry »

Written by Masayuki.Ozawa

8月 12th, 2017 at 4:31 pm

Posted in SQL Server

Tagged with ,

SSMS 17.2 がリリースされました

leave a comment

SSMS 17.2 がリリースされました。

Download SQL Server Management Studio (SSMS)
新しい機能については、SSMS 17.2 に記載されていますが、かなり機能が追加されています。
パフォーマンスダッシュボードが SSMS のカスタムレポートに統合 / ついに SQL Database についてもインテリセンスが有効になった / 実行プランの検索が可能になったりと、かなり利便性が向上しています。
MSSQL Tiger Team のブログでも新機能について紹介されていますので、時間があるときに情報を確認していきたいなと。
New in SSMS: Performance Dashboard built-in
New in SSMS: Searching in Showplan

Written by Masayuki.Ozawa

8月 9th, 2017 at 9:43 pm

Posted in SQL Server

Tagged with ,

SQL Server 2017 RC2 が提供されました

leave a comment

SQL Server 2017 RC1 がリリースされたなと思っていたら、続けざまに RC2 がリリースされました。
SQL Server 2017 Release Candidate 2 (RC2) is now available
リリースノート等を見てみたのですが、今回はバグフィックスと性能改善が主な内容となっており、機能面での変更はなさそうですね。
What’s new in SQL Server 2017

Latest release: SQL Server 2017 Release Candidate (RC2, August 2017)

This release contains bug fixes and performance improvements.

What’s new for SQL Server 2017 on Linux

RC2

The RC2 release contains miscellaneous bug fixes and improvements.

Written by Masayuki.Ozawa

8月 3rd, 2017 at 8:37 am

Posted in SQL Server

Tagged with ,

Azure Container Instances で SQL Server on Linux のコンテナーを起動してみる

leave a comment

先日、Azure Container Instances (ACI) が Preview で使用できるようになりました。
Fast and Easy Containers: Azure Container Instances
Azure Container Instances Documentation
既に試されている方もいらっしゃいますね。
Azure Container Instances は Hypervisor レベルでの分離を備えた次世代のコンテナ実行環境
Azure Container Instances
Check! Azure Container Instances (ACI) 登場!単一のコンテナを必要な時にさくっと使いたいときに!
この機能で、コンテナーのホストを準備することなく、さくっと PaaS 上で管理されているコンテナーインスタンスを起動させることができますね。

Container Instances are available today in public preview for Linux containers. Windows container support will be available in the coming weeks.

現時点では、Linux コンテナーが利用可能で、今後 Windows コンテナーがサポートされるようですね。
Linux コンテナーが動作するなら、ACI 上で SQL Server on Linux が起動するのではないかと思って試してみました。
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 29th, 2017 at 3:05 pm

SQL Server on Linux の Docker 版を使って、1 サーバーでクラスターレス可用性グループを組んでみる

leave a comment

可用性グループを構築する場合、複数のサーバーを用意していましたが、クラスターレス可用性グループであれば、Docker のコンテナーを二つ用意すれば構成をとれるのではないだろうかと思って試してみました。
とりあえず、組めるかどうかを試したので、手動での対応の連続です…。
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 23rd, 2017 at 11:51 am

Posted in SQL Server

Tagged with ,

SQL Server 2017 RC1 が公開されました

leave a comment

MS のブログでアナウンスされていますが、SQL Server 2017 の最初のリリース候補版となる SQL Server 2017 RC1 が公開されました。

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 19th, 2017 at 12:17 am

Posted in SQL Server

Tagged with ,

SQLCAT から SQL Server on Linux のモニタリングツールが公開されました

one comment

sys.dm_os_wait_stats先週の話になりますが SQLCAT (SQL Server Customer Advisory Team) から、SQL Server on Linux のモニタリングツールが公開されましたので、少しまとめておきたいと思います。
How the SQLCAT Customer Lab is Monitoring SQL on Linux
今回公開されたツールは SQL Server on Linux の稼働状況を以下のような UI で確認することができるツールとなっています。
imageimageimage
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 9th, 2017 at 9:14 pm

Posted in SQL Server

Tagged with ,

SQL Database で互換性レベル 140 がパブリックプレビューとなりました

leave a comment

Public Preview of Compatibility Level 140 for Azure SQL Database でアナウンスされていますが、SQL Database で互換性レベル 140 がパブリックプレビューとなっています。
少し前から設定できていた気がしなくもないのですが、正式にパブリックプレビューになったのは今回のタイミングなんですね。
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 9th, 2017 at 11:06 am

SQL Server 2017 の ML サービスから Cognitive Service の Face API を利用してみる

leave a comment

SQL Server 2017 の ML サービスから、外部の REST と連携ができるのかが気になったので、Cognitive Service のCognitive Service の Face API を例にして試してみました。
参考にした情報としては、次のものになります。
Getting Started with Face API in Python Tutorial
Cognitive-Face-Python
Face API – V1.0
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 6th, 2017 at 10:49 pm

Posted in SQL Server

Tagged with ,

SQL Server Management Studio 17.0 以降の Always Encrypted の対応

leave a comment

久しぶりに、Always Encrypted を設定をしていて、「そういえば、SSMS が Always Encrypted 対応していたな」ということを思い出して、ちょっと書いておこうかと。
SSMS としては、17.0 以降が、Always Encrypted のパラメーター化クエリに対応しているバージョンとなります。
それ以前のバージョンでは、「column encryption setting=enabled」の接続オプションの利用は可能なのですが、パラメーター化クエリが暗号化されたものに対応していないため、暗号化していない項目を検索条件に使用してのアクセスや暗号化の解除はできたのですが、暗号化されている列を使用した検索や、データの追加 / 更新ができないという制限があります。
詳細な情報については、次の情報を確認していただければと。
Always Encrypted (Database Engine) (Always Encrypted (データベース エンジン))
Parameterization for Always Encrypted ? Using SSMS to Insert into, Update and Filter by Encrypted Columns
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 2nd, 2017 at 10:47 pm

Posted in SQL Server

Tagged with ,