本文介绍了通过命令行使用SQL文件恢复mysql社区服务器(GPL)400GB +数据库?需要多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 I have a case where I want to restore MySQL Community Server (GPL) 400GB+ database using SQL file via command line. Reading data from the external (backup) drive and writing on OS HDD drive (restore).Server Config: Processor - 2.0 GHz, RAM - 64 GB, System type - 64-bit, Windows edition - Windows Server 2012 R2 StandardI'm using MySQL Community Edition (GPL) and InnoDB version 5.6.17Database Structure - database is having 283 table, 15 indexes, and 10 triggers. Database Complexity - Moderate (single table referred in 5-6 tables, where a single table includes more than 180 fields).1. What is the best approach to do this?2. How long should it take to do this if the uncompressed dump is 400 GB? 我尝试了什么: 采用最佳方法... 我尝试过40-50 GB恢复相同的数据库,大约需要12小时。What I have tried:Working on the best approach...I have tried 40-50 GB restore for the same database, it took around 12hrs.推荐答案 阅读以下内容:如何以最高速度恢复MySQL逻辑备份 - Percona数据库性能博客 [ ^ ] Read the following : How to Restore MySQL Logical Backup at Maximum Speed - Percona Database Performance Blog[^] 这篇关于通过命令行使用SQL文件恢复mysql社区服务器(GPL)400GB +数据库?需要多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 02:33