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-1.7.tar.gz (49.5 kB view details)

Uploaded Source

File details

Details for the file pg_chameleon-1.7.tar.gz.

File metadata

  • Download URL: pg_chameleon-1.7.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pg_chameleon-1.7.tar.gz
Algorithm Hash digest
SHA256 6d1b78cc661a9632ad84dbf259471e91a3828a852184c4d5d93d52f08a1cbdd9
MD5 a87760255cd0f4b0af33a7358ad6791f
BLAKE2b-256 e2cd52e1a5e5bf6a5b9d0a44cbab90b99e96cca0f8b5bdc8b3a110469784bef3

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