Quantcast
Channel: SQL Database Engine Blog
Browsing all 184 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

CHECKDB (Part 3): What does CHECKDB really do? (2 of 4)

In the previous post of this series, I covered the system table checks that have to be done before anything else can be checked by CHECKDB. Now that I've described pages, extents, IAM chains/allocation...

View Article


Image may be NSFW.
Clik here to view.

Can't I ever get a guarantee?

I've been sitting and thinking a lot about guarantees this morning while drinking coffee in the debilitating heat here (85 degrees at 11am) and things get more complicated the more I think about it, so...

View Article


Image may be NSFW.
Clik here to view.

Poking about with DBCC PAGE (Part 1 of ?)

(It's been a while since I last posted - summer fun's been in the way obviously and I've been busy picking up some new and exciting (for me) SQL skills, partially to help with four upcoming TechEds...

View Article

Image may be NSFW.
Clik here to view.

Don't try this at home kids... (data recovery using DBCC PAGE)

Time to cough up a real-life data recovery scenario to temporarily stop those people who badger me relentlessly for scenarios...We have a situation currently with a customer who managed to delete all...

View Article

Image may be NSFW.
Clik here to view.

Improved Query Performance with Compatibility Level 130 in Azure SQL Database

Improved Query Performance with Compatibility Level 130 in Azure SQL Database Azure SQL Database is running transparently hundreds of thousands of databases at many different Compatibility Levels,...

View Article


Image may be NSFW.
Clik here to view.

Query Optimizer Additions in SQL Server 2016

In SQL Server 2016 we have introduced a number of new Query Optimizer improvements. This article summarizes some them and explains you can leverage the benefits of the new enhancements. Expect deep...

View Article

Image may be NSFW.
Clik here to view.

In-Memory OLTP Performance Demo Available for Download

In-Memory OLTP is a performance feature available in SQL Server (since 2014) and Azure SQL Database (currently in preview). With the memory-optimized tables, memory-optimized table types, and natively...

View Article

Encapsulate JSON parsing with inline table value functions

If you are storing JSON fields in SQL Server 2016 or Azure SQL Database, you would probably need to use OPENJSON to parse JSON and extract fields. As an example, in new SQL Server 2016...

View Article


Handling inheritance with JSON

JSON in SQL Server 2016 and Azure SQL Database enables you to handle custom fields and inheritance. As an example, imagine People/Employee/Salespeople structure where Employee is a kind of Person, and...

View Article


Appending JSON arrays using JSON_MODIFY function

Sql Server 2016 and Azure Sql Database enables you to easily modify JSON object and arrays. JSON_MODIFY updates the value of a property in a JSON string and returns the updated JSON string. Here I will...

View Article

Image may be NSFW.
Clik here to view.

IoT code sample – loading messages from Event Hub into Azure SQL Database

Paolo Salvatori created an example that simulates an Internet of Things (IoT) scenario where thousands of devices send events (e.g. sensor readings) to a backend system via a message broker. The...

View Article

Announcing availability of SQL Server 2014 Express Docker image

We are excited to announce the public availability of the sql server 2014 express Docker image for Windows Server Core based Containers! The public repo is hosted on Docker Hub and contains the latest...

View Article

Image may be NSFW.
Clik here to view.

IoT Smart Grid code sample

This code sample simulates an IoT Smart Grid scenario where multiple IoT power meters are constantly sending measurements to a SQL Server 2016 in-memory database. The sample is leveraging the following...

View Article


Increased Memory Size for In-Memory OLTP in SQL Server 2016

We are happy to announce that SQL Server 2016 removes the size limitation on user data in memory-optimized tables. You can grow your memory-optimized tables as large as you like as long as you have...

View Article

Image may be NSFW.
Clik here to view.

Columnstore Index vs BTree index

In earlier blog why columnstore index, we had discussed what is a columnstore index and why do we need it. The columnstore storage model in SQL Server 2016 comes in two flavors; Clustered Columnstore...

View Article


Image may be NSFW.
Clik here to view.

Columnstore Index: Differences between Clustered/Nonclustered Columnstore Index

SQL Server 2016 provides two flavors of columnstore index; clustered (CCI) and nonclustered (NCCI) columnstore index. As shown in the simplified picture below, both indexes are organized as columns but...

View Article

Image may be NSFW.
Clik here to view.

Columnstore Index: Parallel load into clustered columnstore index from...

SQL Server has supported parallel data load into a table using BCP, Bulk Insert and SSIS. The picture below shows a typical configuration of a Data Warehouse where data is loaded from external files...

View Article


Image may be NSFW.
Clik here to view.

JSON is Generally available in Azure Sql Database!

JSON functionalities are now generally available in Azure Sql Database! All functions that are available in SQL Server 2016 are also available in Azure Sql Database. Azure Sql Database enables you to...

View Article

Image may be NSFW.
Clik here to view.

Implementing Product Catalogs in SQL Server and Azure SQL database

Product catalog is one of the key scenarios in NoSQL systems. In product catalog scenario, you need to store different types of products with different properties (e.g. phones have memory and CPU...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2016 – It Just Runs Faster: Always On Availability Groups...

When we released Always On Availability Groups in SQL Server 2012 as a new and powerful way to achieve high availability, hardware environments included NUMA machines with low-end multi-core processors...

View Article
Browsing all 184 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>