- 最新
- 最多得票
- 最多評論
Hello.
If you look at the document below, it says that 3.x is supported.
Please note that DMS 3.5.0 and later versions do not support MongoDB 3.6 and later versions.
So, I think you need to update the DMS version to a slightly older version.
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Introduction.Sources.html
MongoDB versions 3.x, 4.0, 4.2, 4.4, and 5.0
AWS DMS versions 3.5.0 and higher don't support MongoDB versions prior to 3.6.
Also, it is difficult to migrate the database without creating any downtime, so I think it is a good idea to set up a shutdown plan to some extent.
If DMS is not available, you will need to migrate using something like "mongodump".
https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-migration.html
If you are considering other methods, you may want to upgrade MongoDB or use a third-party tool.
https://repost.aws/questions/QULcI9bfPITRmsC_3iMzkgZg/migrating-mongodb-ec2-to-aws-document-db-via-dms#ANn2rNV1J6S9-CbwtzPuiHFw
Hi Riku,
Yes, it's already explained on the other posting that you just shared. DMS only support MongoDB 3.6 & above.
Any other recommendation for open source tool from your side, Riku?
Thanks.
相關內容
- AWS 官方已更新 9 個月前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
please see my posting comment below.
There is something called "amazon-documentdb-tools". It may be a good idea to use this to migrate only the index first, then write your own script to migrate the data little by little. In any case, it seems likely that a period of data suspension will be necessary. https://github.com/awslabs/amazon-documentdb-tools
Hi Riku,
I used that tool before. Yes, it would take 8 hours to do mongodump + mongorestore for the DB last time I tried. don't think migrating via dumping db is a good choice.
Maybe best choice for now is to upgrade MongoDB on EC2 first to version 3.6. any other good article that you have?
Thanks.
I see, if it does take that long, it might be faster to upgrade and then migrate using DMS etc.