Category Archives: Databases

Everything related to databases. We love data and yes we love our databases too. Anything we do that relates to databases can be found here.

Tuple Mover Basics and the Updateable Columnstore index

By | July 9, 2019

When Microsoft introduced Columnstore indexes in SQL server 2012 a key limitation was the table could only be read from and not inserted. While the limitation itself has been overcome in subsequent versions of SQL server we need to understand the impact of how they work to explain performance issues when it comes to accessing… Read More »

Adaptive Joins SQL 2017

By | June 20, 2019

  select a.StateName , a.CityName , sum(flights) from Airports a inner join normalization_index n on a.AirportSeqId = n.OriginAirportSeqID where a.AirportSeqId > 1474703 group by a.StateName , a.CityName     select a.StateName , a.CityName , sum(flights) from Airports a inner join normalization_index n on a.AirportSeqId = n.OriginAirportSeqID where a.AirportSeqId=1451202 group by a.StateName , a.CityName    … Read More »

94% Compression???? SQL Server from 1GB to 65 MB

By | June 11, 2019

In this video we go about taking data that is little over 1 GB in size and incrementally reducing its size all the way down to 65MB. This is mostly to highlight that good design can significantly reduce the memory footprint of the data. With tools like PowerbI etc. the push is towards storing the… Read More »

A Case for Classroom trainings

By | April 22, 2019

Every once in a while I see an advertisement on LinkedIn about companies that conduct online Trainings. Each time I see such ads I am reminded of how people have adopted technology to make their lives better as well as worse. In this post I am going to dissect what is wrong about online trainings.… Read More »

SQL 2017 – Minor features

By | March 14, 2019

There are a tons of minor improvements of features in SQL 2017 that nobody talks about so I figured before we all get swept up with SQL 2019. It might be good to quickly post something about them for posterity. sys.dm_os_host_info   A new DMV that gives OS level info as shown below, as you… Read More »