How to fix query optimizer for better performance
This article helps to understand when to turn on the query optimiser fixes for better performance starting from SQL Server 2016
Use the below simple script to check the SQL service status in Linux environment
systemctl status mssql-server — no-pager | grep -e Active
Below syntax would give detailed summary for SQL Server status & uptime
systemctl status mssql-server — no-pager