Skip to content

Commit 0712b3f

Browse files
committed
Updates
1 parent e351128 commit 0712b3f

13 files changed

Lines changed: 100 additions & 227 deletions

File tree

learn-pr/azure/intro-to-azure-database-for-mysql/includes/2-what-is-azure-database-for-mysql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Azure Database for MySQL is a fully managed, relational DBaaS platform hosted in
5050

5151
These standard features require little administrative effort to implement and configure.
5252

53-
Azure Database for MySQL supports common tools like MySQL Workbench, and it integrates with Azure Data Studio through the [MySQL extension](/azure-data-studio/extensions/mysql-extension), maintaining a familiar workflow for developers. The service provides you with the flexibility to develop applications using your favorite tools, languages, and frameworks, to deploy faster by integrating with Azure services like App Services or AKS, and to automate CI/CD tasks using GitHub or Azure DevOps.
53+
Azure Database for MySQL supports common tools like MySQL Workbench, maintaining a familiar workflow for developers. The service provides you with the flexibility to develop applications using your favorite tools, languages, and frameworks, to deploy faster by integrating with Azure services like App Services or AKS, and to automate CI/CD tasks using GitHub or Azure DevOps.
5454

5555
Consider this deployment mode to support cloud-native apps and solutions that:
5656

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.migrate-azure-database-postgresql-flexible-server.knowledge-check
3-
title: Module assessment
4-
metadata:
5-
title: Module assessment
6-
description: "Knowledge check"
7-
ms.date: 05/10/2024
8-
author: wwlpublish
9-
ms.author: rcaper
10-
ms.topic: unit
11-
ms.custom:
12-
- N/A
13-
module_assessment: true
14-
durationInMinutes: 4
15-
content: |
16-
[!include[](includes/7-knowledge-check.md)]
17-
quiz:
18-
title: "Check your knowledge"
19-
questions:
20-
- content: "A PostgreSQL database server at version 11.22 needs an online migration to Azure Database for PostgreSQL - Flexible Server running PostgreSQL version 14. Which tools or services can be used to perform this migration?"
21-
choices:
22-
- content: "Azure Database for PostgreSQL Flexible Server Migration."
23-
isCorrect: false
24-
explanation: "Incorrect. Currently DMS is the only option to provide an Online migration option, the Flexible Server Migration option is for offline migrations."
25-
- content: "pg_dump and pg_restore."
26-
isCorrect: false
27-
explanation: "Incorrect. Using these native tools mean you need to perform an offline migration as it doesn't sync changes."
28-
- content: "Database Migration Service."
29-
isCorrect: true
30-
explanation: "Correct. DMS Provides the facility for an Online database migration for PostgreSQL databases."
31-
- content: "An offline migration is being performed from an existing PostgreSQL server to Azure Database for PostgreSQL - Flexible Server. To transfer server-level roles from the source to the target, which combination of tools should be used?"
32-
choices:
33-
- content: "pg_dumpall, psql, and Azure Database for PostgreSQL - Flexible Server Migration."
34-
isCorrect: true
35-
explanation: "Correct. The process is to first transfer server scoped objects such as roles, then use the Migration feature within **PostgreSQL Flexible Server** to move the schema and data."
36-
- content: "pg_dump and pg_restore."
37-
isCorrect: false
38-
explanation: "Incorrect. While this can be used to migrate a database, it's missing the pg_dumpall process."
39-
- content: "psql and Database Migration Service."
40-
isCorrect: false
41-
explanation: "Incorrect. DMS doesn't provide an offline migration option for PostgreSQL databases."
42-
- content: "Before performing a database migration from a source PostgreSQL server to a target, it's necessary to assess whether there are any blockers. Which tool should be used for this assessment?"
43-
choices:
44-
- content: "Database Migration Service."
45-
isCorrect: false
46-
explanation: "Incorrect. DMS migrates databases but doesn't provide an assessment capability."
47-
- content: "pg_dumpall."
48-
isCorrect: false
49-
explanation: "Incorrect. This is used to export server config and databases to a file."
50-
- content: "Azure Data Studio with Azure PostgreSQL migration extension."
51-
isCorrect: true
52-
explanation: "Correct. There's a dedicated extension in ADS, which allows you to generate a rich report on potential migration blockers for PostgreSQL databases."
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.migrate-azure-database-postgresql-flexible-server.knowledge-check
3+
title: Module assessment
4+
metadata:
5+
title: Module assessment
6+
description: "Knowledge check"
7+
ms.date: 05/10/2024
8+
author: wwlpublish
9+
ms.author: rcaper
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
module_assessment: true
14+
durationInMinutes: 4
15+
content: |
16+
[!include[](includes/7-knowledge-check.md)]
17+
quiz:
18+
title: "Check your knowledge"
19+
questions:
20+
- content: "A PostgreSQL database server at version 11.22 needs an online migration to Azure Database for PostgreSQL - Flexible Server running PostgreSQL version 14. Which tools or services can be used to perform this migration?"
21+
choices:
22+
- content: "Azure Database for PostgreSQL Flexible Server Migration."
23+
isCorrect: false
24+
explanation: "Incorrect. Currently DMS is the only option to provide an Online migration option, the Flexible Server Migration option is for offline migrations."
25+
- content: "pg_dump and pg_restore."
26+
isCorrect: false
27+
explanation: "Incorrect. Using these native tools mean you need to perform an offline migration as it doesn't sync changes."
28+
- content: "Database Migration Service."
29+
isCorrect: true
30+
explanation: "Correct. DMS Provides the facility for an Online database migration for PostgreSQL databases."
31+
- content: "An offline migration is being performed from an existing PostgreSQL server to Azure Database for PostgreSQL - Flexible Server. To transfer server-level roles from the source to the target, which combination of tools should be used?"
32+
choices:
33+
- content: "pg_dumpall, psql, and Azure Database for PostgreSQL - Flexible Server Migration."
34+
isCorrect: true
35+
explanation: "Correct. The process is to first transfer server scoped objects such as roles, then use the Migration feature within **PostgreSQL Flexible Server** to move the schema and data."
36+
- content: "pg_dump and pg_restore."
37+
isCorrect: false
38+
explanation: "Incorrect. While this can be used to migrate a database, it's missing the pg_dumpall process."
39+
- content: "psql and Database Migration Service."
40+
isCorrect: false
41+
explanation: "Incorrect. DMS doesn't provide an offline migration option for PostgreSQL databases."
42+
- content: "Before performing a database migration from a source PostgreSQL server to a target, it's necessary to assess whether there are any blockers. Which tool should be used for this assessment?"
43+
choices:
44+
- content: "Database Migration Service."
45+
isCorrect: false
46+
explanation: "Incorrect. DMS migrates databases but doesn't provide an assessment capability."
47+
- content: "pg_dumpall."
48+
isCorrect: false
49+
explanation: "Incorrect. This is used to export server config and databases to a file."
50+
- content: "Azure Database for PostgreSQL Flexible Server - migration feature."
51+
isCorrect: true
52+
explanation: "Correct. The migration feature within Azure Database for PostgreSQL Flexible Server validates databases before migration and identifies potential blockers."

learn-pr/wwl-azure/oracle-application-azure-paas/includes/2-azure-cloud-native-services-modernize-database-workloads.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ In addition to the choice of core database technology, you consider the various
4242

4343
- [Microsoft SQL Server Migration Assistant (SSMA) for Oracle](/sql/ssma/oracle/sql-server-migration-assistant-for-oracle-oracletosql) is a tool that helps automate migration tasks, such as migration assessment, schema and SQL syntax conversion, data migration, and migration testing, optimized for Azure SQL.
4444

45-
- [Database Migration Service Pack for Oracle](/azure-data-studio/extensions/database-migration-service-pack-for-oracle) is a set of [Azure Data Studio](/azure-data-studio/) extensions that facilitate the seamless migration of Oracle databases to Azure SQL Database and Azure SQL Managed Instance. It consists of two essential extensions:
46-
47-
- [Database Migration Assessment for Oracle extension](/azure-data-studio/extensions/database-migration-assessment-for-oracle-extension) helps you assess your Oracle workload for migrating to either Azure SQL or Azure Database for PostgreSQL.
48-
49-
- [Database Schema Conversion Toolkit](/azure-data-studio/extensions/dsct/database-schema-conversion-toolkit) helps to automate database schema conversion between different Oracle and Microsoft SQL schema formats.
50-
5145
- [Ora2Pg](https://ora2pg.darold.net/documentation.html#Ora2Pg-usage) is a Perl-based utility that helps migrate Oracle databases to PostgreSQL.
5246

5347
Third-party services, such as the following, can also help you plan and implement migrations:

learn-pr/wwl-data-ai/develop-azure-sql-database/includes/3-use-sql-db-projects.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
The [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension?azure-portal=true) is a developer tool that can be installed in both Azure Data Studio and Visual Studio Code. This extension is designed to facilitate the development and management of SQL databases in a project-based environment. It's compatible with several SQL platforms, including SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse SQL.
1+
The [SQL Database Projects extension](/sql/tools/visual-studio-code/sql-server-develop-use-vscode?azure-portal=true) is a developer tool that can be installed in Visual Studio Code. This extension is designed to facilitate the development and management of SQL databases in a project-based environment. It's compatible with several SQL platforms, including SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse SQL.
22

33
Database schemas can be created or changed, and the changes are saved in a *.dacpac* file format. You can publish the SQL Database project either using the SQL Database Projects extension or by publishing the *.dacpac* with the command line interface [SqlPackage](/sql/tools/sqlpackage/sqlpackage-publish?azure-portal=true).
44

55
With the SQL Database Projects extension you can either create a new empty project or create a new project from a connected database. You can then add, modify, or remove objects such as tables, views, stored procedures, functions, and custom scripts.
66

77
## Install the Database Projects extension
88

9-
The SQL Database Project extension can be installed in both Azure Data Studio and Visual Studio Code.
10-
11-
### Install the Database Projects in Visual Studio Code
12-
139
The SQL Database Projects extension is installed as part of the [mssql extension](/sql/tools/visual-studio-code/sql-server-develop-use-vscode?azure-portal=true). The mssql extension for Visual Studio Code enables you to connect to a SQL Server, query databases with T-SQL, and view the results.
1410

1511
:::image type="content" source="../media/3-sql-database-projects-extension.png" alt-text="Screenshot showing the SQL Database Projects extension installed.":::
1612

1713
It's a prerequisite that you have the latest [.NET SDK](https://dotnet.microsoft.com/download/dotnet?azure-portal=true) installed. If not, you'll be prompted to install it.
1814

19-
### Install the Database Projects in Azure Data Studio
20-
21-
Installing the Database Projects extension in Azure Data Studio follows a similar process to installing it in Visual Studio Code.
22-
23-
1. In Azure Data Studio, select either the **Extensions** icon or **View** -> **Extensions** to open the *Extensions manager*.
24-
1. Search for **SQL Database Projects**.
25-
1. Select **Install**.
26-
2715
## Import and modify a schema
2816

2917
Now that you installed the SQL Database Projects extension, you're ready to create a Database project. In this example, we connect to an existing Azure SQL Database.
@@ -80,21 +68,3 @@ To deploy the changes to your Azure SQL Database after modifying your database s
8068
1. Refresh the database view to verify that the schema modifications have been made.
8169

8270
:::image type="content" source="../media/3-publish-database.png" alt-text="Screenshot showing how to publish to an existing Azure SQL logical server.":::
83-
84-
## Azure Data Studio
85-
86-
The features for database projects in [Azure Data Studio](/azure-data-studio/download-azure-data-studio?azure-portal=true) are consistent with the features in other environments, such as Visual Studio Code. However, the user interface in Azure Data Studio is different, offering a unique layout and navigation experience. Despite these differences, you can still perform all the same tasks, such as creating, managing, and deploying database projects, with the same level of efficiency and effectiveness.
87-
88-
### Create a database project
89-
90-
To create a database project in Azure Data Studio, follow these steps.
91-
92-
1. In Azure Data Studio, select **Database projects** and then **Create new**.
93-
1. Select **Azure SQL Database**, and enter a name for your project.
94-
1. In **Location**, browse to a folder on your local machine where the project is saved.
95-
1. Keep the selection for **SDK-style project (Preview)**.
96-
1. Select **Create** to create the project. When prompted, select **Yes** if you trust the authors of the files in this folder.
97-
98-
Now that you created a SQL project, you can edit a table in the table designer. After making your changes, you can build and publish the project using a process similar to the process in Visual Studio Code.
99-
100-
For more information about working with SQL Database Projects in Azure Data Studio, see [Getting started with the SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension-getting-started?azure-portal=true).

learn-pr/wwl-data-ai/develop-azure-sql-database/includes/4-build-deploy-github-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can clone the GitHub repository you created by following these steps.
3434

3535
In Visual Studio Code, set up a new database project and save the project in the same folder where you cloned the GitHub repository.
3636

37-
For more information about creating a Database Project in Visual Studio Code, see [Getting started with the SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension-getting-started?azure-portal=true).
37+
For more information about creating a Database Project in Visual Studio Code, see [SQL Server Development with Visual Studio Code](/sql/tools/visual-studio-code/sql-server-develop-use-vscode?azure-portal=true).
3838

3939
Once you created your database project, add code to modify your Azure SQL Database. Then commit them back to your GitHub repository to ensure they're tracked and integrated into your version control system.
4040

@@ -85,7 +85,7 @@ You can now build your YAML file. For detailed syntax and guidelines, refer to t
8585
8686
## Azure SQL Database deployment with Azure DevOps Services
8787

88-
You can also deploy updates to an Azure SQL Database using Azure DevOps Services. To get started, you'll need an Azure DevOps Services account, a version control system (such as Azure Repos or GitHub), and Visual Studio Code with the [SQL Database extension](/azure-data-studio/extensions/sql-database-project-extension-getting-started?azure-portal=true) installed.
88+
You can also deploy updates to an Azure SQL Database using Azure DevOps Services. To get started, you'll need an Azure DevOps Services account, a version control system (such as Azure Repos or GitHub), and Visual Studio Code with the [SQL Database extension](/sql/tools/visual-studio-code/sql-server-develop-use-vscode?azure-portal=true) installed.
8989

9090
Azure DevOps Services includes Azure Pipelines, which automatically build, test, and deploy code. By using Azure Pipelines, you can support continuous integration and continuous deployment (CI/CD) of Azure SQL Database modifications within your project. This integration ensures that your database changes are consistently and reliably applied.
9191

learn-pr/wwl-data-ai/develop-azure-sql-database/includes/8-summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ One of the main takeaways from this module include understanding the importance
55
### Additional reading
66

77
- [Azure SQL Database Overview](/azure/azure-sql/database/sql-database-paas-overview?azure-portal=true)
8-
- [Getting started with the SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension-getting-started?azure-portal=true)
8+
- [SQL Server Development with Visual Studio Code](/sql/tools/visual-studio-code/sql-server-develop-use-vscode?azure-portal=true)
99
- [Data-tier Application Component (DAC)](/sql/relational-databases/data-tier-applications/data-tier-applications?azure-portal=true)
1010
- [Azure DevOps Documentation](/azure/devops?azure-portal=true)

learn-pr/wwl-data-ai/evaluate-strategies-for-migrating-to-azure-sql/includes/4-describe-azure-database-migration-options.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ For online migrations to Azure SQL, Azure Database Migration Service provides a
1212
2. Continuously sync new database transactions to the Azure target.
1313
3. Cut over to the target Azure service when prepared. You can stop the replication, and switch the connection strings in your application to Azure SQL.
1414

15-
### Azure SQL Migration extension for Azure Data Studio
16-
17-
[**Azure SQL Migration extension for Azure Data Studio**](/sql/azure-data-studio/extensions/azure-sql-migration-extension?azure-portal=true) is a tool that helps you prepare for migrating your SQL Server databases to Azure. It uses the latest version of Azure Data Migration Service to assess your readiness for migration, recommend the best Azure resources for your needs, and execute the migration. It’s ideal for small to medium-sized databases and supports online migration to SQL Managed Instance.
18-
1915
## Azure Migrate
2016

2117
Azure Migrate provides a centralized location to assess and migrate on-premises servers, infrastructure, applications, and data to Azure. It will provide discoverability and proper assessments of your servers regardless of whether they are physical or VMWare/Hyper-V virtual machines.
@@ -39,7 +35,7 @@ There are several other tools you can use to map your server estate and identify
3935
The MAP toolkit and Database Experimentation assistant can help you identify your databases and highlight any incompatibilities or potential performance issues in your database, but the Data Migration Assistant (DMA) is a comprehensive toolkit that assesses, identifies new features you can use to benefit your application, and ultimately performs the migration. This tool can be used to migrate between versions of SQL Server, from on-premises to an Azure Virtual Machine or Azure SQL Database or Azure SQL Managed Instance.
4036

4137
> [!NOTE]
42-
> While the Database Migration Assistant is a useful tool available, we recommend that you use the [Azure Database Migration Service](/azure/dms/dms-overview) for large migrations and enhanced overall experience, which is available as [Azure SQL Migration extension for Azure Data Studio](/azure-data-studio/extensions/azure-sql-migration-extension), or via [Azure Portal](https://aka.ms/dmsazureportal), or through [Azure PowerShell and Azure CLI](/azure/dms/migration-dms-powershell-cli).
38+
> While the Database Migration Assistant is a useful tool available, we recommend that you use the [Azure Database Migration Service](/azure/dms/dms-overview) for large migrations and enhanced overall experience, which is available via the [Azure Portal](https://aka.ms/dmsazureportal), or through [Azure PowerShell and Azure CLI](/azure/dms/migration-dms-powershell-cli).
4339
4440
## Additional migration options supported
4541

0 commit comments

Comments
 (0)