%3CLINGO-SUB%20id%3D%22lingo-sub-1303573%22%20slang%3D%22en-US%22%3ESQL%20Server%202017%20adds%20support%20for%20Red%20Hat%20Enterprise%20Linux%208%20and%20Ubuntu%2018.04%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1303573%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3ESQL%20Server%20team%20has%20been%20adding%20support%20for%20%22%3CEM%3Ecurrent%3C%2FEM%3E%22%20Linux%20distributions%20at%20fast%20clip%20last%20few%20months.%20The%20team%20announced%20support%20for%20RHEL%208%20and%20Ubuntu%2018.04%20for%20SQL%20Server%202019%20over%20last%20quarter.%20The%20team%20is%20happy%20to%20announce%20that%20SQL%20Server%202017%20has%20now%20added%20support%20for%20Red%20Hat%20Enterprise%20Linux%20(RHEL)%208%20and%20Ubuntu%2018.04.%20You%20can%20refer%20to%20following%20links%20for%20additional%20information.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fsql-server-linux-release-notes%3Fview%3Dsql-server-ver15%23CU20%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fsql-server-linux-release-notes%3Fview%3Dsql-server-ver15%23CU20%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fquickstart-install-connect-red-hat%3Fview%3Dsql-server-linux-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fquickstart-install-connect-red-hat%3Fview%3Dsql-server-linux-2017%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fquickstart-install-connect-ubuntu%3Fview%3Dsql-server-linux-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Flinux%2Fquickstart-install-connect-ubuntu%3Fview%3Dsql-server-linux-2017%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1359113684%22%20id%3D%22toc-hId--1359087767%22%3E%3CSPAN%3EPerformance%20Improvement%20Updates%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EAs%20one%20may%20have%20worked%20with%20SQL%20Server%20on%20Linux%2C%20they%20may%20have%20introduced%20to%20certain%20storage%20and%20IO%20flush%20related%20configurations%20due%20to%20unavailability%20of%20FUA%20(Forced%20Unit%20Access)%20functionality%20in%20user%20mode%20of%20Linux%20ecosystem.%20You%20can%20read%20extremely%20good%20technical%20details%20at%20following%20blog%20written%20by%20Bob%20Dorr%2C%20a%20lead%20in%20SQL%20Server%20product%20group.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fbobsql.com%2Fsql-server-on-linux-forced-unit-access-fua-internals%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fbobsql.com%2Fsql-server-on-linux-forced-unit-access-fua-internals%2F%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20see%20the%20%E2%80%9CSafety%20and%20Performance%E2%80%9D%20section%20in%20the%20blog%2C%20it%20outlines%20the%20various%20configurations%20you%20can%20have%20depending%20on%20kernel%20version%20and%20storage%20capabilities.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWe%20are%20glad%20to%20say%20that%20Red%20Hat%20engineering%20team%20have%20introduced%20the%20FUA%20capability%20in%20user%20mode%20for%20XFS%20filesystem%20starting%20with%20RHEL%208.%20This%20means%20for%20SQL%20Server%202017%20on%20RHEL%208%2C%20recommended%20configuration%20is%20following.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20using%20XFS%20filesystem%3C%2FSPAN%3E%20%3CSPAN%3Ewith%20FUA-capable%20storage%20for%20database%20files%20then%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EEnable%20trace%20flag%203979%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ESet%20control.writethrough%20(a%20mssql-conf%20configuration%20option)%20to%201.%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ESet%20control.alternatewritethrough%20(a%20mssql-conf%20configuration%20option)%20to%200.%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOf%20course%2C%20if%20EXT4%20filesystem%20is%20in%20use%20then%20the%20blog%20should%20be%20reviewed%20thoroughly%20to%20see%20how%20to%20get%20best%20performance%20based%20on%20underlying%20storage%20configuration.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWe%20hope%20you%20give%20SQL%20Server%202017%20on%20Red%20Hat%208%20try%20and%20let%20us%20know%20what%20you%20think.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EMike%20Habben%20(Principal%20Software%20Engineering%20Manager)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EVin%20Yu%20(Senior%20Program%20Manager)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETejas%20Shah%20(Principal%20Program%20Manager)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1303573%22%20slang%3D%22en-US%22%3E%3CP%3ESQL%20Server%202017%20adds%20support%20for%20Red%20Hat%20Enterprise%20Linux%208%20and%20Ubuntu%2018.04%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1303573%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerTiger%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

SQL Server team has been adding support for "current" Linux distributions at fast clip last few months. The team announced support for RHEL 8 and Ubuntu 18.04 for SQL Server 2019 over last quarter. The team is happy to announce that SQL Server 2017 has now added support for Red Hat Enterprise Linux (RHEL) 8 and Ubuntu 18.04. You can refer to following links for additional information.

 

https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes?view=sql-server-ver15#CU20

 

https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-linux-...

 

https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2...

 

Performance Improvement Updates

As one may have worked with SQL Server on Linux, they may have introduced to certain storage and IO flush related configurations due to unavailability of FUA (Forced Unit Access) functionality in user mode of Linux ecosystem. You can read extremely good technical details at following blog written by Bob Dorr, a lead in SQL Server product group.

https://bobsql.com/sql-server-on-linux-forced-unit-access-fua-internals/

 

If you see the “Safety and Performance” section in the blog, it outlines the various configurations you can have depending on kernel version and storage capabilities.

 

We are glad to say that Red Hat engineering team have introduced the FUA capability in user mode for XFS filesystem starting with RHEL 8. This means for SQL Server 2017 on RHEL 8, recommended configuration is following.

 

If using XFS filesystem with FUA-capable storage for database files then,

  • Enable trace flag 3979
  • Set control.writethrough (a mssql-conf configuration option) to 1.
  • Set control.alternatewritethrough (a mssql-conf configuration option) to 0.

 

Of course, if EXT4 filesystem is in use then the blog should be reviewed thoroughly to see how to get best performance based on underlying storage configuration.

 

We hope you give SQL Server 2017 on Red Hat 8 try and let us know what you think.

Thanks!

Mike Habben (Principal Software Engineering Manager)

Vin Yu (Senior Program Manager)

Tejas Shah (Principal Program Manager)