- 1、本文档共13页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MySQL平台数据库备份方案详细说明(MySQL platform database backup program details)
MySQL平台数据库备份方案详细说明(MySQL platform database backup program details)
Administrators already know that tables have been destroyed. Its never a good thing to try to edit them directly with an editor such as VI or Emacs!
The two primary method of backing up a database is to copy a database file directly with a mysqldump program (such as CP, CPIO, or tar). Each method has its advantages and disadvantages:
Mysqldump cooperates with MySQL server. The direct copy method is performed outside the server, and you must take steps to ensure that no clients are modifying the tables you will copy. If you want to backup the database file system backup, also has the same problem: if the database table is modified in the file system backup process, inconsistent backup table file into the subject, and on the recovery table will lose its meaning. The difference between a filesystem backup and a direct copy file is the latter. You completely control the backup process so that you can take steps to ensure that the server keeps the table undisturbed.
Mysqldump is slower than direct copy.
Mysqldump generates text files that can be ported to other machines, even machines that have different hardware structures. Direct copy files cannot be ported to other machines unless you are copying tables using the MyISAM storage format. The ISAM table can only be copied on a machine with similar hardware structures. The MyISAM table storage format introduced in MySQL 3.23 solves the problem because the format is machine independent, so direct copy files can be ported to machines with different hardware structures. Just meet two criteria: another machine must also run MySQL 3.23 or later, and the file must be represented in MyISAM format instead of ISAM format.
No matter which backup method you use, if you need to restore the database, there are several principles that should be followed to ensure the best results:
Implement backup regularly. Establish a plan and adhere strictly to it.
Let the server per
您可能关注的文档
- 用第三方物流实施联合库存(Using third party logistics to implement joint inventory).doc
- 由翻阅Wired、男人装iPad版杂志谈怎样做一名技术编辑(By reading Wired, men pack iPad magazine, talk about how to be a technical editor).doc
- 甲减的治疗和对下一代的危害(The treatment of hypothyroidism and its harm to the next generation).doc
- 甲亢患者心率变异性分析(Analysis of heart rate variability in patients with hyperthyroidism).doc
- 由联想收购IBM PC部门论企业文化整合问题(The acquisition of IBM PC department by Lenovo to discuss the integration of corporate culture).doc
- 甲古文(Oracle).doc
- 甲状腺肿瘤(Thyroid neoplasms).doc
- 甲磺酸培氟沙星注射液(pefloxacin mesylate injection).doc
- 甲磺酸培氟沙星片(Pefloxacin Mesylate Tablets).doc
- 甲肝知识与传播途径(Hepatitis a knowledge and route of transmission).doc
- 安全生产考核奖惩制度3篇.doc
- 颅脑损伤病人的护理查房【优质公开课】精品PPT课件模板.pptx
- 二零二二年度德州继续教育公需科目《公共事务管理与服务能力》试题及答案.pdf
- 二零二二年度党风廉政建设知识竞赛题库(含答案).pdf
- 二零二二年度度枣庄市专业技术人员继续教育公需科目培训班互动题.pdf
- 二零二二年度儿童保健学试题库(含答案).pdf
- 二零二二年度第十九届中国东南地区数学奥林匹克竞赛高一试题(含答案).pdf
- 二零二二年度动物卫生监督题库(含答案).pdf
- 黑龙江省大庆市重点中学2023-2025学年高一下学期2月开学考试英语试题(含解析).docx
- 二零二二年度法检书记员招考《公基》测试题库(含答案).pdf
文档评论(0)