24 Hour of PASS: Taking SQL Server into the Beyond Relational Realm
1. Taking SQL Server into
the Beyond Relational Realm
Michael Rys
Principal Program Manager, Microsoft Corp.
@SQLServerMike
Global Sponsors:
2. My favorite Beyond Relational Application
Structured and
unstructured Search
Related/”Semantic”
Search
3. Beyond Relational Data
Building and Maintaining Applications with
relational and non-relational data is hard
Pain Complex integration
Points Duplicated functionality
Compensation for unavailable services
Reduce the cost of managing all data
Simplify the development of applications
Goals over all data
Provide management and programming
services for all data
4. What is the Beyond Relational Mission?
Efficient storage for all data
Tables, XML, Spatial, Documents, Digital Media, Scientific Records,
Factoids…
Rich Data Processing Capabilities for all applications
Data formats and content natively understood for rich application and
user experience
Consistent Application Model and Data Constructs to ease application
development, migration and long-term retention
Rich Capabilities and Services over all data
Provide rich services, e.g.,
Query and Reason over data and extracted semantics
Search across structural impedance of different data formats
Integrated backup/restore for all data
5. Beyond Relational Story
Programmability
T-SQL
Query
Structured
Data
B-trees
Manageability
Availability
Files
6. Beyond Relational Story
Programmability
T-SQL
Query Search
Structured Unstructured
Data Data
B-trees
Manageability
Availability
Files
7. Beyond Relational Story
Programmability
Spatial, XML,
T-SQL/Data Types HierarchyID
Win 32
Query and XQuery
Spatial ops
Search
Type Operations
Semi-
Structured Unstructured
structured
Data Data
Data/XML
XML, FTS, Spatial
B-trees Indices
Manageability Filestream
Availability
Files
8. Beyond Relational Story
Rich Data Programmability
Programming
Capabilities
Spatial, XML,
T-SQL/Data Types HierarchyID
Win 32
Rich Query and
Search Services Query and Type Operations Search
over all Data
XQuery
Spatial ops Semantic
Platform
Efficient Storage Structured Semi-structured Unstructured
for BR Data Data Data/XML Data
XML, FTS, Spatial
B-trees Indices
Filestream
Manageability& Availability
Files
9. Beyond Relational Feature Overview
SQL Server 2005 SQL Server 2008 R2 SQL Server 2012
Full Text Indexing Remote BLOB Store FileTable (Win 32 I/O)
Rich unstructured API over FileStream Scale-up FileStream
Data & Services Filestream with RCSI Scale-up Search
Integrated FTS Search functionality
Semantic Similarity
Fully supported Geometry
and Geography data types FullGlobe
and Functions
Spatial Reporting Services support
2D Extensions
Pervasive Spatial
XML Data Type XML Upgrades
Semistructured Data & XQuery Large UDTs
Documents XML Schema Sparse Columns
Wide Table/ColumnSet
Filtered Indices
HierarchyID
Reliable Service Broker Poison-Message handling Multi-cast
Messaging Enqueue time
10. Beyond Relational in SQL Server 2012
Address important customer requests for Capabilities and rich
services for Rich Unstructured Data (RUDS)
Scale Up for storage and search to 100m to 500m documents
Easy use/access to Unstructured data from all applications
Rich insight into unstructured data to make better decisions
We deliver what you asked for to build Spatial-aware
Applications
Advanced 2D Spatial
Make Spatial pervasive across platform
11. Beyond Relational in SQL Server 2012 at SQL
PASS
Inside Unstructured Data: SQL Server 2012 FileTable and Semantic Search (AD-
313-M)
Unstructured Data: FileTable, FileStream/FileTable Scaling
Full-Text Search: New functionality and Scaling
Semantic Search
Taking SQL Server 2012 into the World of Spatial Data Management (AD-314-M)
Spatial Scenarios
Spatial Types and Methods: SQL Server 2012 and before
Troubleshooting Spatial Query Performance: Deep Dive into Spatial Indexing (AD-
403-M)
Spatial Performance and Indexing: SQL Server 2012 and before
XQuery and XML in SQL Server: Common Problems and Best Practice Solutions
(AD-500-M)
XML and XQuery Performance
XML Indexing
Preview of new Selective XML Index
Let’s take a look at a BR application. What services does it provide. What about having these services supported in the database instead of each application building their own?
Examples: Manage an application that manages images in the file system and additional information in the databaseBuilding a spatial database application before SQL Server 2008Example services: Backup/restore, search over relational and non-relational data
Pure relational database system.
SQL Server 7.0: Added FT Search over unstructured data
SQL 2000: Starting to add XML supportSQL 2005: XML datatype, XQuery, XML IndicesSQL 2008: Spatialdatatype and ops, Spatial Indexing, Filestream with Win 32 (but requires special library to open/create), integrated FTS Filestream requires NTFS
As of SQL Server 2012:Exposing Win 32 natively through FileTableAddition of Semantic Platform to enable Semantic search (and eventually – post Denali - query)Efficient Storage: building on existing relational storage and indexing infrastructure and backup/restore/HA. Bring SQL Server’s superior TCO to BR data and assures efficient and safe storage of customer’s high-value dataRich Capabilities: Necessary (but not sufficent) programmability experience to move customers to entrust their high-value data to SQL with minimal migration pains and access it via their favorite programming model/API.Rich Services: Provide high-value services to unlock information in all data in a highly scalable way. Entices customers to move their high-value data into SQL to discover information fast. Provides platform stickiness and differentiation.
Focus in SQL Server 2012 in priority order:Capabilities and rich services for unstructured dataSpatial platformSustain existing BR supportToolingPerformance & ScaleOrthogonalityLarge new Features
Focus in SQL Server 2012 in priority order:Capabilities and rich services for unstructured dataSpatial platformSustain existing BR supportToolingPerformance & ScaleOrthogonalityLarge new Features