Skip to main content

Installation

Extension Migration Assistant requires Python version 3.11.4 or above to run. Post cloning the assessment tool, we will need to install the dependencies.

Minimal Database Privileges on RDS or Amazon Aurora PostgreSQL Compatible

Minimal required privileges to run on RDS/Amazon Aurora PostgreSQL Databases.

CREATE USER sctanalyzer WITH LOGIN PASSWORD 'YourPassword';
GRANT CONNECT ON DATABASE <<YourDatabase>> TO sctanalyzer;
REVOKE CREATE ON SCHEMA public FROM sctanalyzer;

--Provide Grants to Extensions related tables, if it failes it implies no dependency with AWS SCT Extensions
grant usage on schema aws_oracle_ext to sctanalyzer;
GRANT SELECT ON table aws_oracle_ext.versions  TO sctanalyzer;

Extension assesment tool installation

Steps to run extensionmigrationassistance on compute machine for RDS or Amazon Aurora PostgreSQL Databases.

-install dcg-extensionmigrationassistant Python packages

pip3 install dcg-extensionmigrationassistant

Running Assessment tool

Extension Migration Assistant tool will need access to PostgreSQL databases, primarily on RDS or Amazon Aurora.

extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD [--pg-schema PG_SCHEMA] [--outputpath OUTPUTPATH]

You can see the details of every argument required by using following steps

extension-assessment --help

  --host HOST               RDS/Amazon Aurora PostgreSQL Compatible Database endpoint
  --port PORT               Database port number (Default - 5432)
  --database DATABASE       Database name (Default - postgres)
  --user USER               Database user
  --password PASSWORD       Database password
  --pg-schema PG_SCHEMA     List of Comma separated list of schema name(Optional)
  --outputpath OUTPUTPATH   Provide output path of report (Optional)

pg-schema is optional. To see the result according to schema provide single or comma separated list.If pg-schema is not provided it will assume to run for all schema within specified database.

Sample 1 - running Extension Migration Assistant on specific shcema.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --pg-schema PG_SCHEMA1
Sample 2 - running Extension Migration Assistant on multiple list of schema's.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --pg-schema PG_SCHEMA1,PG_SCHEMA2
Sample 3 - running Extension Migration Assistant for all schema.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD
Sample 4 - running Extension Migration Assistant for all schema with output to specific path
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --outputpath <<OUTPUT_PATH>>

Assessment Output

Once Extension Migration Assistant Assessment is completed, you will find newly created reports within a directory (SCTExtensionAssessment) as below

AWS SCT Extension Assessment Report created successfully
Report : ....\extensionassessmentreport.html
Report zip file is created successfully

You will also get a zip file which contains the html report, charts (.png) and csv file with additional dependencies details.

SCTExtensionAssessment.zip

Check out sample report generated on sample schema migrated using AWS Schema Conversion Tool to RDS PostgreSQL with its underlying Extension packs(AWS_ORACLE_EXT).

Metadata

Release files for dcg-extensionmigrationassistant 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcg-extensionmigrationassistant 1.0.1
File Size Uploaded
dcg-extensionmigrationassistant-1.0.1.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dcg-extensionmigrationassistant 1.0.1
File Interpreter ABI Platform
dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / dcg-extensionmigrationassistant-1.0.1.tar.gz

Download URL dcg-extensionmigrationassistant-1.0.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4e92309e05473598d3e36179034231529d41e683b074335e3920cb95e9949ba8
BLAKE2b-256 checksum
How to use checksums
a8a4d9f83bb70912d6e4027eac6d2041e23352c061d0e5dcc558a3596a1fc9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl

Download URL dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8991d9b878da2652b1c579c861f496c0eec05f96beb416a2b020a41ee19e5b6d
BLAKE2b-256 checksum
How to use checksums
ff371b4c48fcceefc067cd6c752d300ed38fc399545aaebf173ef3c554b2a827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page