In order to get information about the amounts of PHYSICAL reads we perform on database files, SQL Server exposes a DMV called sys.dm_io_virtual_file_stats.
In addition to information about number of reads and writes, and the amounts of bytes read and written, we also have the io_stall_read_ms, io_stall_write_ms and io_stall, which… Read more
When you configure log shipping, there are 4 SQL Server Agent jobs that are set up:
Backup: Performs a backup log operation on the primary server, logs history and deletes old backup files and history information
Copy: Copies the backup files to the secondary server and logs history
Restore: Restores… Read more
It’s been a great a busy week.
On Wednesday, I presented my session, “Query Progress Tracking in SQL Server” at SQLRally in Copenhagen.
On Thursday, I presented my session, “The Data Loading Performance Presentation”, at SQLBits in London.
Thanks to everyone who attended my sessions. I had a lot of… Read more
Traditionally, we want our Clustered Index to have the following attributes:
- Narrow: So that our clustered index and the non-clustered indexes that point to it will be as slim as possible
- Static: So that we don’t generate fragmentation in the clustered index and we don’t have to update the non-clustered…
Next week, I’m going to visit London and Copenhagen for SQLBits and SQLRally Nordic. It’s going to be intense and fun.
On Wednesday, March 4, at 4:45PM, I’ll deliver my session “Query Progress Tracking in SQL Server” at SQLRally in Copenhagen.
The session talks about a big… Read more
This Monday, at SQLSaturday Israel, I presented my new session, “The Data Loading Performance Presentation”.
I worked on the session a lot, and delivering it was tons of fun.
The session talks about the ways to load big amounts of data fast, and about the enemies that can make… Read more
We had a great conversation and covered a lot of issues. Among… Read more
2015 is here!
Last year I wrote about what I had learned in 2013, and I try to make it a tradition. So without further ado, here’s what I learned in 2014:
- Columnstore Indexes are amazing. The Columnstore technology is fascinating to me, and I keep learning…
Clustered Columnstore Indexes, as well as “regular” indexes, support the Rebuild and Reorganize operations. However, the meaning of those operations is different in the case of Columnstore.
Before we describe the differences, let’s remind ourselves how data manipulation works in Columnstore:
Inserts go into an object called Delta Store,… Read more
Let’s say you build or rebuild an index in SQL Server. Your users and boss are anxious to know when the table will stop being blocked and when their precious queries will run fast. What can you tell them?
SQL Server allows tracking the progress of index build and rebuilds.… Read more
SQL Server has two types of execution plan iterators: Blocking and Non-Blocking.
A non-blocking iterator gets rows in and sends rows out at the same time. For instance, the Nested Loops iterator gets rows from its outer input and sends the matching rows on to the next iterator without having… Read more
Were you ever in a situation where you ran a query, it ran for a long time and you didn’t know what it was doing? Sure you were..
What if you had a visual indication of where things are stuck in your execution plan, while the query is running?
A… Read more
When you set up a multi-subnet cluster, whether it’s a Failover Cluster Instance or an Availability Group, you need to make sure you understand a few things in order for your applications to work properly after a failover. For the sake of our discussion, let’s assume we have a multi-subnet… Read more
Last month, I had the pleasure of presenting two of my favorite sessions at the SQLBits conference in Telford, UK.
A few days ago, all of the session recordings were uploaded to the SQLBits site.
About a year and a half ago, I approached Guy and asked him if he wanted to start a podcast about SQL Server. He was pretty surprised, but we started working on it.
If you’re reading this, you probably think, like me, that SQL Server is an awesome product. One of the great things about SQL Server is the fact that it’s super easy to start working with it: You download the installation (or connect to the Azure portal and get a VM),… Read more
On Saturday, I had the pleasure to present my session, “Things You Can Find in the Plan Cache”, at SQLBits!
Thanks to everyone who attended my session.
The scripts and presentation can be downloaded here.
About two months ago, after two and a half years, I left Microsoft.
Microsoft is an amazing place to work for. It’s comfortable, balanced, challenging and educating. I feel like the factors of my maturity and interests, the challenges I had to face and the people I worked with, combined… Read more
About two months ago, after 2.5 years, I left Microsoft.
Microsoft is an amazing place to work for. It’s conformable, balanced, challenging and educating. I feel like the factors of my maturity and interests, the challenges I had to face and the people I worked with, combined perfectly to make… Read more
Over the time as a SQL Server professional, I’ve come to an understanding about 3 important interview-related factors you’ll need in order to find a job you’ll love (Of… Read more