Date post: | 12-Apr-2017 |
Category: |
Technology |
Upload: | inovex-gmbh |
View: | 557 times |
Download: | 3 times |
Neues in SQL Server 2016Evaluierung SQL Server 2016 CTP 3 für den BI Stack
Sascha Götz
Inovex GmbH
2
SQL Server BI Roadmap 2016+
3
Relationale Engine
MSSQL 2016 CTP3
4
‣ Row-Level Security
SQL Server 2016 CTP 3Relationale Engine
ID Name Territroy_ID
1 BMW 1
2 VW 1
3 GM 2
Territory Customer Sales
User2Territory
ID Name
1 Europe
2 North America
Customer_ID Amount
1 500
2 12500
3 499
User
ID Name DomainLogin
1 Hans Domain\Hans
2 Otto Domain\Otto
User_ID Territory_ID
1 1
1 2
2 2
5
‣ Row Level Security
SQL Server 2016 CTP 3
Relationale Engine
CREATE SECURITY POLICY [Security].[TerritoryPolicy]ADD FILTERPREDICATE [Security].[TerritorySecurity](TerritoryID) ON Sales.CustomerPII,ADD BLOCKPREDICATE [Security].[TerritorySecurity](TerritoryID) ON Sales.CustomerPII
CREATE FUNCTION Security.TerritorySecurity(@TerritoryID int)RETURNS TABLEWITH SCHEMABINDINGASRETURNSELECT 1 AS accessResultFROM [dbo].[User] UINNER JOIN [dbo].[User2Territory] U2T ON U.[UserID] = U2T.[UserID]WHERE U.[Login] = CURRENT_USERANDU2T.TerritorID = @TerritoryID
6
Row-Level Security
DEMO
7
‣ Data Masking
‣ Maskieren von sensitiven Daten
‣ Mask zu einer Spalte hinzufügen
SQL Server 2016 CTP 3
Relationale Engine
ALTER TABLE Sales.CustomerPIIALTER COLUMN EmailAddress ADD MASKED WITH (FUNCTION = 'email()')
8
Data Masking
DEMO
9
‣ JSON Support
‣ FOR JSON PATH
Eine Zeile in JSON für jede Zeile
im SQL Resultset
‣ FOR JSON AUTO
Nested JSON Tree
SQL Server 2016 CTP 3
Relationale Engine
10
‣ OPENSJON
SELECT *
FROM OPENJSON (dbo.QueryToJSon())
WITH (
[FirstName] nvarchar(50),
[LastName] nvarchar(50),
[EnglishProductName] nvarchar(50),
[ExtendedAmount] money
)
SQL Server 2016 CTP 3
Relationale Engine
11
JSON Support
DEMO
12
‣ Polybase
‣ Zugriff auf HDFS // Azure Blob Storage via T-SQL
SQL Server 2016 CTP 3
Relationale Engine
13
‣ Create External Data Source
CREATE EXTERNAL DATA SOURCE HDP2 WITH
(
TYPE = HADOOP,
LOCATION = 'hdfs://192.168.192.134:8020'
)
‣ Create External File Format
CREATE EXTERNAL FILE FORMAT TSV
WITH (
FORMAT_TYPE = DELIMITEDTEXT,
FORMAT_OPTIONS (
FIELD_TERMINATOR = '\t',
DATE_FORMAT = 'MM/dd/yyyy'
)
)
SQL Server 2016 CTP 3
Relationale Engine
14
‣ Create External Table
create external table sample_07_hdfs
(
code nvarchar(255),
description nvarchar(255),
total_emp int,
salary nvarchar(255)
)
WITH
(
LOCATION = '/apps/hive/warehouse/sample_07',
DATA_SOURCE = HDP2,
FILE_FORMAT = TSV,
REJECT_TYPE = value,
REJECT_VALUE=0
)
SQL Server 2016 CTP 3
Relationale Engine
15
Polybase
DEMO
16
‣ In-Memory OLTP (Hekaton)
‣ FOREIGN KEY constraints jetzt möglich
‣ CHECK constraints jetzt möglich
‣ UNIQUE constraints jetzt möglich
‣ DML triggers (AFTER only) jetzt möglich
‣ EXECUTE AS CALLER jetzt möglich
‣ Datentypen varchar(max), nvarchar(max), varbinary(max) ab CTP 3.1
‣ Columnstore Indize v3
‣ Foreign Key Constraints jetzt möglich
‣ CSI + In-Memory jetzt möglich
‣ ‚Weitere Performance Optimierung‘
SQL Server 2016 CTP 3
Relationale Engine
17
Integration Services
MSSQL 2016 CTP3
18
‣ Control Flow Templates
‣ Wiederverwendbare SSIS Templates
‣ Parametrisierbar
‣ Verwendung bei wiederkehrende Tasks
SQL Server 2016 CTP 3 – BI Tools
Integration Services
19
Control Flow Templates
DEMO
20
‣ Hadoop Connection Manager
‣ Control Flow Tasks
‣ Hadoop File System Tasks
‣ CopyToHadoop
‣ CopyFromHadoop
‣ Hadoop Hive Task
‣ Hadoop Pig Task
‣ Data Flow Components
‣ HDFS Source
‣ HDFS Destination
SQL Server 2016 CTP 3 – BI Tools
Integration Services
21
HDFS Components
DEMO
22
‣ Incremental Package Deployment
‣ Deployment einzelner Pakete
‣ Support for Excel 2013 Datasource
‣ AutoAdjustBufferSize
SQL Server 2016 CTP 3 – BI Tools
Integration Services
23
Analysis Services
MSSQL 2016 CTP3
24
‣ Multidimensional Features:
NONE
‣ Tabular Features:
‣ Neues Tabular model Compatibility Level 1200
‣ Tabular Model jetzt in JSON statt XMLA
‣ Abfragen werden nicht mehr DAX->MDX umgewandelt
SQL Server 2016 CTP 3 – BI Tools
Analysis Services
25
Reporting Services
MSSQL 2016 CTP3
26
‣ HTML5 Renderer
‣ Microsoft Internet Explorer 11 & 10 / Microsoft Edge
‣ Google Chrome
‣ Mozilla Firefox
‣ Apple Safari
‣ Neue Charts: Tree Map & Sunburst
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
27
‣ Active X Printing ersetzt durch PDF Printing – Kein Plugin mehr notwenig!
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
28
‣ Neues Feature: Export to PowerPoint
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
29
‣ Customize Report Parameter Pane (nur Visual Studio!)
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
30
‣ Report Builder aufgehübscht
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
31
Reporting Services
DEMO
32
Vielen Dank für Ihre Aufmerksamkeit
Kontakt
Sascha Götz
Business Intelligence Consultant
inovex GmbH
Ludwig-Erhard-Allee 6
76133 Karlsruhe
Mobil: 0173 3181115
Mail: [email protected]