简体   繁体   English

从机架空间导出较大的数据库

[英]larger size db export from rackspace

I am planing to migrate my Db from rackspace to AWS. 我计划将Db从机架空间迁移到AWS。 The current db has around 50GB of size. 当前的数据库大约有50GB的大小。 So how can i export this Db from rackspace without downtime.Or any other solutions like direct migration from rackspace to AWS RDS 因此,如何在不停机的情况下从机架空间导出该Db?或其他任何解决方案,例如从机架空间直接迁移到AWS RDS

Amazon provides multiple options in the RDS docs. Amazon在RDS文档中提供了多个选项 Have you read them? 你看过吗?

My preference would be to set up replication between your Rackspace instance and a new RDS instance. 我的偏好是在Rackspace实例和新的RDS实例之间设置复制。 This will minimize your downtime: when you're ready you shut down your applications, reconfigure them to use the new database, and you're done. 这将最大程度地减少停机时间:当您准备就绪时,请关闭应用程序,将其重新配置为使用新数据库,然后完成。

I recommend planning for at least three attempts, since replication can be tricky the first time you set it up. 我建议至少计划三个尝试,因为第一次设置复制时会遇到麻烦。 Even if you get the replication right on the first try, I strongly suggest that you bring up a test environment and do a complete regression test of your app, before repeating the replication for your production cutover. 即使您一次尝试就可以正确完成复制,我也强烈建议您在重复进行生产转换之前,先测试环境并对应用程序进行完整的回归测试。

Yes, You can easily achieve migration without any outage using DMS services given by Amazon. 是的,您可以使用Amazon提供的DMS服务轻松实现迁移而不会中断。 I used DMS for migration from Company Hosted Environment to RDS. 我使用DMS从公司托管环境迁移到RDS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM