SE の雑記

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

Archive for the ‘SQL Server 2014’ tag

いちからはじめる Memory Optimized Table その 3

leave a comment

Memory Optimized Table を作成する際には以下のようなクエリでテーブルを作成します。
# CREATE TABLE のサンプルは Creating a Memory Optimized Table に記載されています。

CREATE TABLE MemTable
(
Col1 int NOT NULL,
Col2 nchar(450) COLLATE Japanese_XJIS_100_BIN2 NOT NULL INDEX NCIX_MemTable_col2 HASH (Col2) WITH (BUCKET_COUNT = 1024),
Col3 int,
CONSTRAINT PK_MemTable PRIMARY KEY NONCLUSTERED HASH (Col1) WITH (BUCKET_COUNT = 100)
) WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA)
GO

Memory Optimized Table を使用するためには WITH 句 で指定をする必要があります。
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 10th, 2013 at 11:40 pm

Posted in SQL Server

Tagged with ,

いちからはじめる Memory Optimized Table その 2

leave a comment

前回は基本的な構成について確認してみました。
今回はログファイルについてみていきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 10th, 2013 at 9:49 am

Posted in SQL Server

Tagged with ,

いちからはじめる Memory Optimized Table その 1

leave a comment

SQL Server 2014 で実装される Memory Optimized Table (Hekaton) をじっくり勉強していきたいと思います。
勉強するにあたっては以下の情報が参考になります。
# 日本語だとメモリ最適化テーブルとかになるんですかね??
Books Online
In-Memory OLTP (In-Memory Optimization)
TechEd North America 2013
Microsoft SQL Server In-Memory OLTP: Overview of Project “Hekaton”
Microsoft SQL Server In-Memory OLTP Project “Hekaton”: Management Deep Dive
Microsoft SQL Server In-Memory OLTP Project “Hekaton”: App Dev Deep Dive
TechEd Europe 2013
Microsoft SQL Server 2014 In-Memory OLTP: Overview
Microsoft SQL Server 2014 In-Memory OLTP: DB Developer Deep Dive
Microsoft SQL Server 2014 In-Memory OLTP: Management Deep Dive
ホワイトペーパー
SQL Server In-Memory OLTP Internals Overview for CTP1
Microsoft research
Hekaton: SQL Server’s Memory-Optimized OLTP Engine
High-Performance Concurrency Control Mechanisms for Main-Memory Databases
@IT
SQL Server 2014 処理高速化の仕掛け/Redshiftの先行評価の内容とは? (1/2)
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 8th, 2013 at 11:19 pm

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる – Azure VM に DB を展開 –

leave a comment

SQL Server 2014 では Azure との連携が強化されており、その強化の一つとしてデータベースを Azure VM に展開することができるようになっています。
Deploy a SQL Server Database to a Windows Azure Virtual Machine
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 2nd, 2013 at 9:05 pm

SQL Server 2014 CTP 1 の新機能を使ってみる – CCI –

leave a comment

SQL Server 2014 では Clusterd Columnstore Index (CCI) が使用できるようになっています。
更新可能な列ストアインデックス (Updatable Columnstore Index) として PDW v2 で実装されていた機能が SQL Server 2014 でも使用できるようになります。
BOL では Columnstore Indexes で解説されています。
MS Resarch の資料も参考になりそうですね。
Enhancements to SQL Server Column Stores
Read the rest of this entry »

Written by Masayuki.Ozawa

7月 1st, 2013 at 9:06 pm

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる – Hekaton –

leave a comment

そろそろ SQL Server 2014 CTP1 の目玉機能である Hekaton (Memory-optimized tables) を紹介してみたいと思います。今回は概要レベルでの機能紹介を。
BOL では In-Memory OLTP (In-Memory Optimization) に記載されています。
Database Watch(2013年6月版) でも紹介されていましたので日本語の情報としてはこちらが参考になるかと。
SQL Server MVP のおださんが db tech showcase 大阪2013 Hekaton セッションメモ で大阪で開催されたセッションのメモを公開してくださっているのでこちらも勉強になります。
SQL Server Blog でも紹介されていますのでこちらも合わせてチェックしておきたいですね。
SQL Server 2014 In-Memory Technologies: Blog Series Introduction
Getting Started with SQL Server 2014 In-Memory OLTP
ホワイトペーパーはこちらに
SQL Server In-Memory OLTP Internals Overview for CTP1
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 30th, 2013 at 12:44 pm

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる – TSQL の拡張 –

leave a comment

ぼちぼち Hekaton を書こうかと思っているのですが、TSQL の拡張も面白そうなので今回は SQL Server 2014 で拡張された TSQL について少し触れてみたいと思います。

BOL では
What’s New (Database Engine)
CREATE TABLE (SQL Server)
に記載されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 29th, 2013 at 6:23 pm

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる ? TSQL の拡張 –

leave a comment

ぼちぼち Hekaton を書こうかと思っているのですが、TSQL の拡張も面白そうなので今回は SQL Server 2014 で拡張された TSQL について少し触れてみたいと思います。

BOL では
What’s New (Database Engine)
CREATE TABLE (SQL Server)
に記載されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 29th, 2013 at 6:23 pm

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる – バッファプールの拡張 –

leave a comment

今回も Hekaton ではなく他の機能の紹介を。
SQL Server 2014 ではバッファプールを外部ディスクに拡張することができる機能が追加されています。
これにより、SSD やメモリストレージのような高速なドライブをバッファプールの拡張領域として使用することができるようになります。
BOL では Buffer Pool Extension に記載されています。
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 28th, 2013 at 8:43 am

Posted in SQL Server

Tagged with ,

SQL Server 2014 CTP 1 の新機能を使ってみる – リソースガバナーの新機能 –

leave a comment

SQL Server 2014 CTP1 の新機能を少しずつ使ってみたいと思います。

1 回目の今回の投稿ではあえて Hekaton ではなくリソースガバナーの新機能のご紹介を。
BOL としては、 ALTER RESOURCE POOL (Transact-SQL) に記載されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 28th, 2013 at 12:00 am

Posted in SQL Server

Tagged with ,