You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/includes/sql-linux-quickstart-connect-query.md
+20-14Lines changed: 20 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,9 @@ The following steps create a new database named `TestDB`.
43
43
GO
44
44
```
45
45
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
+
46
49
### Insert data
47
50
48
51
Next create a new table, `Inventory`, and insert two new rows.
@@ -95,19 +98,33 @@ To end your **sqlcmd** session, type `QUIT`:
95
98
QUIT
96
99
```
97
100
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
99
116
100
117
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.
101
118
102
119
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).
103
120
104
121
For other tools that run on Windows but connect to SQL Server on Linux, see:
105
122
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)
-[SQL Server Data Tools (SSDT)](../linux/sql-server-linux-develop-use-ssdt.md)
109
126
110
-
## Additional resources
127
+
## Other deployment scenarios
111
128
112
129
For other installation scenarios, see the following resources:
113
130
@@ -118,17 +135,6 @@ For other installation scenarios, see the following resources:
118
135
|[Unattended install](../linux/sql-server-linux-setup.md#unattended)| Learn how to script the installation without prompts |
119
136
|[Offline install](../linux/sql-server-linux-setup.md#offline)| Learn how to manually download the packages for offline installation |
120
137
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
-
132
138
> [!TIP]
133
139
> For answers to frequently asked questions, see the [SQL Server on Linux FAQ](../linux/sql-server-linux-faq.md).
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-faq.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: This article provides answers to frequently asked questions about S
4
4
author: rothja
5
5
ms.author: jroth
6
6
manager: craigg
7
-
ms.date: 03/22/2018
7
+
ms.date: 07/17/2018
8
8
ms.topic: conceptual
9
9
ms.prod: sql
10
10
ms.component: ""
@@ -85,6 +85,9 @@ The following sections provide common questions and answers for SQL Server runni
85
85
86
86
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.
87
87
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
+
88
91
## Administration
89
92
90
93
1.**Has Microsoft created an app like the SQL Server Configuration Manager on Linux?**
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-management-overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ ms.custom: "sql-linux"
20
20
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.
21
21
22
22
## mssql-conf
23
+
23
24
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).
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-setup.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,8 @@ You can install SQL Server on Linux from the command line. For instructions, see
80
80
-[Run on Docker](quickstart-install-connect-docker.md)
81
81
-[Provision a SQL VM in Azure](/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=%2fsql%2flinux%2ftoc.json)
82
82
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
+
83
85
## <aid="upgrade"></a> Update SQL Server
84
86
85
87
To update the **mssql-server** package to the latest release, use one of the following commands based on your platform:
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-troubleshooting-guide.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,14 @@ As a last resort, you can choose to rebuild the master and model databases back
188
188
sudo systemctl start mssql-server
189
189
```
190
190
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.
- [Performance Dashboard in SQL Server Management Studio](https://blogs.msdn.microsoft.com/sql_server_team/new-in-ssms-performance-dashboard-built-in/)
198
+
191
199
## Common issues
192
200
193
201
1. You cannot connect to your remote SQL Server instance.
0 commit comments