Skip to content

Commit 575817b

Browse files
authored
Merge pull request #115158 from MashaMSFT/move6
Move6
2 parents 7b96e3d + 4a792b3 commit 575817b

File tree

71 files changed

+241
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+241
-176
lines changed

.openpublishing.redirection.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52381,6 +52381,71 @@
5238152381
"source_path": "articles/sql-database/sql-database-elastic-scale-get-started.md",
5238252382
"redirect_url": "/azure/azure-sql/database/elastic-scale-get-started",
5238352383
"redirect_document_id": true
52384+
},
52385+
{
52386+
"source_path": "articles/sql-database/sql-database-elastic-scale-glossary.md",
52387+
"redirect_url": "/azure/azure-sql/database/elastic-scale-glossary",
52388+
"redirect_document_id": true
52389+
},
52390+
{
52391+
"source_path": "articles/sql-database/sql-database-elastic-scale-manage-credentials.md",
52392+
"redirect_url": "/azure/azure-sql/database/elastic-scale-manage-credentials",
52393+
"redirect_document_id": true
52394+
},
52395+
{
52396+
"source_path": "articles/sql-database/sql-database-elastic-scale-introduction.md",
52397+
"redirect_url": "/azure/azure-sql/database/elastic-scale-introduction",
52398+
"redirect_document_id": true
52399+
},
52400+
{
52401+
"source_path": "articles/sql-database/sql-database-elastic-scale-multishard-querying.md",
52402+
"redirect_url": "/azure/azure-sql/database/elastic-scale-multishard-querying",
52403+
"redirect_document_id": true
52404+
},
52405+
{
52406+
"source_path": "articles/sql-database/sql-database-elastic-scale-overview-split-and-merge.md",
52407+
"redirect_url": "/azure/azure-sql/database/elastic-scale-overview-split-and-merge",
52408+
"redirect_document_id": true
52409+
},
52410+
{
52411+
"source_path": "articles/sql-database/sql-database-elastic-scale-shard-map-management.md",
52412+
"redirect_url": "/azure/azure-sql/database/elastic-scale-shard-map-management",
52413+
"redirect_document_id": true
52414+
},
52415+
{
52416+
"source_path": "articles/sql-database/sql-database-elastic-scale-split-merge-security-configuration.md",
52417+
"redirect_url": "/azure/azure-sql/database/elastic-scale-split-merge-security-configuration",
52418+
"redirect_document_id": true
52419+
},
52420+
{
52421+
"source_path": "articles/sql-database/sql-database-elastic-scale-upgrade-client-library.md",
52422+
"redirect_url": "/azure/azure-sql/database/elastic-scale-upgrade-client-library",
52423+
"redirect_document_id": true
52424+
},
52425+
{
52426+
"source_path": "articles/sql-database/sql-database-elastic-scale-use-entity-framework-applications-visual-studio.md",
52427+
"redirect_url": "/azure/azure-sql/database/elastic-scale-use-entity-framework-applications-visual-studio",
52428+
"redirect_document_id": true
52429+
},
52430+
{
52431+
"source_path": "articles/sql-database/sql-database-elastic-scale-working-with-dapper.md",
52432+
"redirect_url": "/azure/azure-sql/database/elastic-scale-working-with-dapper",
52433+
"redirect_document_id": true
52434+
},
52435+
{
52436+
"source_path": "articles/sql-database/sql-database-elastic-transactions-overview.md",
52437+
"redirect_url": "/azure/azure-sql/database/elastic-transactions-overview",
52438+
"redirect_document_id": true
52439+
},
52440+
{
52441+
"source_path": "articles/sql-database/sql-database-export.md",
52442+
"redirect_url": "/azure/azure-sql/database/database-export",
52443+
"redirect_document_id": true
52444+
},
52445+
{
52446+
"source_path": "articles/sql-database/sql-database-file-space-management.md",
52447+
"redirect_url": "/azure/azure-sql/database/file-space-manage",
52448+
"redirect_document_id": true
5238452449
}
5238552450
]
5238652451
}

articles/azure-resource-manager/templates/template-tutorial-deploy-sql-extensions-bacpac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To complete this article, you need:
4040

4141
## Prepare a BACPAC file
4242

43-
A BACPAC file is shared in [GitHub](https://github.com/Azure/azure-docs-json-samples/raw/master/tutorial-sql-extension/SQLDatabaseExtension.bacpac). To create your own, see [Export an Azure SQL database to a BACPAC file](../../sql-database/sql-database-export.md). If you choose to publish the file to your own location, you must update the template later in the tutorial.
43+
A BACPAC file is shared in [GitHub](https://github.com/Azure/azure-docs-json-samples/raw/master/tutorial-sql-extension/SQLDatabaseExtension.bacpac). To create your own, see [Export an Azure SQL database to a BACPAC file](../../azure-sql/database/database-export.md). If you choose to publish the file to your own location, you must update the template later in the tutorial.
4444

4545
The BACPAC file must be stored in an Azure Storage account before it can be imported by using an ARM template. The following PowerShell script prepares the BACPAC file with these steps:
4646

articles/azure-sql/database/database-copy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,4 @@ The following errors can be encountered while copying a database in Azure SQL Da
189189
## Next steps
190190

191191
* For information about logins, see [Manage logins](../../sql-database/sql-database-manage-logins.md) and [How to manage Azure SQL Database security after disaster recovery](../../sql-database/sql-database-geo-replication-security-config.md).
192-
* To export a database, see [Export the database to a BACPAC](../../sql-database/sql-database-export.md).
192+
* To export a database, see [Export the database to a BACPAC](database-export.md).

articles/sql-database/sql-database-export.md renamed to articles/azure-sql/database/database-export.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When you need to export a database for archiving or for moving to another platfo
1818

1919
## Considerations
2020

21-
- 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](../azure-sql/database/database-copy.md) of your database.
21+
- 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.
2222
- 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.
2323
- Exporting a BACPAC file to Azure premium storage using the methods discussed in this article is not supported.
2424
- Storage behind a firewall is currently not supported.
@@ -29,28 +29,28 @@ When you need to export a database for archiving or for moving to another platfo
2929
- Use a [clustered index](https://msdn.microsoft.com/library/ms190457.aspx) with non-null values on all large tables. Without clustered indexes, an export may fail if it takes longer than 6-12 hours. This is because the export service needs to complete a table scan to try to export entire table. A good way to determine if your tables are optimized for export is to run **DBCC SHOW_STATISTICS** and make sure that the *RANGE_HI_KEY* is not null and its value has good distribution. For details, see [DBCC SHOW_STATISTICS](https://msdn.microsoft.com/library/ms174384.aspx).
3030

3131
> [!NOTE]
32-
> BACPACs are not intended to be used for backup and restore operations. Azure automatically creates backups for every user database. For details, see [business continuity overview](sql-database-business-continuity.md) and [SQL Database backups](sql-database-automated-backups.md).
32+
> BACPACs are not intended to be used for backup and restore operations. Azure automatically creates backups for every user database. For details, see [business continuity overview](../../sql-database/sql-database-business-continuity.md) and [SQL Database backups](../../sql-database/sql-database-automated-backups.md).
3333
3434
## Azure portal
3535

36-
Exporting a BACPAC of a database from an [Azure SQL Managed Instance](sql-database-managed-instance.md) using the Azure Portal is not currently supported. Use SQL Server Management Studio or SQLPackage instead.
36+
Exporting a BACPAC of a database from an [Azure SQL Managed Instance](../../sql-database/sql-database-managed-instance.md) using the Azure Portal is not currently supported. Use SQL Server Management Studio or SQLPackage instead.
3737

3838
> [!NOTE]
3939
> Machines processing import/export requests submitted through the Azure portal or PowerShell need to store the BACPAC file as well as temporary files generated by the Data-Tier Application Framework (DacFX). The disk space required varies significantly among databases with the same size and can require disk space up to 3 times the size of the database. Machines running the import/export request only have 450GB local disk space. As a result, some requests may fail with the error `There is not enough space on the disk`. In this case, the workaround is to run sqlpackage.exe on a machine with enough local disk space. We encourage using [SqlPackage](#sqlpackage-utility) to import/export databases larger than 150GB to avoid this issue.
4040
4141
1. To export a database using the [Azure portal](https://portal.azure.com), open the page for your database and click **Export** on the toolbar.
4242

43-
![Database export](./media/sql-database-export/database-export1.png)
43+
![Database export](./media/database-export/database-export1.png)
4444

4545
2. Specify the BACPAC filename, select an existing Azure storage account and container for the export, and then provide the appropriate credentials for access to the source database. A SQL **Server admin login** is needed here even if you are the Azure admin, as being an Azure admin does not equate to having admin permissions in Azure SQL Database or Azure SQL Managed Instance.
4646

47-
![Database export](./media/sql-database-export/database-export2.png)
47+
![Database export](./media/database-export/database-export2.png)
4848

4949
3. Click **OK**.
5050

5151
4. To monitor the progress of the export operation, open the page for the server containing the database being exported. Under to **Settings** and then click **Import/Export history**.
5252

53-
![export history](./media/sql-database-export/export-history.png)
53+
![export history](./media/database-export/export-history.png)
5454

5555
## SQLPackage utility
5656

@@ -71,7 +71,7 @@ The newest versions of SQL Server Management Studio provide a wizard to export a
7171
## PowerShell
7272

7373
> [!NOTE]
74-
> [Azure SQL Managed Instance](sql-database-managed-instance.md) does not currently support exporting a database to a BACPAC file using Azure PowerShell. To export a managed instance into a BACPAC file, use SQL Server Management Studio or SQLPackage.
74+
> [Azure SQL Managed Instance](../../sql-database/sql-database-managed-instance.md) does not currently support exporting a database to a BACPAC file using Azure PowerShell. To export a managed instance into a BACPAC file, use SQL Server Management Studio or SQLPackage.
7575
7676
Use the [New-AzSqlDatabaseExport](/powershell/module/az.sql/new-azsqldatabaseexport) cmdlet to submit an export database request to the Azure SQL Database service. Depending on the size of your database, the export operation may take some time to complete.
7777

@@ -98,10 +98,10 @@ $exportStatus
9898

9999
## Next steps
100100

101-
- To learn about long-term backup retention of a single databases and pooled databases as an alternative to exported a database for archive purposes, see [Long-term backup retention](sql-database-long-term-retention.md). You can use SQL Agent jobs to schedule [copy-only database backups](https://docs.microsoft.com/sql/relational-databases/backup-restore/copy-only-backups-sql-server) as an alternative to long-term backup retention.
101+
- To learn about long-term backup retention of a single databases and pooled databases as an alternative to exported a database for archive purposes, see [Long-term backup retention](../../sql-database/sql-database-long-term-retention.md). You can use SQL Agent jobs to schedule [copy-only database backups](https://docs.microsoft.com/sql/relational-databases/backup-restore/copy-only-backups-sql-server) as an alternative to long-term backup retention.
102102
- 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://blogs.msdn.microsoft.com/sqlcat/2016/10/20/migrating-from-sql-server-to-azure-sql-database-using-bacpac-files/).
103103
- To learn about importing a BACPAC to a SQL Server database, see [Import a BACPAC to a SQL Server database](https://msdn.microsoft.com/library/hh710052.aspx).
104104
- To learn about exporting a BACPAC from a SQL Server database, see [Export a Data-tier Application](https://docs.microsoft.com/sql/relational-databases/data-tier-applications/export-a-data-tier-application)
105-
- To learn about using the Data Migration Service to migrate a database, see [Migrate SQL Server to Azure SQL Database offline using DMS](../dms/tutorial-sql-server-to-azure-sql.md).
106-
- If you are exporting from SQL Server as a prelude to migration to Azure SQL Database, see [Migrate a SQL Server database to Azure SQL Database](sql-database-single-database-migrate.md).
105+
- To learn about using the Data Migration Service to migrate a database, see [Migrate SQL Server to Azure SQL Database offline using DMS](../../dms/tutorial-sql-server-to-azure-sql.md).
106+
- If you are exporting from SQL Server as a prelude to migration to Azure SQL Database, see [Migrate a SQL Server database to Azure SQL Database](../../sql-database/sql-database-single-database-migrate.md).
107107
- To learn how to manage and share storage keys and shared access signatures securely, see [Azure Storage Security Guide](https://docs.microsoft.com/azure/storage/common/storage-security-guide).

articles/azure-sql/database/elastic-convert-to-use-elastic-tools.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ ms.date: 01/25/2019
1515
---
1616
# Migrate existing databases to scale out
1717

18-
Easily manage your existing scaled-out sharded databases using tools (such as the [Elastic Database client library](elastic-database-client-library.md)). First convert an existing set of databases to use the [shard map manager](../../sql-database/sql-database-elastic-scale-shard-map-management.md).
18+
Easily manage your existing scaled-out sharded databases using tools (such as the [Elastic Database client library](elastic-database-client-library.md)). First convert an existing set of databases to use the [shard map manager](elastic-scale-shard-map-management.md).
1919

2020
## Overview
2121

2222
To migrate an existing sharded database:
2323

24-
1. Prepare the [shard map manager database](../../sql-database/sql-database-elastic-scale-shard-map-management.md).
24+
1. Prepare the [shard map manager database](elastic-scale-shard-map-management.md).
2525
2. Create the shard map.
2626
3. Prepare the individual shards.
2727
4. Add mappings to the shard map.
2828

2929
These techniques can be implemented using either the [.NET Framework client library](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Client/), or the PowerShell scripts found at [Azure SQL Database - Elastic Database tools scripts](https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-DB-Elastic-731883db). The examples here use the PowerShell scripts.
3030

31-
For more information about the ShardMapManager, see [Shard map management](../../sql-database/sql-database-elastic-scale-shard-map-management.md). For an overview of the elastic database tools, see [Elastic Database features overview](../../sql-database/sql-database-elastic-scale-introduction.md).
31+
For more information about the ShardMapManager, see [Shard map management](elastic-scale-shard-map-management.md). For an overview of the elastic database tools, see [Elastic Database features overview](elastic-scale-introduction.md).
3232

3333
## Prepare the shard map manager database
3434

@@ -57,7 +57,7 @@ $ShardMapManager = Get-ShardMapManager -UserName '<user_name>' -Password '<passw
5757

5858
Select the type of shard map to create. The choice depends on the database architecture:
5959

60-
1. Single tenant per database (For terms, see the [glossary](../../sql-database/sql-database-elastic-scale-glossary.md).)
60+
1. Single tenant per database (For terms, see the [glossary](elastic-scale-glossary.md).)
6161
2. Multiple tenants per database (two types):
6262
1. List mapping
6363
2. Range mapping
@@ -146,7 +146,7 @@ Get-Mappings -ShardMap $ShardMap
146146

147147
## Summary
148148

149-
Once you have completed the setup, you can begin to use the Elastic Database client library. You can also use [data-dependent routing](elastic-scale-data-dependent-routing.md) and [multi-shard query](../../sql-database/sql-database-elastic-scale-multishard-querying.md).
149+
Once you have completed the setup, you can begin to use the Elastic Database client library. You can also use [data-dependent routing](elastic-scale-data-dependent-routing.md) and [multi-shard query](elastic-scale-multishard-querying.md).
150150

151151
## Next steps
152152

0 commit comments

Comments
 (0)