Skip to main content

MySQL to PostgreSQL replica

Project description

pg_chameleon is a replication tool capable to replicate from MySQL to PostgreSQL. Is 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.0b2.tar.gz (33.0 kB view details)

Uploaded Source

File details

Details for the file pg_chameleon-1.0b2.tar.gz.

File metadata

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

File hashes

Hashes for pg_chameleon-1.0b2.tar.gz
Algorithm Hash digest
SHA256 7f81e2f4af06a0b8fc2e590cb95de58cd6461c0e95e84b4dc8e1e932c4996b4f
MD5 224f9c67aa33da5019f6665c37da8125
BLAKE2b-256 c83f50d5c4184d616c2691fbef967aeb6a9eeeba0b37e9c9d2937f01b946d387

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