Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

History Node

2.0.7

History Node

2.0.6

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

This version
History Node

2.0.0

History Node

2.0.0rc1

History Node

2.0.0b1

History Node

2.0.0a3

History Node

2.0.0a2

History Node

2.0a1

History Node

1.8.2

History Node

1.8.1

History Node

1.8

History Node

1.7

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

1.0rc2

History Node

1.0rc1

History Node

1.0b2

History Node

1.0b1

History Node

1.0a4

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pg_chameleon-2.0.0.tar.gz (55.8 kB) Copy SHA256 hash SHA256 Source None Jan 1, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page