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

Image may be NSFW.
Clik here to view.

Reducing the Size of your Database in SQL Server 2005/SP2

An exciting new feature in SQL Server 2005/SP2 is Vardecimal Storage Format. This storage format lets you reduce the size of your table significantly if the table has one of more columns of type...

View Article


Image may be NSFW.
Clik here to view.

Estimating the space savings with vardecimal storage format

Before enabling Vardecimal storage format, you may want to know the potential reduction in the size of the table. Clearly, if the table has no decimal/numeric columns, there will be no savings. Note,...

View Article


Image may be NSFW.
Clik here to view.

Enabling vardecimal storage format

First, this feature is only available in EE and Dev SKU.  Enabling vardecimal storage format on a table is a two step process as follows: First you need to enable database for Vardecimal storage...

View Article

Image may be NSFW.
Clik here to view.

Vardecimal Storage Format and its implications on Backup/Recovery

Has any one tried restoring or attaching a SQL Server 2005 database on SQL Server 2000? You will find that SQL Server 2000 will fail this restore or attach. The reason is simple. SQL Server 2000 does...

View Article

Image may be NSFW.
Clik here to view.

Boundary conditions for enabling vardecimal storage format

Have you ever tried updating a variable length column and fail? Well, it can happen if the modified row cannot fit on the page. One simple example of this as follows create table boundary (c1...

View Article


Image may be NSFW.
Clik here to view.

Data row before and after vardecimal storage format

Paul Randal in one of his earlier BLOGs described DBCC Page paul-tells-alland the record layout. I thought it will be interesting to show how a row looks before and after the Vardecimal storage format...

View Article

Image may be NSFW.
Clik here to view.

White Paper: Reducing Database Size by Using Vardecimal Storage Format

Hermann Daeubler and Sunil Agarwal have co-authored this white paper. Hermann is a Program Manager with the SQL team and is a SAP expert. Hermann was involved with vardecimal storage format team from...

View Article

Loading line-delimited JSON files in SQL Server 2016

Loading Line-Delimited JSON files in SQL Server One of the problem with JSON is the fact that you cannot continuously append JSON messages. If you want to have valid array of JSON objects you will need...

View Article


Moving data from relational to JSON columns and vice versa

Moving data from relational to JSON columns and vice versa Unlike other pure relational or pure NoSQL databases, Sql Server do not forces you to store data in relational or JSON format. You can choose...

View Article


Loading JSON files from Azure File Storage

Azure File Storage supports SMB protocol, so you can map your local virtual drive to the Azure File storage share using the following procedure: Create file storage account (e.g. mystorage), file share...

View Article

Generate stored procedure that imports array of JSON object in table

OPENJSON function enables you to easily write simple statement that loads array of JSON objects in table. Example is: INSERT INTO dbo.People(Name, Surname) SELECT Name, Surname FROM OPENJSON (@json)...

View Article

What’s new for In-Memory OLTP in SQL Server 2016 since CTP3

SQL Server 2016 is making a lot of enhancements to In-Memory OLTP to make it easier to use and perform even better. In a previous post I listed all the new features that had been included in SQL Server...

View Article

Image may be NSFW.
Clik here to view.

A Technical Case Study: High Speed IoT Data Ingestion Using In-Memory OLTP in...

In this post we look at a customer case study of an Internet of Things (IoT) scenario, where large amount of device data is ingested into an Azure SQL Database. Because the data lives in a SQL...

View Article


JSON is available in Azure SQL Database

JSON functionalities that are added in SQL Server 2016 are also available in Azure SQL Database see Public preview: JSON in Azure SQL Database. All functionalities that you can use in SQL Server 2016...

View Article

Increased nonclustered index key size with SQL Server 2016

SQL Server 2016 and Azure SQL Database have increased the maximum size for index keys with nonclustered indexes. The new maximum key size for nonclustered indexes is 1700 bytes. The maximum key size...

View Article


Using DB Compatibility Level 130 with Old CE in SQL Server 2016

In SQL Server 2014 we introduced a revamped Cardinality Estimator (CE), which we further improved in SQL Server 2016 and Azure SQL Database. With the new CE most workloads are seeing better query plans...

View Article

Database Scoped Configuration

This release now supports a new database level object holding optional configuration values to control the performance and behavior of the application at the database level. This support is available...

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
Browsing all 177 articles
Browse latest View live


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