Cloud service · AWS · Updated

AWS Schema Conversion Tool (AWS SCT)

In short

The AWS Schema Conversion Tool (AWS SCT) is a software application that facilitates the migration of database schemas and certain business logic from one database engine to another, by automatically converting the source database schema and a majority of the custom code to a format compatible with the target database.

Cloud Services Hub →

12 key features of AWS Schema Conversion Tool (AWS SCT)

AWS Schema Conversion Tool (AWS SCT) offers automatic schema conversion, detailed assessment reports, support for multiple databases, conversion rule customization, integration with AWS DMS, and continuous replication for minimal downtime, streamlining and simplifying database migrations to AWS.

01
Automatic Schema Conversion

AWS SCT automatically converts the source database schema and a majority of the database code objects, including views, stored procedures, and functions, to a format compatible with the target database. It significantly reduces the time and effort required for migrations.

02
Detailed Assessment Report

Before performing actual conversion, AWS SCT provides a detailed assessment report that highlights potential conversion challenges and the level of manual effort needed to convert objects that cannot be automatically converted.

03
Support for Multiple Source and Target Databases

AWS SCT supports a wide range of source and target databases, including Oracle, Microsoft SQL Server, MySQL, PostgreSQL, and AWS's own Aurora and Redshift, facilitating seamless migrations across different database platforms.

04
Code Conversion Customization

AWS SCT allows for customization of the conversion rules. Users can tweak these rules to accommodate specific needs or preferences, enhancing the flexibility and success rate of database migrations.

05
Integrated with AWS DMS

AWS SCT seamlessly integrates with AWS Database Migration Service (DMS) to manage the migration of the data itself after the schema and code are converted. This provides a comprehensive migration solution within the AWS ecosystem.

06
Continuous Replication for Minimized Downtime

For databases that require minimal downtime during migration, AWS SCT in combination with AWS DMS supports continuous data replication, ensuring that the source database remains operational and in sync with the target until the final cut-over.

07
Data Extraction Agents

AWS SCT can manage data extraction agents that extract data from a data warehouse to prepare it for migration to Amazon Redshift.

08
Extension Packs

The AWS SCT extension pack wizard helps install AWS Lambda functions and Python libraries to emulate database features that cannot be converted to equivalent Amazon RDS or Amazon Redshift features.

09
Same-Engine Schema Copying

AWS SCT can copy an on-premises database schema to an Amazon RDS DB instance running the same engine, supporting analysis of potential savings from moving to the cloud and changing license type.

10
Multiserver Assessment

The AWS SCT Data Migration Service Assessor (DMSA) evaluates multiple servers and produces a summary report showing the best target direction for the environment.

11
Hadoop Migration

AWS SCT supports migrations from Hadoop to Amazon EMR.

12
Apache Oozie Workflow Migration

AWS SCT supports migrations from Apache Oozie to AWS Step Functions.

Where AWS Schema Conversion Tool (AWS SCT) is used

AWS Schema Conversion Tool (AWS SCT) is primarily used for database migration, application code conversion, data warehouse transition, ongoing synchronization of changes during migrations, and post-migration optimization and analysis.

  1. 01
    Database Migration

    AWS SCT is extensively used to automate the process of migrating databases from one type to another, such as from Oracle or Microsoft SQL Server to Amazon Aurora, PostgreSQL, MySQL, or MariaDB, simplifying the conversion of database schema, including indexes and views.

  2. 02
    Application Code Conversion

    Beyond database schema conversion, AWS SCT aids in converting application code written to access databases (like SQL queries or database access APIs) from the source database's dialect into the target database's dialect, easing application migrations to new database platforms.

  3. 03
    Data Warehouse Migration

    AWS SCT supports migrations from traditional data warehouses, like Teradata and Oracle Data Warehouse, to Amazon Redshift, facilitating the transition to a more scalable, cost-effective cloud data warehouse solution by converting the data warehouse schema and SQL.

  4. 04
    Optimization and Analysis

    Post migration, AWS SCT can assist in optimizing the database schema for the target database system. It provides analysis and recommendations for performance improvements, making it valuable for not only the migration but also the ongoing efficiency of the deployed database system.

How AWS Schema Conversion Tool (AWS SCT) is priced

AWS Schema Conversion Tool is free to use, but costs arise from the AWS services utilized during migration, such as Amazon RDS or Amazon Redshift, based on their respective pricing models.

AWS Schema Conversion Tool (AWS SCT) Pricing Models

The AWS Schema Conversion Tool (AWS SCT) itself is available at no additional charge. However, while the tool can be used for free, the costs associated with running the tool come from the resources it utilizes in AWS services such as Amazon RDS, Amazon Redshift, or other database services. These costs are based on the pricing models for the specific AWS services used during the migration process. For instance, if AWS SCT is used to migrate a database to Amazon RDS, the costs incurred will be according to the pricing model of Amazon RDS which includes instance costs, storage costs, and data transfer fees among others. Similarly, when migrating to Amazon Redshift, costs will follow the Amazon Redshift pricing model.

Services AWS Schema Conversion Tool (AWS SCT) works with

Amazon RDSAmazon RDS

AWS SCT integrates with Amazon Relational Database Service (RDS) to facilitate the conversion and migration of database schemas from various database engines into Amazon RDS-compatible formats.

Amazon AuroraAmazon Aurora

AWS SCT works with Amazon Aurora to enable migrations from commercial database engines like Oracle and SQL Server to Amazon Aurora's MySQL and PostgreSQL-compatible editions.

Amazon Aurora ServerlessAmazon Aurora Serverless

AWS SCT can convert database schemas and SQL code for migration to Aurora Serverless databases using the corresponding Aurora MySQL-Compatible or PostgreSQL-Compatible target engine.

Amazon DynamoDBAmazon DynamoDB

AWS SCT supports migrating Apache Cassandra databases to DynamoDB. It converts the source schema and uses data extraction agents to move Cassandra data into DynamoDB tables.

Amazon EC2Amazon EC2

AWS SCT supports schema conversion for supported database engines hosted on EC2, as well as databases hosted on premises. Its data extraction agents can also run on EC2 instances to extract and transfer warehouse data during migration.

Amazon RedshiftAmazon Redshift

AWS SCT converts data warehouse schemas, database code, and application SQL to Redshift-compatible formats, and its extraction agents help migrate warehouse data. It can also analyze existing Redshift databases and recommend distribution keys and sort keys.

Amazon S3Amazon S3

AWS SCT data extraction agents upload extracted warehouse data to S3 for loading into Amazon Redshift. AWS SCT also uses S3 to store scripts and other artifacts for converted AWS Glue ETL jobs.

AWS Database Migration Service (AWS DMS)AWS Database Migration Service (AWS DMS)

AWS SCT can create AWS DMS source and target endpoints and migration tasks, then run and monitor those tasks. This combines SCT's schema conversion with AWS DMS data migration and ongoing replication.

AWS GlueAWS Glue

AWS SCT converts supported data warehouse ETL scripts and SQL Server Integration Services packages into AWS Glue ETL jobs. This helps move existing data transformation logic to managed, Spark-based processing.

AWS Identity and Access Management (IAM)AWS Identity and Access Management (IAM)

AWS SCT uses IAM-authorized AWS credentials to access services involved in migration, including S3, AWS DMS, and AWS Lambda. IAM policies and service roles control access to migration data and the AWS resources that SCT creates or uses.

What is AWS Schema Conversion Tool (AWS SCT)

2 min read

The AWS Schema Conversion Tool (AWS SCT) is an innovative service designed by Amazon Web Services to facilitate the seamless migration of database schemas from one database engine to another. This tool plays a critical role in the database migration projects by making it easier for organizations to transfer their existing database schemas to AWS-based databases, such as Amazon Aurora, MySQL, PostgreSQL, and others, thereby enabling them to take advantage of the scalability, reliability, and other benefits offered by the AWS cloud. 

The traditional process of migrating databases from one platform to another often involves a significant amount of manual work. Developers and database administrators need to review the existing schema, identify and rewrite incompatible SQL statements, and test the migrated schema thoroughly, which can be time-consuming and error-prone. AWS SCT streamlines this process by automatically converting source database schemas, including the database objects and the code that accesses those objects, into formats compatible with the target AWS database engines. AWS SCT supports conversions from a variety of database sources such as Oracle, Microsoft SQL Server, MySQL, MariaDB, PostgreSQL, IBM DB2, and others. It does not merely convert the database schema; instead, it addresses a wide range of objects including tables, views, stored procedures, and triggers. 

When converting schemas using multiple servers in a single AWS SCT project, each source schema can be mapped to only one target server.

For complex conversions or when encountering proprietary database constructs that cannot be automatically converted, AWS SCT provides detailed guidance and scripts, helping users to resolve these challenges. What sets AWS SCT apart is its benefit of reducing both the time and the costs associated with database migrations. By automating the majority of the schema conversion process, organizations can focus more on optimizing their applications for the cloud rather than getting bogged down in the minutiae of database conversion. 

Moreover, AWS SCT includes a feature to estimate the cost and effort required for the database migration, allowing organizations to plan their migrations more effectively. In addition to converting database schemas, AWS SCT can also help in migrating data warehouses to Amazon Redshift. This includes not only the schema conversion but also the conversion of the ETL (Extract, Transform, and Load) jobs, making it a comprehensive tool for larger-scale data migrations to the cloud. 

To ensure a smooth migration, AWS SCT provides a detailed assessment report that highlights potential issues and offers recommendations for manual adjustments before the actual migration takes place. This pre-migration assessment helps in identifying compatibility issues early in the migration process, reducing the risk of encountering unexpected problems during the actual database migration. 

In conclusion, the AWS Schema Conversion Tool is an essential service for any organization looking to migrate its databases to AWS. By automating the conversion process and providing detailed guidance for manual adjustments, AWS SCT significantly simplifies the migration process, enabling businesses to leverage the power of AWS cloud services with minimal disruption to their operations.

AWS Schema Conversion Tool (AWS SCT) exam questions

Real practice exam questions on AWS Schema Conversion Tool (AWS SCT), with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company is updating a Java application to use Amazon RDS for PostgreSQL instead of Oracle. The database schema has already been converted, and a separate process will migrate the data. The application source code contains embedded Oracle-specific SQL statements. The company wants to reduce the effort required to translate these statements for PostgreSQL. Which approach best meets this requirement?

Show answerCORRECT ANSWER

Use AWS Schema Conversion Tool (AWS SCT) to analyze the application source code and convert supported embedded SQL statements.

AWS SCT can analyze SQL embedded in application code, including Java, and convert supported statements for the target database engine. This reduces manual application conversion work, although developers must review and test the results.

DEA-C01

A financial services company is migrating a Microsoft SQL Server database to Amazon Aurora PostgreSQL-Compatible Edition. A data engineer has completed schema conversion and resolved all manual conversion items in a desktop conversion project, including changes to views and stored procedures.

Company policy prohibits the engineer's workstation from executing DDL against the destination database. All schema changes must instead be reviewed in version control and deployed by an existing release pipeline that executes PostgreSQL SQL scripts. The pipeline must deploy the converted tables, views, and stored procedures before data migration begins.

How should the engineer prepare the deployment artifact?

Show answerCORRECT ANSWER

Save the converted target schema from AWS SCT as SQL scripts, submit the scripts for review in version control, and have the release pipeline execute the approved scripts.

AWS SCT can save the converted target schema as SQL scripts without applying it directly to the destination. The scripts can be reviewed, versioned, and executed by the authorized release pipeline to create the converted database objects.

SAP-C03

A software company plans to modernize 40 on-premises Microsoft SQL Server databases that support different products. The databases contain T-SQL stored procedures, triggers, views, and user-defined functions. The company must eliminate SQL Server licensing and is evaluating Amazon Aurora PostgreSQL-Compatible Edition and Amazon Aurora MySQL-Compatible Edition.

Before funding implementation, the company needs a per-database comparison of the two target engines that identifies objects that can be converted automatically and objects that require developer intervention. The comparison must account for database-resident business logic, not just table structures. Security permits metadata access from a controlled engineering workstation but prohibits uploading source schemas or code to a managed assessment service. Production data must not be copied during this phase.

Which approach meets these requirements with the LEAST manual effort?

Show answerCORRECT ANSWER

Install AWS SCT on the controlled workstation. Create conversion projects for each database and candidate target engine, generate database migration assessment reports, and compare automatic conversion coverage and action items requiring manual changes. Use those findings to estimate remediation effort before selecting targets.

AWS SCT is a downloadable tool that assesses heterogeneous schema and database-code conversion. Its assessment reports identify supported conversions and action items for objects that cannot be converted automatically. Evaluating each candidate target provides the required comparison without copying production rows or submitting source code to a managed assessment service. Converted business logic must still be validated during implementation.

Practice AWS Schema Conversion Tool (AWS SCT) in a full exam

Questions on AWS Schema Conversion Tool (AWS SCT) in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Schema Conversion Tool (AWS SCT) in lessons

8 short lessons on AWS Schema Conversion Tool (AWS SCT) in 4 certification courses.

and 2 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.