Tagged articles
3 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Oct 17, 2017 · Databases

How to Migrate a MongoDB Database to MySQL with Minimal Downtime

This article walks through a practical, step‑by‑step migration from MongoDB to MySQL for a Rails project, covering data export, preprocessing embedded documents, handling UUIDs, adapting Mongoid plugins, rewriting models, writing migration scripts, rebuilding relationships, managing many‑to‑many links, and emphasizing thorough testing to ensure a smooth, low‑downtime transition.

ActiveRecordMongoDBRails
0 likes · 23 min read
How to Migrate a MongoDB Database to MySQL with Minimal Downtime
Liulishuo Tech Team
Liulishuo Tech Team
Jul 22, 2016 · Backend Development

Comparing ActiveRecord and Ecto: ORM Approaches in Ruby on Rails and Elixir

This article compares Ruby on Rails' ActiveRecord and Elixir's Ecto, explaining their mapping definitions, data retrieval, query syntax, write operations, validations, callbacks, and associations, while highlighting the trade‑offs between the convenience of ActiveRecord and the explicitness of Ecto.

ActiveRecordBackendEcto
0 likes · 15 min read
Comparing ActiveRecord and Ecto: ORM Approaches in Ruby on Rails and Elixir