SELECT *
FROM Posts
WHERE Tags IN ('SQL Server')

jul
6
2016

SQL Server 2016 Query Store, User Data or Metadata?

It’s been a month since the SQL Server community has their new toy, SQL Server 2016, which to my surprise and considering not everyone has yet adopted SQL 2014, it’s absolutely packed with new…

Continue Reading »

jun
22
2016

Update Statistics Misconception

On the 15th of June I made my first presentation at my local user group, and I have to say that was a nice experience. The presentation is about SQL Server statistics and at certain…

Continue Reading »

jun
16
2016

Database design matters, seriously

This might sound pretty obvious, but really, database design matters. And all those rules and best practices about database…

Continue Reading »

may
31
2016

Extended Events File Target Reader

It’s been some time since I started with my first SQL-G Hack, and I think those are precisely the kind of posts you might want to find when searching…

Continue Reading »

may
25
2016

TRUNCATE TABLE misconceptions

TRUNCATE TABLE in SQL Server is well known for what it does as feature, but how it actually works is easily misunderstood, and for long time, the same…

Continue Reading »

may
18
2016

Index fun, disabling the Clustered Index

Following a conversation with my junior DBA, I decided to show you what happens when we disable indexes and in particular when we disable the clustered index for a…

Continue Reading »

may
10
2016

Successful Anti-Patterns, Key Lookup VS RID Lookup

When it comes to technical subjects like databases, we must always look for proven solutions and best practices, which usually take us from A to B in the most efficient way. Usually. But what happens…

Continue Reading »

abr
26
2016

Shrinking large half-empty MDF

Once again I’ve found my inspiration browsing linkedin SQL Server groups. Love it! First I have to say I’m a big fan of DBCC SHRINK, I use it all the time… NO, that was a bad…

Continue Reading »

abr
15
2016

Back To Basics, Lock Escalation in SQL Server

Today at work we’ve had a very common request, no big deal, just a couple of UPDATE which affect tens of thousands of rows in a couple of tables independently. I can say I’ve been there, done that…

Continue Reading »

mar
31
2016

Index Creation VS SSMS Query

Tonight, Ladies and Gentlemen, we have one of the most expected fights in SQL Server!! Yeeeeeah!! Booooohhhh!!! (People cheering and booing) Hm, now seriously, I just read a comment in a blog…

Continue Reading »