DiscoverCode ImpactMigrating Yelp Reservations from PostgreSQL to MySQL
Migrating Yelp Reservations from PostgreSQL to MySQL

Migrating Yelp Reservations from PostgreSQL to MySQL

Update: 2024-12-23
Share

Description

This blog post details Yelp's in-place migration of their Yelp Reservations service database from PostgreSQL to MySQL. The migration, necessitated by maintenance and expertise limitations with PostgreSQL, involved significant code refactoring to address unsupported features and ensure data consistency. A gradual rollout strategy, employing multi-DB support and careful synchronisation, was implemented to minimise disruption. The process revealed several unexpected challenges, including issues with auto-incrementing keys and ProxySQL memory usage, highlighting the complexities of such large-scale database migrations. Ultimately, the switch to the company standard MySQL improved performance and maintainability.

Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Migrating Yelp Reservations from PostgreSQL to MySQL

Migrating Yelp Reservations from PostgreSQL to MySQL

Sanket Makhija