Use WITH clause in OPENJSON to improve parsing performance
OPENJSON function has a WITH clause where you can specify what fields should be extracted from input JSON. This might improve performance of your queries compared to the case where you use OPENJSON...
View ArticleWhat is plan regression in SQL Server?
Plan regression happens when SQL Server starts using the sub-optimal SQL plan to execute some T-SQL query. Usually you will see that some T-SQL query is executing really fast, but then it gets slower...
View ArticleAzure SQL databases in logical servers, elastic pools, and managed instances
Azure SQL Database is a Database as a Platform service designed for applications that will use database as self-contained service. Databases can be grouped together to simplify management options or...
View ArticleSQL Server Replication enhancement in SQL Server 2016
Replication is a widely-adopted feature in SQL Server to copy and distribute data and database objects from one database to another and then synchronizing between databases to maintain consistency. In...
View ArticleComparing performance of data access libraries using StackExchange/Dapper...
One of the most important questions that you need to answer in your projects is what data access library you should use to access your data in SQL Server database. One of the benchmarks that you can...
View Article“What are you waiting for?” – Introducing wait stats support in Query Store
Troubleshooting waits previously. Nobody likes to wait. SQL database is multithreaded system that can handle thousands of queries executed simultaneously. Since queries that are executed in parallel...
View ArticlePublic Preview of Compatibility Level 140 for Azure SQL Database
Today we are announcing the official public preview of compatibility level 140 in Azure SQL Database. Compatibility level 140 enables the following query optimizer changes: A trivial plan referencing...
View ArticleMonitoring automatic tuning actions using XEvents
SQL Server 2017 can automatically tune your queries by identifying and fixing SQL plan change regressions. SQL Server tracks last known good plans for each query, and if the plan for the query changes,...
View ArticleDemo: Identify and fix plan change regression in SQL Server 2017 RC1
Plan change regression happens when SQL Database changes a plan for some T-SQL query, and the new plan has the worse performance than the previous one. SQL Server 2017 has Automatic Tuning feature that...
View ArticleDefault compatibility level 140 for Azure SQL databases
As of this writing, the default compatibility level for new databases created in Azure SQL Database is 130. Very soon, we’ll be changing the Azure SQL Database default compatibility level for newly...
View ArticleAnnouncing preview of Machine Learning Services with R support in Azure SQL...
Today we are announcing the preview of Machine Learning Services with R support in Azure SQL Database! You can evaluate this preview functionality in any server/database created in the West Central US...
View ArticleAnnouncing general availability of Native Scoring using PREDICT function in...
Today we are announcing the general availability of the native PREDICT Transact-SQL function in Azure SQL Database. The PREDICT function allows you to perform scoring in real-time using certain...
View ArticleSQL Server 2017 available for download
Final version of SQL Server 2017 is available for download. New version of SQL Server has a lot of enhancements compared to the previous version. In this post will be highlighted some of the new...
View ArticleNative database backup in Azure SQL Managed Instance
Azure SQL Managed Instance is a new fully managed PaaS offering in Azure cloud that will be publicly available in the near future. It will expose entire SQL Server Instance, support almost all features...
View ArticleConfigure Azure Storage for SQL Database backups
SQL Server 2012+ and Azure SQL Managed Instance support native BACKUP commands that can backup a database to Azure Blob Storage URL. Setting-up Azure Storage account might not be so easy as you think...
View ArticleSentiment analysis with Python in SQL Server Machine Learning Services
One very popular machine learning scenario is text analysis. In this blog post, we will show you two different ways in which you can implement sentiment analysis in SQL Server using Python and Machine...
View ArticleIn-Memory OLTP Updated Overview and Case Studies
We just published updated slide decks about In-Memory OLTP. In-Memory OLTP overview: this is an overview of the technology and details what’s new in SQL Server 2016/2017 and Azure SQL Database...
View ArticleIn-Memory OLTP Indexes – Part 1: Recommendations.
In-Memory OLTP Indexes In-Memory OLTP technology, available in Azure SQL Database and SQL Server, can significantly help you in improving the performance of applications that require high throughput...
View ArticleAzure SQL Database: Ingesting 1.4 million sustained rows per second with...
As Internet of Things (IoT) devices and sensors are becoming more ubiquitous in consumer, business and industrial landscapes, they introduce a unique challenge in terms of the volume of data they...
View ArticleJSON parsing 10x faster than XML parsing
Usually, when people talk about the performance of JSON in SQL Server, they are starting with “JSON is not actually a native type, it is just a plain text” and imply that it is probably too slow. It is...
View Article