SE の雑記

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

Archive for the ‘SQL Server 2014’ tag

ネイティブコンパイルされたオブジェクトのロードについて

leave a comment

SQL Server 2014 の BOL を見ていて気づきました。
テーブルとストアド プロシージャのネイティブ コンパイル

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 24th, 2013 at 8:51 am

Posted in SQL Server

Tagged with ,

[SQL Server 2014 CTP2]メモリ最適化テーブルに移行するための 3 つのアドバイザー

leave a comment

SQL Server 2014 の SSMS ではメモリ最適化テーブルへ移行するためのアドバイザーとして AMR (Analysis / Migration / Report) ツールが提供されています。

image

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 23rd, 2013 at 12:05 am

Posted in SQL Server

Tagged with ,

[SQL Server 2012 CTP2]In-Memory OLTP と AlwaysOn

leave a comment

SQL Server 2012 CTP1 の時にはメモリ最適化テーブルと AlwaysOn を組み合わせることができませんでした。
いちからはじめる Memory Optimized Table その 10
CTP2 になって、メモリ最適化テーブルと AlwaysOn を組み合わせることができるようになりました。
SQL Server 2014 CTP 2 Now Available

Thank you to those that have already downloaded SQL Server 2014 CTP1 and started seeing first hand the performance gains that in-memory capabilities deliver along with better high availability with AlwaysOn enhancements.

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 20th, 2013 at 8:02 pm

Posted in SQL Server

Tagged with ,

[SQL Server 2014 CTP2]In-Memory OLTP のリソースガバナー

leave a comment

In-Memory OLTP のメモリ最適化テーブルですが、データをメモリ上に確保できなくなるとエラーとなります。
メモリが不足している状態でデータの追加をしようとすると以下のようなエラーになります。
# 実際には追加 (INSERT) だけでなく、更新 (UPDATE) をした場合にもエラーとなりますが。
image

メモリが不足した際のリカバリー方法としては以下のような情報があります。
How to: Recover from OOM (Out Of Memory)

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 19th, 2013 at 7:09 pm

Posted in SQL Server

Tagged with

[SQL Server 2012 CTP2]メモリ最適化テーブルのインデックスのメモリ使用量の比較

leave a comment

SQL Server 2012 CTP2 では、範囲検索に使用できるレンジインデックスが使用できるようになりました。

細かな仕様までは調べられていないのですが、通常のハッシュインデックスと比較して、どの程度メモリ使用量に差が出るのかを見てみました。

基本的なガイドラインに関しては Guidelines for Using Indexes on Memory-Optimized Tables に。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 18th, 2013 at 9:18 am

Posted in SQL Server

Tagged with ,