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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pg_chameleon-1.4.tar.gz
Algorithm Hash digest
SHA256 6b7d4ad549ea49d8c099866ef241f1d9a0d7c15dfef52feee818b97cb0941188
MD5 c78512c9ba3378b0d4e077dfd3c36521
BLAKE2b-256 6be4c8b22ced1537f7aa64f65d54f837d8228dae1edd669d7f23bdf5ad029c0a

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