SE の雑記

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

Archive for the ‘SQL Server’ Category

SQL Server 2017 CTP 2.1 の Python の ML サービスで日本語データをインプットデータとして渡す際の覚書

one comment

今回の前提としては、データベースの照合順序に「Japanese_XJIS_140_CI_AS」を使用している環境となります。
このデータベースに対して、以下のようなデータを登録します。

DROP TABLE IF EXISTS T1
CREATE TABLE T1 (C1 varchar(2), C2 nvarchar(1))
INSERT INTO T1 VALUES('あ', N'あ')
SELECT * FROM T1

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 1st, 2017 at 9:49 pm

Posted in SQL Server

Tagged with , ,

4GB 程度のメモリで、ML サービスのチュートリアルを実施した際にモデルの作成ができなかった時のお話

leave a comment

仮想マシンで、SQL Server 2017 の ML サービスの In-Database Python Analytics for SQL Developers のチュートリアルの、モデルの作成と保存 (Step 5: Train and Save a Model using T-SQL) を実行しようとしたところ、エラーが発生してしまい、モデルを作成することができない状態が発生していました。 Read the rest of this entry »

Written by Masayuki.Ozawa

6月 28th, 2017 at 2:39 pm

Posted in SQL Server

Tagged with , ,

Power BI レポートサーバーのサポートライフサイクルについて

leave a comment

Power BI Report Server: Self-Service BI and Enterprise Reporting On-Premises  で紹介されていましたので軽くまとめて置こうかと。
先日、Power BI レポートサーバーが GA しました。
Power BI レポートサーバーの機能アップデートや、サポートライフサイクルについては以下のようになっています。
image
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 25th, 2017 at 9:24 pm

SQL Server 2017 の ML サービスを実行する際の Python スクリプトの作成についての覚書

leave a comment

昨日、In-Database Python Analytics for SQL Developers の意訳 を書きましたが、書きながら思った、データベース内の Python スクリプト実行の覚書を。
Python をきちんと理解できていないので、間違っている箇所があるかもしれませんが…。
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 24th, 2017 at 10:52 pm

Posted in SQL Server

Tagged with ,

In-Database Python Analytics for SQL Developers の意訳

leave a comment

@IT の Microsoft、SQL Server 2017の「Machine Learning Services」を使った「データサイエンス実践ガイド」を公開で記事が公開されていますが、SQL Server 2017 の ML サービスを使用した機械学習のチュートリアルが公開されています。
元の記事は、Data Science Walkthrough with SQL Server 2017 and Microsoft Machine Learning Services ですかね。
SQL Server 2017 の ML サービスの勉強がてら、In-Database Python Analytics for SQL Developers の意訳を。
SQL Server 2017 のドキュメントですので、そのうち公式に日本語訳されるかと。
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 23rd, 2017 at 9:06 pm

Posted in SQL Server

Tagged with ,

SQL Server on Linux で環境変数を使用したインストールの実施

leave a comment

環境変数を使用したインストールですが、Configure SQL Server settings with environment variables on Linux に公開されている内容は、CTP 2.1 時点では Docker の対応のみとなっていますが、一部の環境変数についてはインストール版の SQL Server on Linux でも使用することができるようになっていますので軽くまとめてみたいと思います。 Read the rest of this entry »

Written by Masayuki.Ozawa

6月 17th, 2017 at 11:31 pm

Posted in SQL Server

Tagged with

Data Insights Summit のキーノートを見ながらペタペタ

one comment

https://www.microsoft.com/en-us/datainsightssummit で、Data Insights Summit が開催されていますので、キーノートを見ながらペタペタ。
動画については https://www.youtube.com/user/mspowerbi/playlists?shelf_id=9&view=50&sort=dd&flow=list で公開されています。
公式のブログでも情報が公開されていますね。
Microsoft Data Insights Summit 2017 Day 1 Recap
Microsoft Data Insights Summit 2017 Day 2 Recap
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 13th, 2017 at 1:41 am

Posted in Power BI,SQL Server

Tagged with ,

Power BI Report Server の評価版が提供されています

one comment

de:code でバタバタしていて、投稿できていなかったのですが、Power BI Report Server の評価版の提供が開始されています。
Power BI Report Server の紹介
Microsoft Power BI Report Server – May 2017 Preview
image
Azure の SSRS TP のイメージも Power BI Report Server に変更となったようです。
Power BI Report Server (May 2017 Preview)
6 月には、Microsoft Data Insights Summit もありますので、これからどんどん情報が発信されてくるんでしょうね。
Read the rest of this entry »

Written by Masayuki.Ozawa

5月 31st, 2017 at 8:29 pm

SQL Server 2017 のデモ用スクリプトを公開しました

leave a comment

SQL Server 2016 の時も公開していたのですが、CTP 2.1 時点の SQL Server 2017 のデモスクリプトを公開してみました。

SQL Server 2017 Demo
SQL Server 2017 については、クロスプラットフォーム対応が大きくアナウンスされていますが、データベースエンジンに関しても様々な機能強化が行われていますので、ご参考になれば。

Written by Masayuki.Ozawa

5月 29th, 2017 at 9:21 pm

Posted in SQL Server

Tagged with ,

SQL Server on Linux のパフォーマンス情報を DMV から取得

2 comments

SQL Server のパフォーマンス情報については、パフォーマンスモニターから取得するのが一般的ですが、SQL Server on Linux に対してパフォーマンスモニターで接続することはできないので、sys.dm_os_performance_counters から情報を取得するためのストアドを作ってみました。
(de:code 2017 のデモで使ったものを少し修正しただけですが)

usp_LiveMonitor.sql
top や iostat の結果と比較してみたのですが、「Page life expectancy」の値については、減ることタイミングがなく、この値の妥当性については微妙でしたが、他の項目に関しては妥当な値になっていそうです。
テーブルにデータを保存しておきたい場合は、 usp_LiveMonitor のテーブルへのダンプ.sql のレイアウトを使用してもらえれば対応できるかと。

Written by Masayuki.Ozawa

5月 28th, 2017 at 11:15 pm

Posted in SQL Server

Tagged with ,