RAP as a Service for XX

advertisement
SQL Server 2014 – Features
Drilldown
Tara Shankar Jana
Senior Premier Field Engineer
(Microsoft)
Web Avatar
Find my blogs at: http://blogs.msdn.com/b/sql-bisap-cloud-crm_all_in_one_place/
My Website: http://sqlmasters.jimdo.com/
Twitter: @TJMicrosoft
Linkedin: http://au.linkedin.com/pub/tara-shankarjana/21/1a3/329
The Evolution of Microsoft Data Platform
Modern DB
platform
XML ● KPIs
Mission
Critical
Performance &
Productivity
Self-Service BI
Cloud-Ready
Mission Critical &
Cloud Performance
SQL Server
2000
Management Studio ● Mirroring
SQL Server
2005
Compression ● Policy-Based Mgmt ● Programmability
PowerPivot ● SharePoint Integration ● Master Data Services
SQL Server
2008
SQL Server
2008 R2
AlwaysOn ● ColumnStore Index ● Data Quality Services ● Power View ● Cloud Connectivity
SQL Server
2012
In-Memory Across Workloads ● Performance & Scale ● Hybrid Cloud Optimized ● HDInsight ● Cloud BI
SQL Server
2014
SQL Server 2014 and the Data Platform
In-Memory Built-In
Average 10x faster for new and existing SQL Server apps
Secure & Scalable
Most secure with enterprise scale using Windows Server
High Availability
The 9’s you need, with AlwaysOn
Mission Critical Support
Live support designed for mission critical solutions
In-Memory Built-In
Microsoft In-Memory Technologies
•
•
•
•
•
•
2014
2012
2014
2012
2014
Why Hekaton (XTP)?
9
Drivers
Architectural Pillars
Customer
Benefits
In-Memory OLTP – Architectural Pillars
High performance data
operations
Efficient business-logic
processing
Frictionless scale-up
Hybrid engine and
integrated experience
Main-Memory
Optimized
T-SQL Compiled to
Machine Code
High Concurrency
SQL Server Integration
• T-SQL compiled to machine
code via C code generator
and VC
• Invoking a procedure is just
a DLL entry-point
• Aggressive optimizations @
compile-time
• Multi-version optimistic
concurrency control with full
ACID support
• Core engine uses lock-free
algorithms
• No lock manager, latches or
spinlocks
• Optimized for in-memory
data
• Indexes (hash and range)
exist only in memory
• No buffer pool, B-trees
• Stream-based storage
Business
Hardware trends
Steadily declining memory
price, NVRAM
Stalling CPU clock rate
• Same manageability,
administration &
development experience
• Integrated queries &
transactions
• Integrated HA and
backup/restore
Many-core processors
TCO
In-Memory OLTP Integration and Application Migration
Client App
TDS Handler and Session Management
Natively Compiled
SPs and Schema
Key
Parser,
Catalog,
Optimizer
Native
Compiler
Existing SQL
Component
T-SQL Query Execution
In-mem OLTP
Component
Query
Interop
T1
T2
T3
Tables
Indexes
Memory Optimized Tables & Indexes
T1
Memory Optimized Data Filegroup
Buffer Pool for Tables & Indexes
SQL Server.exe
T2
Transaction Log
T3
T1
T2
Data Filegroup
T3
Generated
.dll
HEKATON- XTP (How to Create
Memory-Optimized Tables)
demo
HEKATON- XTP (Detailed
Demos)
demo
HEKATON- XTP (Durable Table)
demo
HEKATON- XTP (Non-Durable
tables)
demo
HEKATON- XTP (AMR Tool)
demo
HEKATON- XTP (Memory
Optimizer Wizard)
demo
Columnstores: clustered and updatable (The next generation)
• Fast execution for data warehouse queries
•
Speedups of 10x and more
• No need for separate base table
•
Saves space
• Data can be inserted, updated, or deleted
•
Simpler management
• Eliminate need for other indexes
•
Saves space and simpler management
• More data types supported
•
Removes many limitations from non-clustered columnstores in SQL Server 2012
Comparing space savings (101-million row table and index space)
20.0
19.7 GB
15.0
10.9 GB
10.0
5.0 GB
5.0
4.0 GB
6.9 GB
1.8 GB
0.0
Table with
customary
indexing
Table with
customary
indexing (page
compression)
Table with no
indexing
Table with no
indexing (page
compression)
Table with
columnstore
index
Clustered
columnstore
Clustered Columstore Index
demo
Secure
80
69
53
60
40
20
0
0
5
28
16
16
2006
2
2007
55
53
29
25
11
9
2008
SQL Server
8
43
34
21
8
2009
Oracle
0
43
29
6
1
6
2010
2011
MySQL
DB2
4
22 20
12
2012
18
0
0
2013
Separation of Duties Enhancements
• What’s being delivered
• Three new permissions (CONNECT ANY DATABASE, IMPERSONATE ANY LOGIN,
and SELECT ALL USER SECURABLES)
• Main benefit
• Greater role separation
• Ability to create new roles for database administrators who are not sysadmin
(super user)
• Ability to create new roles for users or apps with specific purposes
Security Enhancements- Demo
demo
Scalable
Resource Governor- Demo
demo
SSD Buffer Pool Extension and scale up
• What’s being delivered
• Use of non-volatile drives (SSD) to extend buffer pool
• NUMA-Aware large page and BUF array allocation
• Main benefits
• BP extension for SSDs
• Improve OLTP query performance with no application changes
• No risk of data loss (using clean pages only)
• Easy configuration optimized for OLTP workloads on commodity servers (32 GB RAM)
Buffer Pool Manager
Command
Query Tree
Cmd
Parser
TDS
TDS
Result Sets
Query Plan
Optimizer
Query
Executor
Relational
Engine
SNI
Results
Data
Protocol
Layer
Plan Cache
Transaction Log
GetPage
Access
Methods
D
Data Cache
Cached Pages
Transaction
Manager
Data
Files
Buffer
Manager
Storage Engine
Write
I/O
Buffer Pool
Read
I/O
How it works?
Buffer Pool
bpage == NULL
IS_ON (BUF_L2BPOOL)
IS_OFF (BUF_L2DIRTY)
bpage != NULL
IS_ON (BUF_DIRTY)
IS_ON (BUF_L2BPOOL)
IS_ON (BUF_L2DIRTY)
Dirty
Page
Clean
Page
SSD
ɸ
DB
Evict
Clean Page
Lower and Upper Thresholds
Pages
Array
…
Hot Pages
in DRAM
…
Least
Recently
Used
Upper Threshold
Warm Pages
to Extension
…
Lower Threshold
Cold Pages
Evicted
…
Online Operations Enhancements
• What’s being delivered
• Single partition online index rebuild
• Managing Lock Priority for table SWITCH and online index rebuild
• Built-in diagnostics
• Main benefits
• Increased concurrency and application availability
• New partition-level granularity for online index rebuild enables lower
resource (CPU/memory) usage for customers who need uninterrupted
access
• Provide customers with greater control over impacting running
transactions if using switch partition or online index rebuild commands
Microsoft Power BI for Office 365
Discover
Analyze
Visualize
Search, access, and transform
public and internal data sources
with Power Query
Easy data modeling and lightning
fast in-memory analytics with
Power Pivot
Bold new interactive data
visualizations with Power View
and Power Map
Share
Find
Q&A
Mobile
Scalable | Manageable | Trusted
Share data views and workbooks
refreshable from on-premises and
cloud based data sources, with
Power BI Sites
Ask questions and get immediate
answers with natural language
query
Mobile access through HTML5
and touch optimized apps for
Windows 8, RT and iOS tablets
Hybrid Cloud Solutions
Geo Replication
Restore to VM
Easy On-Ramp to Cloud
Database migration from Onpremises to cloud or Azure
VM
demo
Smart and Managed backupsDemo
demo
Download SQL Server 2014 CTP2
www.microsoft.com/sqlserver
Call to
action
Register for Power BI Preview
www.powerbi.com
Get on Windows Azure
www.windowsazure.com
Track Resources
http://technet.microsoft.com/en-us/evalcenter/dn205290.aspx
www.windowsazure.com
http://www.windowsazure.com/en-us/documentation/services/hdinsight/?fb=enus
www.powerbi.com
Questions?
41
Download