Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 2b44477

Browse files
committed
updates for troubleshooting IE with sqlpackage
1 parent d0b3489 commit 2b44477

4 files changed

Lines changed: 19 additions & 8 deletions

File tree

azure-sql/database/database-export.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ When you need to export a database for archiving or for moving to another platfo
2727
## Considerations
2828

2929
- For an export to be transactionally consistent, you must ensure either that no write activity is occurring during the export, or that you are exporting from a [transactionally consistent copy](database-copy.md) of your database.
30-
- If you are exporting to blob storage, the maximum size of a BACPAC file is 200 GB. To archive a larger BACPAC file, export to local storage.
30+
- If you are exporting to blob storage, the maximum size of a BACPAC file is 200 GB. To archive a larger BACPAC file, export to local storage with SqlPackage.exe.
3131
- Exporting a BACPAC file to Azure premium storage using the methods discussed in this article is not supported.
3232
- Storage behind a firewall is currently not supported.
3333
- Immutable storage is currently not supported.
@@ -69,14 +69,18 @@ Exporting a BACPAC of a database from [Azure SQL Managed Instance](../managed-in
6969

7070
We recommend the use of the SQLPackage utility for scale and performance in most production environments. You can run multiple sqlpackage.exe commands in parallel for subsets of tables to speed up import/export operations.
7171

72-
To export a database in SQL Database using the [SQLPackage](/sql/tools/sqlpackage) command-line utility, see [Export parameters and properties](/sql/tools/sqlpackage#export-parameters-and-properties). The SQLPackage utility ships with the latest versions of [SQL Server Management Studio](/sql/ssms/download-sql-server-management-studio-ssms) and [SQL Server Data Tools for Visual Studio](/sql/ssdt/download-sql-server-data-tools-ssdt), or you can download the latest version of [SQLPackage](/sql/tools/sqlpackage/sqlpackage-download) directly from the Microsoft download center.
72+
To export a database in SQL Database using the [SQLPackage](/sql/tools/sqlpackage) command-line utility, see [Export parameters and properties](/sql/tools/sqlpackage#export-parameters-and-properties). The [SQLPackage](/sql/tools/sqlpackage/sqlpackage-download) utility is available for Windows, macOS, and Linux.
7373

7474
This example shows how to export a database using sqlpackage.exe with Active Directory Universal Authentication:
7575

7676
```cmd
7777
sqlpackage.exe /a:Export /tf:testExport.BACPAC /scs:"Data Source=apptestserver.database.windows.net;Initial Catalog=MyDB;" /ua:True /tid:"apptest.onmicrosoft.com"
7878
```
7979

80+
## Azure Data Studio
81+
82+
[Azure Data Studio](/sql/azure-data-studio) is a free, open-source tool and is available for Windows, Mac, and Linux. The "SQL Server dacpac" extension provides a wizard interface to SqlPackage operations including export and import. See the extension's [documentation page](/sql/azure-data-studio/extensions/sql-server-dacpac-extension) for more information on installing and using the extension.
83+
8084
## SQL Server Management Studio (SSMS)
8185

8286
The newest versions of SQL Server Management Studio provide a wizard to export a database in Azure SQL Database or a SQL Managed Instance database to a BACPAC file. See the [Export a Data-tier Application](/sql/relational-databases/data-tier-applications/export-a-data-tier-application).

azure-sql/database/database-import-export-hang.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ The import and export operations don't represent a traditional physical database
3131

3232
The Azure SQL Database Import/Export service provides a limited number of compute virtual machines (VMs) per region to process import and export operations. The compute VMs are hosted per region to make sure that the import or export avoids cross-region bandwidth delays and charges. If too many requests are made at the same time in the same region, significant delays can occur in processing the operations. The time that's required to complete requests can vary from a few seconds to many hours.
3333

34+
Additionally, as the Import/Export service performs a logical backup of the database the time to complete is more dependent on the number of objects in the database than a traditional physical database backup.
35+
3436

3537
## Recommended solutions
3638

3739
If your database exports are used only for recovery from accidental data deletion, all the Azure SQL Database editions provide self-service restoration capability from system-generated backups. But if you need these exports for other reasons, and if you require consistently faster or more predictable import/export performance, consider the following options:
3840

3941
* [Export to a BACPAC file by using the SQLPackage utility](./database-export.md#sqlpackage-utility).
42+
* [Export to a BACPAC file by using Azure Data Studio](./database-export.md#azure-data-studio).
4043
* [Export to a BACPAC file by using SQL Server Management Studio (SSMS)](./database-export.md#sql-server-management-studio-ssms).
4144
* Run the BACPAC import or export directly in your code by using the Microsoft SQL Server Data-Tier Application Framework (DacFx) API. For additional information, see:
4245
* [Export a data-tier application](/sql/relational-databases/data-tier-applications/export-a-data-tier-application)
4346
* [Microsoft.SqlServer.Dac Namespace](/dotnet/api/microsoft.sqlserver.dac)
44-
* [Download DACFx](https://www.microsoft.com/download/details.aspx?id=55713)
4547

4648
## Things to consider when you export or import a database
4749

azure-sql/database/database-import.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To migrate a database into an [Azure SQL Managed Instance](../managed-instance/s
6464

6565
## Using SqlPackage
6666

67-
To import a SQL Server database using the [SqlPackage](/sql/tools/sqlpackage) command-line utility, see [import parameters and properties](/sql/tools/sqlpackage#import-parameters-and-properties). [SQL Server Management Studio](/sql/ssms/download-sql-server-management-studio-ssms) and [SQL Server Data Tools for Visual Studio](/sql/ssdt/download-sql-server-data-tools-ssdt) include SqlPackage. You can also download the latest [SqlPackage](https://www.microsoft.com/download/details.aspx?id=53876) from the Microsoft download center.
67+
To import a SQL Server database using the [SqlPackage](/sql/tools/sqlpackage) command-line utility, see [import parameters and properties](/sql/tools/sqlpackage/sqlpackage-import). You can download the latest [SqlPackage](/sql/tools/sqlpackage/sqlpackage-download) for Windows, macOS, or Linux.
6868

6969
For scale and performance, we recommend using SqlPackage in most production environments rather than using the Azure portal. For a SQL Server Customer Advisory Team blog about migrating using `BACPAC` files, see [migrating from SQL Server to Azure SQL Database using BACPAC Files](/archive/blogs/sqlcat/migrating-from-sql-server-to-azure-sql-database-using-bacpac-files).
7070

@@ -85,6 +85,10 @@ This example shows how to import a database using SqlPackage with Active Directo
8585
sqlpackage.exe /a:Import /sf:testExport.bacpac /tdn:NewDacFX /tsn:apptestserver.database.windows.net /ua:True /tid:"apptest.onmicrosoft.com"
8686
```
8787

88+
## Azure Data Studio
89+
90+
[Azure Data Studio](/sql/azure-data-studio) is a free, open-source tool and is available for Windows, Mac, and Linux. The "SQL Server dacpac" extension provides a wizard interface to SqlPackage operations including export and import. See the extension's [documentation page](/sql/azure-data-studio/extensions/sql-server-dacpac-extension) for more information on installing and using the extension.
91+
8892
## Using PowerShell
8993

9094
> [!NOTE]
@@ -160,12 +164,12 @@ Stop-AzSqlDatabaseActivity -ResourceGroupName $ResourceGroupName -ServerName $Se
160164
## Limitations
161165

162166
- Importing to a database in elastic pool isn't supported. You can import data into a single database and then move the database to an elastic pool.
163-
- Import Export Service does not work when Allow access to Azure services is set to OFF. However you can work around the problem by manually running sqlpackage.exe from an Azure VM or performing the export directly in your code by using the DACFx API.
167+
- Import Export Service does not work when Allow access to Azure services is set to OFF. However you can work around the problem by manually running sqlpackage.exe from an Azure VM or performing the export directly in your code by using the DacFx API.
164168
- Import does not support specifying a backup storage redundancy while creating a new database and creates with the default geo-redundant backup storage redundancy. To workaround, first create an empty database with desired backup storage redundancy using Azure portal or PowerShell and then import the BACPAC into this empty database.
165169
- Storage behind a firewall is currently not supported.
166170

167171

168-
## Import using wizards
172+
## Additional tools
169173

170174
You can also use these wizards.
171175

@@ -174,6 +178,7 @@ You can also use these wizards.
174178

175179
## Next steps
176180

181+
- To learn how to connect to and query Azure SQL Database from Azure Data Studio, see [Quickstart: Use Azure Data Studio to connect and query Azure SQL Database](/sql/azure-data-studio/quickstart-sql-database).
177182
- To learn how to connect to and query a database in Azure SQL Database, see [Quickstart: Azure SQL Database: Use SQL Server Management Studio to connect to and query data](connect-query-ssms.md).
178183
- For a SQL Server Customer Advisory Team blog about migrating using BACPAC files, see [Migrating from SQL Server to Azure SQL Database using BACPAC Files](https://techcommunity.microsoft.com/t5/DataCAT/Migrating-from-SQL-Server-to-Azure-SQL-Database-using-Bacpac/ba-p/305407).
179184
- For a discussion of the entire SQL Server database migration process, including performance recommendations, see [SQL Server database migration to Azure SQL Database](migrate-to-database-from-sql-server.md).

docs/azure-data-studio/quickstart-sql-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Connect and query an Azure SQL database
2+
title: Connect and query an Azure SQL Database
33
description: Do a quickstart in which you use Azure Data Studio to connect to an Azure SQL Database server, and then create and query a database.
44
ms.prod: azure-data-studio
55
ms.technology: azure-data-studio
@@ -14,7 +14,7 @@ ms.custom:
1414
- intro-quickstart
1515
ms.date: 05/14/2019
1616
---
17-
# Quickstart: Use Azure Data Studio to connect and query Azure SQL database
17+
# Quickstart: Use Azure Data Studio to connect and query Azure SQL Database
1818

1919
In this quickstart, you'll use Azure Data Studio to connect to an Azure SQL Database server. You'll then run Transact-SQL (T-SQL) statements to create and query the TutorialDB database, which is used in other Azure Data Studio tutorials.
2020

0 commit comments

Comments
 (0)