Skip to main content

MySQL to PostgreSQL replica and migration

Project description

pg_chameleon is a tool for replicating from MySQL to PostgreSQL compatible with Python 2.7 and Python 3.3+. The system use the library mysql-replication to pull the row images from MySQL which are transformed into a jsonb object. A pl/pgsql function decodes the jsonb and replays the changes into the PostgreSQL database.

The tool requires an initial replica setup which pulls the data from MySQL in read only mode. This is done by the tool running FLUSH TABLE WITH READ LOCK; .

pg_chameleon can pull the data from a cascading replica when the MySQL slave is configured with log-slave-updates.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pg_chameleon-2.0.0b1.tar.gz (54.6 kB view details)

Uploaded Source

File details

Details for the file pg_chameleon-2.0.0b1.tar.gz.

File metadata

File hashes

Hashes for pg_chameleon-2.0.0b1.tar.gz
Algorithm Hash digest
SHA256 a94e71899a0a36a34ed3ef4b4ce9fabfda8c8ed06dd392cb889d7694ed6db6ac
MD5 bc29ffbd3d7d8e00cd87905d2123270d
BLAKE2b-256 1ce93ad52b154d61915d2013470d4c0d6fde3399fd4bfb33913940efce6a32f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page