Try one of our new MySQL candidate screening tests at Kandio!

Continuing our new partnership with Kandio, we now have MySQL assessments for you to try!

We’ve been involved in a lot of recruiting processes for our clients and realized we could save everyone time and money by pre-screening candidates. To that end, we’ve teamed up with Kandio to publish exclusive candidate and skill assessments for SQL Server and other database products.

We encourage you to try out our two screening assessments for MySQL for free – test your own SQL skills – and you’ll get the results by email in 24 hours to see if you’d make it to the job interview! :-)

The free trial period will run for about a week.

MySQL Database Administrator Assessment (description here)

MySQL Server Database Developer Assessment (description here)

Enjoy!

The Curious Case of… extent scan fragmentation

(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us encountered when working with a client, doing some testing, or were asked in a random question from the community.)

There was a Twitter #sqlhelp question this week about whether to be concerned about extent scan fragmentation or logical scan fragmentation when using DBCC SHOWCONTIG.

The real answer is to stop using DBCC SHOWCONTIG as it was deprecated with the release of SQL Server 2005, and use sys.dm_db_index_physical_stats, the replacement DMV I designed, instead.

The new DMV doesn’t report extent scan fragmentation because it doesn’t have to. If you think about it, extent scan fragmentation is a measure of how many times a key-order scan of the leaf level of the index moves from an extent to another extent which isn’t the next physically-contiguous extent. Logical fragmentation is a measure of how many times a key-order scan of the leaf level of the index moves from a page to another page which isn’t the next physically-contiguous page. So extent scan fragmentation is actually part of logical fragmentation, which is why the new DMV doesn’t report it.

Back to the original question: use logical scan fragmentation if you’re still using the old DBCC command, but plan to move to the DMV.

And there’s another reason: extent scan fragmentation in DBCC SHOWCONTIG is documented as not being accurate if the index is on a filegroup with multiple files. It’s been that way since it was originally written for SQL Server 7.0 and we decided not to fix it in SQL Server 2000 or later.

Try one of our new candidate screening tests at Kandio!

We’re excited to announce that we have a new partnership!

We’ve been involved in a lot of recruiting processes for our clients and realized we could save everyone time and money by pre-screening candidates. To that end, we’ve teamed up with Kandio to publish exclusive candidate and skill assessments for SQL Server and other database products.

We encourage you to try out our first two screening assessments for SQL Server for free – test your own SQL skills – and you’ll get the results by email in 24 hours to see if you’d make it to the job interview! :-)

Edit: 4/30/2020 The trial period for these tests is over now.

MS SQL Server Database Administrator Assessment (description here)

  • Edit: 4/30/2020 link and password removed
MS SQL Server Database Developer Assessment (description here)
  • Edit: 4/30/2020 link and password removed
 Enjoy!