SQLServer 2016 – HashBytes MD5 Deprecated?

I found this information in SQL Server 2016 documentation.

Beginning with SQL Server 2016, all algorithms other than SHA2_256, and SHA2_512 are deprecated. Older algorithms (not recommended) will continue working, but they will raise a deprecation event.

Would using this have a performance impact? Would you recommend using either of the supported algorithms as a DV standard?

One Response to “SQLServer 2016 – HashBytes MD5 Deprecated?”

  1. Dan Linstedt 2017/11/10 at 4:21 am #

    Answer: YES. This particular change to Hashes in SQLServer 2016 WILL impact performance in a negative fashion. Not just for loading but for querying.

    In reality, we truly WANT to leverage Business Keys. Sadly, SQLServer does not “hash bucket” the business keys for partitioning under the covers. Teradata, SAP Hana, Kudu, and Hive are all capable of hashing by Business Key. So, I will look deeper at this function in an attempt to find a better solution.

Comment on this FAQ