SE の雑記

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

Archive for the ‘SQL Server’ Category

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 ,

Build 2017 のキーノートで発表のあった、SQL Server / SQL Database 関連の発表をざっくりと

leave a comment

Build 2017 が始まりましたので、ざっくりと情報をまとめてみようかと。
de:code 2017 のネタ集めとも言います(
大枠の発表については、以下を参照してもらうとよろしいかと。
New innovations at Microsoft Build 2017: Helping developers achieve more
Cloud Platform Release Announcements for May 10, 2017
Serving AI with data: A summary of Build 2017 data innovations
Read the rest of this entry »

Written by Masayuki.Ozawa

5月 11th, 2017 at 12:00 am

Power BI Report Server についての情報

leave a comment

Power BI Report Server についての情報が公開されました。
Power BI レポートをオンプレミスでホストするための仕組みである、Power BI Report Server は、Power BI Premium により使用できるようになるようですね。
詳細については近日公開予定となっているようです。
(Data Insights Summit で公開されるようです。)
Power BI Report Server の紹介
Power BI Premium で無限の可能性
Read the rest of this entry »

Written by Masayuki.Ozawa

5月 4th, 2017 at 1:09 pm

Posted in Power BI,SQL Server

Tagged with ,

SQL Server 2017 CTP 2.0 の自動チューニングについて

leave a comment

SQL Server 2017 では、Adaptive Query Processing (適応型クエリ処理) のほかに、Automatic Tuning という機能が追加されています。
機能名を見た時、SQL Database で実装されている「SQL Database Advisor」のような、推奨インデックスの自動設定を行う仕組みなのかと思ったのですが、それとは違う機能となるようですね。
ある程度は機能確認ができるサンプルスクリプトが作れたので軽くまとめておきたいと思います。
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 26th, 2017 at 3:06 pm

SQL Server 2017 新機能 (CTP 2.0 版)

leave a comment


SQL Server 2017 の新機能をざっくりまとめたものとなります。
docs.com にも同一の内容をおいていますので、PDF で見たい場合などはこちらをご利用ください。
わかった気になれるかもしれない SQL Server 2017 新機能
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 23rd, 2017 at 2:17 pm

Microsoft Data Amp の発表内容

leave a comment

昨年の 3 月に Data Driven というイベントがありましたが、今年は Data Amp というイベントが開催されています。
SQL Server も関連しているイベントなので、ストリーミングを見ながらつらつらと。
今回のイベントのタイミングで出てきた MS のサイトの情報は以下かなと。
SQL Server v.Next が SQL Server 2017 となることがアナウンスされ、こそっと SSDT 17.0 が GA されてました。
■SQL Server 2017 のアナウンス
SQL Server 2017 Community Technology Preview 2.0 now available
Top three capabilities to get excited about in the next version of SQL Server
■データベースエンジン
Introducing Batch Mode Adaptive Joins
Introducing Interleaved Execution for Multi-Statement Table Valued Functions
Resumable Online Index Rebuild is in public preview for SQL Server 2017 CTP 2.0
Graph Data Processing with SQL Server 2017
■R Server
Introducing Microsoft R Server 9.1 release
■Machine Learning Services
Delivering AI with data: the next generation of Microsoft’s data platform
Python in SQL Server 2017: enhanced in-database machine learning
■SSAS
What’s new in SQL Server 2017 CTP 2.0 for Analysis Services
Introducing DirectQuery Support for Tabular 1400
New Get Data Capabilities in the GA Release of SSDT Tabular 17.0 (April 2017)
Introducing a DAX Editor Tool Window for SSDT Tabular
■SSDT
Announcing the General Availability (GA) Release of SSDT 17.0 (April 2017)
 
Azure 系に関しては以下で一括でアナウンスですかね。 Azure Analysis Services も GA しました。
Cloud Platform Release Announcements for April 19, 2017
Announcing Azure Analysis Services general availability
 
評価版の提供とDocker Hub のイメージも更新されているようです。
Linux 向けのリポジトリも更新されています。
https://www.microsoft.com/ja-jp/evalcenter/evaluate-sql-server-2017-ctp
https://hub.docker.com/r/microsoft/mssql-server-linux/tags/
リリースノート等も更新されています。
SQL Server vNext Release Notes
What’s New in SQL Server vNext
What’s New in SQL Server vNext (Database Engine)
What’s new in SQL Server Reporting Services (SSRS)
What’s New in Integration Services in SQL Server vNext
What’s new in SQL Server Analysis Services vNext
What’s New in Machine Learning with SQL Server
 
SQL Server の R サービスは Machine Learning サービス (In-Database) に名称が変わったようです。
データベースエンジンの新機能としては、以下のものがあるようですね。

Read the rest of this entry »

Written by Masayuki.Ozawa

4月 20th, 2017 at 12:00 am

Simple Monitor というツールを細々と作っています

leave a comment

ちょっと、SQL Server や、SQL Database のリソース可視化を行いたかったので、Simple Monitor というツールを細々と作っています。
https://github.com/MasayukiOzawa/SQLServer-Util/tree/master/Simple%20Monitor
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 18th, 2017 at 9:39 am

Windows 10 Creators Update にアップデートした際に FileStream が動作しなくなる現象についての情報

leave a comment

SNS でいくつか情報が上がっていますが、Windows 10 Creators Update にアップデートした環境で、SQL Server の FileStream が動作しないという現象が発生しています。
US の TechNet フォーラムにも同様の現象の情報が上がっています。
Database in recovery pending status
詳細については、FILESTREAM issues with SQL Server on Windows 10 creators update で情報が発信されており、現状の回避策としては、SQL Server のサービスアカウントが管理者権限を持つように設定変更する必要があるようです。

Workaround

Following are some of the workaround identified which will enable you to overcome the above errors on Windows 10 creators update.

  • Change the SQL Server service startup account to built-in account LocalSystem
  • Change the SQL Server service startup account to a domain user account with local admin privileges on the system
  • If you use virtual account [NT SERVICE\MSSQL$InstanceName] as service startup account, please make this account a member of the local administrators group
  • Uninstall Creators Update and fall back to the previous Windows build

The Windows team is working on the fix to prevent this breaking change on FILE_OPEN_IF api. If you have SQL Server installed on Windows 10 with databases using filestream feature, we recommend you defer applying the Windows 10 Creators update until the fix is made available.

We will update the blog post once the fix is made available by Windows team

とのことで、修正をする予定のようですが、4/15 時点では修正プログラムはまだ公開されていませんので、Creators Update の適用は注意する必要があるかと。
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 15th, 2017 at 10:48 am