10.09.2015 Views

Migrating Uber from MySQL to PostgreSQL

uber_migration_pypgday_2013

uber_migration_pypgday_2013

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Actual Migration<br />

xml2pgcopy, redux<br />

We plan <strong>to</strong> release code for xml2pgcopy, the C++<br />

program I wrote <strong>to</strong> convert mysqldump --format=xml<br />

output <strong>to</strong> Postgres COPY format <strong>to</strong>day.<br />

This <strong>to</strong>ol worked for <strong>Uber</strong>’s dataset, but likely needs<br />

modification if you’re using extensively different data<br />

types, or <strong>MySQL</strong> features that we didn’t use. It should<br />

be a good jumping off point, though.<br />

Evan Klitzke (<strong>Uber</strong>, Inc.) <strong>Migrating</strong> <strong>Uber</strong> <strong>from</strong> <strong>MySQL</strong> <strong>to</strong> <strong>PostgreSQL</strong> March 13, 2013 59 / 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!