JSON parsing is faster than Spatial equivalent
One of the most common assumption when people talk about JSON in SQL Server is that it is slow because it is placed in “plain text” and there is no native type. Instead of the assumption it is better...
View ArticleIn-Memory OLTP Indexes – Part 2: Performance Troubleshooting Guide.
Introduction In the previous blog post In-Memory OLTP Indexes – Part 1: Recommendations, we gave you an update on the latest features of In-Memory OLTP technology. We also summarized the key...
View ArticleJSON vs CLR UDT – performance comparison
Ability to create custom user defined types in CLR and use them in SQL Server is introduced in SQL Server 2005. In SQL Server 2016 is added JSON support that might be alternative for storing complex...
View ArticleASP.NET Session State with SQL Server In-Memory OLTP
ASP.NET session state enables you to store and retrieve values for a user as the user navigates the different ASP.NET pages that make up a Web application. Currently, ASP.NET ships with three session...
View ArticleBuilding SQL REST API back-end for Angular apps
JSON support in SQL Server/Azure SQL is designed to make integration between the relational database models and the modern single-page JavaScript apps easier than ever. SQL Server/Azure SQL enables you...
View ArticleStoring JSON documents in SQL Database
SQL Server and Azure SQL Database have native JSON functions that enable you to parse JSON documents using standard SQL language. Now you are able to store JSON documents in SQL Database and query JSON...
View ArticleTransitive closure clustering with CLR and JSON
Transitive closure is a graph algorithm that tries to follow paths in graph edges and tries to find all elements that can be reached from some element, or groups of elements that are mutually...
View ArticleInjecting JSON objects into existing JSON text with JSON_MODIFY function
JSON_MODIFY function that is available in SQL Server 2016+ enables you to modify existing text formatted as JSON and add or update existing values. One common problem that happens is inserting...
View ArticleDatabase scoped optimizing for ad hoc workloads
SQL Server provides the “optimize for ad hoc workloads” server-scoped option that is used to reduce the memory footprint of single use ad hoc batches and associated plans. When enabled at the SQL...
View ArticleCompatibility Level 140 is now the default for Azure SQL Database
Database compatibility level 140 is now the default for new databases created in Azure SQL Database across almost all public regions. As of this writing, there are already 539,903 databases in Azure...
View ArticleWorking with Azure IoT data in Azure SQL Database
IoT use cases commonly share some patterns in how they ingest, process, and store data. First, these systems need to ingest bursts of data from device sensors of various locales. Next, these systems...
View ArticleSimplify data access using de-normalized models
Classic relational databases enable you to create highly normalized data models with schema that might contain a lot of tables. Logical entities are broken into several tables and every complex...
View ArticleSimplify REST API development for modern Single-page apps with SQL Server
JSON functionalities that are added in SQL Server 2016 and Azure SQL Database enable application developers to easily expose relational data from database tables and create REST API that will provide...
View ArticleJSON in SQL Server – Use cases
JSON support in SQL Server 2016+ and Azure SQL Database enables you to combine relational and NoSQL concepts and easily transform relational to semi-structured data and vice-versa. JSON is not a...
View ArticleJanuary 2018 Leaderboard of Database Systems contributors on MSDN
Congratulations to our January 2018 top 10 contributors! Alberto Morillo and Visakh Murukesan maintain their top positions. This Leaderboard initiative was started in October 2016 to recognize the top...
View ArticleNew Windows container images of SQL Server 2017 on Windows Server 1709!
The Windows Server Core container images of SQL Server 2017 Developer & Express based on Windows Server version 1709 are now available on Docker Hub! These can be used in both Windows Server...
View ArticleMigrating to Azure SQL Database with Zero Downtime for Read-Only Workloads
Special thanks to MSAsset engineering team’s Peter Liu (Senior Software Engineer), Vijay Kannan (Software Engineer), Sathya Muhandiramalage (Software Development Engineer II), Bryan Castillo...
View ArticleFebruary 2018 Leaderboard of Database Systems contributors on MSDN
Congratulations to our February top 10 contributors! Alberto Morillo and Visakh Murukesan maintain their top positions. This Leaderboard initiative was started in October 2016 to recognize the top...
View ArticleWhat is Azure SQL Database Managed Instance?
Azure SQL Database Managed Instance is a new flavor of Azure SQL Database that represents fully managed SQL Server Instance hosted in Azure cloud. Currently, Azure SQL Database PaaS has two main offers...
View ArticleHow to configure tempdb in Azure SQL Managed Instance(preview)
Azure SQL Database Managed Instance (public preview) is a fully-managed SQL Server instance in Azure cloud. In the current public preview there are some known issues and bugs that will be fixed during...
View Article