AWS Schema Conversion Tool User Guide Version 1.0 AWS Schema Conversion Tool User Guide
Total Page:16
File Type:pdf, Size:1020Kb
AWS Schema Conversion Tool User Guide Version 1.0 AWS Schema Conversion Tool User Guide AWS Schema Conversion Tool: User Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. AWS Schema Conversion Tool User Guide Table of Contents What Is the AWS SCT? ........................................................................................................................ 1 Schema conversion overview ....................................................................................................... 2 Giving feedback ......................................................................................................................... 2 Installing, verifying, and updating ........................................................................................................ 4 Installing AWS SCT ..................................................................................................................... 4 Installing previous versions .................................................................................................. 5 Verifying the AWS SCT file download .......................................................................................... 5 Verifying the checksum of the AWS SCT file .......................................................................... 5 Verifying the AWS SCT RPM files on Fedora .......................................................................... 6 Verifying the AWS SCT DEB files on Ubuntu .......................................................................... 6 Verifying the AWS SCT MSI file on Microsoft Windows ............................................................ 7 Installing the required database drivers ........................................................................................ 7 Installing JDBC drivers on Linux ........................................................................................... 9 Storing driver paths in the global settings ............................................................................. 9 Updating the AWS SCT ............................................................................................................. 10 Using the AWS SCT user interface ...................................................................................................... 11 The project window .................................................................................................................. 11 Storing AWS Profiles ................................................................................................................. 12 Storing AWS credentials .................................................................................................... 13 Setting the default profile for a project .............................................................................. 15 Storing database passwords ...................................................................................................... 15 Using the Union All view for projects with partitioned tables ......................................................... 15 Using tree filters ...................................................................................................................... 15 ...................................................................................................................................... 16 Importing a file list for the tree filter ................................................................................. 17 Hiding schemas ........................................................................................................................ 18 Keyboard shortcuts ................................................................................................................... 18 Managing the database migration assessment report .................................................................... 19 Starting AWS SCT ..................................................................................................................... 23 Creating a project ..................................................................................................................... 24 Converting your schema ............................................................................................................ 25 Applying the converted schema to your target DB instance ............................................................ 26 Getting started ................................................................................................................................ 28 Sources for AWS SCT ........................................................................................................................ 29 Encrypting Amazon RDS connections .......................................................................................... 29 Using Oracle as a source ........................................................................................................... 31 Permissions needed for Oracle as a source ......................................................................... 32 Connecting to Oracle as a source ....................................................................................... 32 Oracle to PostgreSQL ....................................................................................................... 34 Oracle to MySQL .............................................................................................................. 37 Oracle to Amazon RDS Oracle ........................................................................................... 41 Using SQL Server as a source .................................................................................................... 44 Permissions for Microsoft SQL Server ................................................................................. 44 Using Windows Authentication with Microsoft SQL Server ..................................................... 44 Connecting to SQL Server as a source ................................................................................. 46 SQL Server to MySQL ....................................................................................................... 47 SQL Server to PostgreSQL ................................................................................................. 49 SQL Server to Amazon RDS SQL Server .............................................................................. 52 Using MySQL as a source .......................................................................................................... 53 Permissions needed for MySQL as a source .......................................................................... 53 Connecting to MySQL as a source ...................................................................................... 53 Using PostgreSQL as a source .................................................................................................... 55 Privileges for PostgreSQL ................................................................................................. 55 Connecting to PostgreSQL as a source ............................................................................... 55 Version 1.0 iii AWS Schema Conversion Tool User Guide Using SAP ASE (Sybase ASE) as a source ..................................................................................... 57 Privileges for SAP ASE (Sybase ASE) .................................................................................. 58 Connecting to SAP ASE as a source ................................................................................... 58 Data warehouse sources for AWS SCT ......................................................................................... 61 Using IBM Db2 LUW as a source ........................................................................................ 62 Using Amazon Redshift as a source .................................................................................... 66 Using Oracle Data Warehouse as a source ........................................................................... 68 Using Teradata as a source ................................................................................................ 71 Using Netezza as a source ................................................................................................. 73 Using Greenplum as a source ............................................................................................. 75 Using Vertica as a source .................................................................................................. 77 Using SQL Server Data Warehouse as a Source .................................................................... 79 Using Snowflake as a source .............................................................................................. 81 Creating conversion reports ............................................................................................................... 86 Migration assessment reports .................................................................................................... 86 Creating