Skip to content

Commit 30ab7f0

Browse files
authored
Merge pull request #6566 from rothja/perfcrosslinking
Adding cross linking to performance best practices article
2 parents c618b88 + 8251898 commit 30ab7f0

9 files changed

Lines changed: 39 additions & 43 deletions

docs/includes/sql-linux-quickstart-connect-query.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ The following steps create a new database named `TestDB`.
4343
GO
4444
```
4545

46+
> [!TIP]
47+
> To learn more about writing Transact-SQL statements and queries, see [Tutorial: Writing Transact-SQL Statements](../t-sql/tutorial-writing-transact-sql-statements.md).
48+
4649
### Insert data
4750

4851
Next create a new table, `Inventory`, and insert two new rows.
@@ -95,19 +98,33 @@ To end your **sqlcmd** session, type `QUIT`:
9598
QUIT
9699
```
97100

98-
## Connect from Windows
101+
## Performance best practices
102+
103+
After installing SQL Server on Linux, review the best practices for configuring Linux and SQL Server to improve performance for production scenarios. For more information, see [Performance best practices and configuration guidelines for SQL Server on Linux](../linux/sql-server-linux-performance-best-practices.md).
104+
105+
## Cross-platform data tools
106+
107+
In addition to **sqlcmd**, you can use the following cross-platform tools to manage SQL Server:
108+
109+
|||
110+
|---|---|
111+
| [SQL Server Operations Studio](../sql-operations-studio/index.md) | A cross-platform GUI database management utility. |
112+
| [mssql-cli](https://github.com/dbcli/mssql-cli/tree/master/doc) | A cross-platform command-line interface for running Transact-SQL commands. |
113+
| [Visual Studio Code](../linux/sql-server-linux-develop-use-vscode.md) | A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
114+
115+
## Connecting from Windows
99116

100117
SQL Server tools on Windows connect to SQL Server instances on Linux in the same way they would connect to any remote SQL Server instance.
101118

102119
If you have a Windows machine that can connect to your Linux machine, try the same steps in this topic from a Windows command-prompt running **sqlcmd**. Just verify that you use the target Linux machine name or IP address rather than localhost, and make sure that TCP port 1433 is open. If you have any problems connecting from Windows, see [connection troubleshooting recommendations](../linux/sql-server-linux-troubleshooting-guide.md#connection).
103120

104121
For other tools that run on Windows but connect to SQL Server on Linux, see:
105122

106-
- [SQL Server Management Studio (SSMS)](../linux/sql-server-linux-develop-use-ssms.md)
123+
- [SQL Server Management Studio (SSMS)](../linux/sql-server-linux-manage-ssms.md)
107124
- [Windows PowerShell](../linux/sql-server-linux-manage-powershell.md)
108125
- [SQL Server Data Tools (SSDT)](../linux/sql-server-linux-develop-use-ssdt.md)
109126

110-
## Additional resources
127+
## Other deployment scenarios
111128

112129
For other installation scenarios, see the following resources:
113130

@@ -118,17 +135,6 @@ For other installation scenarios, see the following resources:
118135
| [Unattended install](../linux/sql-server-linux-setup.md#unattended) | Learn how to script the installation without prompts |
119136
| [Offline install](../linux/sql-server-linux-setup.md#offline) | Learn how to manually download the packages for offline installation |
120137

121-
To explore other ways to connect and manage SQL Server, explore the following tools:
122-
123-
|||
124-
|---|---|
125-
| [Visual Studio Code](../linux/sql-server-linux-develop-use-vscode.md) | A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
126-
| [SQL Server Operations Studio](../sql-operations-studio/index.md) | A cross-platform GUI database management utility. |
127-
| [mssql-cli](https://github.com/dbcli/mssql-cli/tree/master/doc) | A cross-platform command-line interface for running Transact-SQL commands. |
128-
| [SQL Server Management Studio](../linux/sql-server-linux-develop-use-ssms.md) | A Windows-based GUI database management utility that can connect to and manage SQL Server instances on Linux. |
129-
130-
To learn more about writing Transact-SQL statements and queries, see [Tutorial: Writing Transact-SQL Statements](../t-sql/tutorial-writing-transact-sql-statements.md).
131-
132138
> [!TIP]
133139
> For answers to frequently asked questions, see the [SQL Server on Linux FAQ](../linux/sql-server-linux-faq.md).
134140

docs/linux/quickstart-install-connect-red-hat.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This quickstart shows how to install SQL Server 2017 on Red Hat En
44
author: rothja
55
ms.author: jroth
66
manager: craigg
7-
ms.date: 02/22/2018
7+
ms.date: 07/16/2018
88
ms.topic: conceptual
99
ms.prod: sql
1010
ms.technology: linux
@@ -108,12 +108,4 @@ To create a database, you need to connect with a tool that can run Transact-SQL
108108
source ~/.bashrc
109109
```
110110

111-
> [!TIP]
112-
> **Sqlcmd** is just one tool for connecting to SQL Server to run queries and perform management and development tasks. Other tools include:
113-
>
114-
> * [SQL Server Operations Studio (Preview)](../sql-operations-studio/what-is.md)
115-
> * [SQL Server Management Studio](sql-server-linux-manage-ssms.md)
116-
> * [Visual Studio Code](sql-server-linux-develop-use-vscode.md).
117-
> * [mssql-cli (Preview)](https://blogs.technet.microsoft.com/dataplatforminsider/2017/12/12/try-mssql-cli-a-new-interactive-command-line-tool-for-sql-server/)
118-
119111
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]

docs/linux/quickstart-install-connect-suse.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This quickstart shows how to install SQL Server 2017 on SUSE Linux
44
author: rothja
55
ms.author: jroth
66
manager: craigg
7-
ms.date: 02/22/2018
7+
ms.date: 07/16/2018
88
ms.topic: conceptual
99
ms.prod: sql
1010
ms.component: ""
@@ -112,12 +112,4 @@ To create a database, you need to connect with a tool that can run Transact-SQL
112112
source ~/.bashrc
113113
```
114114

115-
> [!TIP]
116-
> **Sqlcmd** is just one tool for connecting to SQL Server to run queries and perform management and development tasks. Other tools include:
117-
>
118-
> * [SQL Server Operations Studio (Preview)](../sql-operations-studio/what-is.md)
119-
> * [SQL Server Management Studio](sql-server-linux-manage-ssms.md)
120-
> * [Visual Studio Code](sql-server-linux-develop-use-vscode.md).
121-
> * [mssql-cli (Preview)](https://blogs.technet.microsoft.com/dataplatforminsider/2017/12/12/try-mssql-cli-a-new-interactive-command-line-tool-for-sql-server/)
122-
123115
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]

docs/linux/quickstart-install-connect-ubuntu.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This quickstart shows how to install SQL Server 2017 on Ubuntu and
44
author: rothja
55
ms.author: jroth
66
manager: craigg
7-
ms.date: 02/22/2018
7+
ms.date: 07/16/2018
88
ms.topic: conceptual
99
ms.prod: sql
1010
ms.component: ""
@@ -131,12 +131,4 @@ Use the following steps to install the **mssql-tools** on Ubuntu.
131131
source ~/.bashrc
132132
```
133133
134-
> [!TIP]
135-
> **Sqlcmd** is just one tool for connecting to SQL Server to run queries and perform management and development tasks. Other tools include:
136-
>
137-
> * [SQL Server Operations Studio (Preview)](../sql-operations-studio/what-is.md)
138-
> * [SQL Server Management Studio](sql-server-linux-manage-ssms.md)
139-
> * [Visual Studio Code](sql-server-linux-develop-use-vscode.md).
140-
> * [mssql-cli (Preview)](https://blogs.technet.microsoft.com/dataplatforminsider/2017/12/12/try-mssql-cli-a-new-interactive-command-line-tool-for-sql-server/)
141-
142134
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]

docs/linux/sql-server-linux-faq.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides answers to frequently asked questions about S
44
author: rothja
55
ms.author: jroth
66
manager: craigg
7-
ms.date: 03/22/2018
7+
ms.date: 07/17/2018
88
ms.topic: conceptual
99
ms.prod: sql
1010
ms.component: ""
@@ -85,6 +85,9 @@ The following sections provide common questions and answers for SQL Server runni
8585

8686
You can use [system dynamic management views (DMVs)](../relational-databases/system-dynamic-management-views/system-dynamic-management-views.md) to collect various types of information about SQL Server, including Linux process information. You can use [Query Store](../relational-databases/performance/monitoring-performance-by-using-the-query-store.md) to improve query performance. Other tools, such as the built-in [Performance Dashboard](https://blogs.msdn.microsoft.com/sql_server_team/new-in-ssms-performance-dashboard-built-in/), work remotely in SQL Server Management Studio (SSMS) from Windows.
8787

88+
> [!TIP]
89+
> One way to improve performance is to properly configure your Linux operating system and the SQL Server insance. For more information, see [Performance best practices and configuration guidelines for SQL Server on Linux](sql-server-linux-performance-best-practices.md).
90+
8891
## Administration
8992

9093
1. **Has Microsoft created an app like the SQL Server Configuration Manager on Linux?**

docs/linux/sql-server-linux-management-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ms.custom: "sql-linux"
2020
There are several ways to manage SQL Server 2017 on Linux. The following section provides a quick overview of different management tools and techniques with pointers to more resources.
2121

2222
## mssql-conf
23+
2324
The **mssql-conf** tool configures SQL Server on Linux. For more information, see [Configure SQL Server on Linux with mssql-conf](sql-server-linux-configure-mssql-conf.md).
2425

2526
## Transact-SQL

docs/linux/sql-server-linux-performance-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom: "sql-linux"
1313
ms.technology: linux
1414
---
1515

16-
# Performance best practices and configuration guidelines for SQL Server 2017 on Linux
16+
# Performance best practices and configuration guidelines for SQL Server on Linux
1717

1818
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-linuxonly](../includes/appliesto-ss-xxxx-xxxx-xxx-md-linuxonly.md)]
1919

docs/linux/sql-server-linux-setup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ You can install SQL Server on Linux from the command line. For instructions, see
8080
- [Run on Docker](quickstart-install-connect-docker.md)
8181
- [Provision a SQL VM in Azure](/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=%2fsql%2flinux%2ftoc.json)
8282

83+
After installing, consider making additional configuration changes for optimal performance. For more information, see [Performance best practices and configuration guidelines for SQL Server on Linux](sql-server-linux-performance-best-practices.md).
84+
8385
## <a id="upgrade"></a> Update SQL Server
8486

8587
To update the **mssql-server** package to the latest release, use one of the following commands based on your platform:

docs/linux/sql-server-linux-troubleshooting-guide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@ As a last resort, you can choose to rebuild the master and model databases back
188188
sudo systemctl start mssql-server
189189
```
190190
191+
## Improve performance
192+
193+
There are many factors that affect performance, including database design, hardware, and workload demands. If you are looking to improve performance, start by reviewing the best practices in the article, [Performance best practices and configuration guidelines for SQL Server on Linux](sql-server-linux-performance-best-practices.md). Then explore some of the avilable tools for troubleshooting performance problems.
194+
195+
- [Query Store](../relational-databases/performance/monitoring-performance-by-using-the-query-store.md)
196+
- [System dynamic management views (DMVs)](../relational-databases/system-dynamic-management-views/system-dynamic-management-views.md)
197+
- [Performance Dashboard in SQL Server Management Studio](https://blogs.msdn.microsoft.com/sql_server_team/new-in-ssms-performance-dashboard-built-in/)
198+
191199
## Common issues
192200
193201
1. You cannot connect to your remote SQL Server instance.

0 commit comments

Comments
 (0)