converting database from mysql to mongoDb

后端 未结 13 1315
陌清茗
陌清茗 2020-12-07 10:43

is there any easy way to change the database from mysql to mongoDB ?

or better any one suggest me good tutorial do it

13条回答
  •  离开以前
    2020-12-07 11:09

    If you're using Ruby, you can also try: Mongify

    It's a super simple way to transform your data from a RDBS to MongoDB without losing anything.

    Mongify will read your mysql database, build a translation file for you and all you have to do is map how you want your data transformed.

    It supports:

    • Auto updating IDs (to BSON ObjectID)
    • Updating referencing IDs
    • Type Casting values
    • Embedding tables into other documents
    • Before save filters (to allow changes to the data manually)
    • and much much more...

    Read more about it at: http://mongify.com/getting_started.html

    There is also a short 5 min video on the homepage that shows you how easy it is.

提交回复
热议问题