亚马逊RDS数据库专用服务器亚马逊、服务器、数据库、RDS

由网友(星河几重)分享简介:我经历了这个答案在这里:AWS的RDS 的用mysqldump但是,很显然,它给了我不知道。我打算怎么办? 我在亚马逊上运行的RDS实例和数据库是约450+表,这是mysqldump的数据的疯狂数量。我希望把它甩了,这样我可以从AWS迁移到专用的。这是什么问题? 据冻结一旦我开始通过adminer以转储。快照提供了可...

我经历了这个答案在这里:AWS的RDS 的用mysqldump 但是,很显然,它给了我不知道。

我打算怎么办?

我在亚马逊上运行的RDS实例和数据库是约450+表,这是mysqldump的数据的疯狂数量。我希望把它甩了,这样我可以从AWS迁移到专用的。

这是什么问题?

据冻结一旦我开始通过adminer以转储。快照提供了可用于从一个地区到另一个地区的格式,但是,我希望把它说.. SQL格式(保持简单),然后将其传输到我的专用服务器。

任何想法?

解决方案   

450+表,这对于sqldump数据的一个疯狂量

假设你的意思 mysqldump的,这不是一个准确的说法。我经常使用mysqldump的系统与10000表和数亿行。恢复新的服务器上的数据可能需要一些时间,但这是任何东西存储在你所谓的真正的SQL格式。

- 单交易中的mysqldump将提取所有InnoDB表的一致性快照选项;在 - COM preSS 选项mysqldump的将使用MySQL的COM pressed客户端/服务器协议,以减少需要来提取数据时无需改变转储文件的内容;当然还有 - 事件 - 触发器 - 程序选项是非常重要的。

I went through this answer here: Mysqldump of the AWS RDS But, apparently, it gave me no clue.

What I intend to do?

aws rds恢复数据库 Amazon RDS – AWS关系数据库服务

I have an RDS instance running on amazon and database is about 450+ tables, which is an insane amount of data for mysqldump. I wish to have it dumped so that I can migrate it from AwS to Dedicated.

What is the problem?

It freezes once I start taking the dump via adminer. Snapshot gives a format which can be used from one region to another but, I wish to have it in say.. SQL format (to keep it simple) and then transfer it to my dedicated server.

Any ideas?

解决方案

450+ tables, which is an insane amount of data for sqldump

Assuming you mean mysqldump, that's not an accurate statement. I routinely use mysqldump on systems with 10,000+ tables and hundreds of millions of rows. Restoring the data on the new server may take some time, but that's true of anything stored in what you called "SQL format."

The --single-transaction option in mysqldump will extract a consistent snapshot of all InnoDB tables; the --compress option to mysqldump will use the mysql compressed client/server protocol to reduce the time it takes to extract the data without changing the contents of the dump file; and of course the --events --triggers and --routines options are important.

阅读全文

相关推荐

最新文章