about Migrate from RDS to other RDS

0

current scenario

1 MysqlRDS with 8TB of an instance.

After migrating some application log tables, it was found that:

  • We are allocating an unnecessary 6TB, as the total size of the database is approx. 2TB

AWS does not yet provide means to downsize allocated storage.

what is the need

  • migrates the database to another instance in the same region with the storage already adjusted and thus freeing us from paying for an unnecessary 6TB of storage,

What is the best strategy for a bank with this volume, operating with 2 read replicas, 24 hours a day, 365 days a year.

2개 답변
0

Currently the best option is to take a backup of your instance with mysqldump. And record the binlog coordinates. Then on a new RDS instance that is sized appropriately, reload the backup and then you can configure this RDS instance to replicate from the original source by using self managed replication with the rds_set_external_master stored procedure.

AWS
중재자
philaws
답변함 일 년 전
  • If I were to follow technical steps.

    It would be like this?

    1. Back up the schemas in this source productive instance.

    2. -"record binlog coordinates" , How do I do it?

    3. restore the backup made in step 1 in a new instance already adjusted to its correct size.

    4. Regarding the next step, do you comment that the destination instance should be receiving replicated data from the source instance, would that be it?

    Already in step 5 that he comments on the item rds_set_external_master , you are also telling him to be receiving this configuration, precisely after it, the data that is being received in the source instance, will be replicated to the destination instance.

    Was that the plan?

0
  • I test. dude, but after restore the backup + DMS, we dispend more than 50 hours to finish with errors ....

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠