将 MySQL 8.0.20 数据库迁移到 AWS Aurora

2023-06-24数据库问题
3

本文介绍了将 MySQL 8.0.20 数据库迁移到 AWS Aurora的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我尝试使用 AWS RDS 代理 服务并意识到唯一的 兼容版本 服务是 AWS Aurora.

I was trying to use the AWS RDS Proxy service and realized that the only compatible versions with the service are AWS Aurora.

我目前拥有的数据库是使用 MySQL 8.0.20 版本的 MySQL 数据库.AWS Aurora 与 MySQL 兼容,但仅适用于 5.6 和 5.7 版.我不太熟悉这些版本以及它与 8.0.20 版本有何不同.

The current database I have is a MySQL database using MySQL version 8.0.20. AWS Aurora is MySQL compatible but only with version 5.6 and 5.7. I am not overly familiar with these versions and how different it would be to version 8.0.20.

有没有人经历过将 MySQL 数据库转换为 Aurora 的过程?我知道有 docs那里的主题,但他们处理版本 5.6 或 5.7,有人为更高版本做过吗?

Has anyone gone through the process of converting a MySQL database to Aurora? I know there are docs on the subject out there but they deal with version 5.6 or 5.7, has anyone done it for later versions?

我在 SQL 文件中拥有所有 MySQL 代码以及存储过程,因此可以在一定程度上自动化数据库创建,只是如果有人遇到问题/找到比运行多个 SQL 文件更好的方法传输数据.

I have all the MySQL code in SQL files along with the stored procedures so the database creation can be automated to an extent, it would just be if anyone has ran into issues doing it/found a better way than running multiple SQL files to transfer over data.

如果您已经完成了整个过程,MySQL 和 Aurora 在运行存储过程等方面是否存在重大差异?

If you have gone through the process are there major differences between MySQL and Aurora in terms of running stored procedures etc?

推荐答案

AWS Aurora 现在支持 MySQL 8:https://aws.amazon.com/blogs/database/amazon-aurora-mysql-3-with-mysql-8-0-compatibility-is-now-generally-available/

MySQL 8 is now supported in AWS Aurora: https://aws.amazon.com/blogs/database/amazon-aurora-mysql-3-with-mysql-8-0-compatibility-is-now-generally-available/

它们特别包括通过只读副本提升或从 rds 到 Aurora 的完整快照还原的迁移路径.

They include the migration path in particular through a read replica promotion or full snapshot restore from rds into aurora.

这篇关于将 MySQL 8.0.20 数据库迁移到 AWS Aurora的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

Mysql目录里的ibtmp1文件过大造成磁盘占满的解决办法
ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致...
2025-01-02 数据库问题
151

SQL 子句“GROUP BY 1"是什么意思?意思是?
What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)...
2024-04-16 数据库问题
62

MySQL groupwise MAX() 返回意外结果
MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)...
2024-04-16 数据库问题
13

MySQL SELECT 按组最频繁
MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)...
2024-04-16 数据库问题
16

为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同
Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)...
2024-04-16 数据库问题
13

MySQL GROUP BY DateTime +/- 3 秒
MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)...
2024-04-16 数据库问题
14