{"id":333054,"date":"2021-02-08T05:00:02","date_gmt":"2021-02-07T21:00:02","guid":{"rendered":"http:\/\/4563.org\/?p=333054"},"modified":"2021-02-08T05:00:02","modified_gmt":"2021-02-07T21:00:02","slug":"%e6%95%b0%e6%8d%ae%e5%ba%93%e8%bf%81%e7%a7%bb%ef%bc%8c%e6%81%a2%e5%a4%8d%e7%83%ad%e5%a4%87%e6%95%b0%e6%8d%ae%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e6%81%a2%e5%a4%8d%e4%b8%8d%e4%ba%86%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=333054","title":{"rendered":"\u6570\u636e\u5e93\u8fc1\u79fb\uff0c\u6062\u590d\u70ed\u5907\u6570\u636e\uff0c\u4e3a\u4ec0\u4e48\u6062\u590d\u4e0d\u4e86\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6570\u636e\u5e93\u8fc1\u79fb\uff0c\u6062\u590d\u70ed\u5907\u6570\u636e\uff0c\u4e3a\u4ec0\u4e48\u6062\u590d\u4e0d\u4e86\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Dreamerwwr <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u73af\u5883\u8bf4\u660e\uff1a mysql\uff1a5.7 innobackupex: 2.4.21<\/p>\n<p>\u70ed\u5907\u6570\u636e\uff08\u4ece\u4f4e\u7248\u672c\u7684 mysql \u5907\u4efd\u51fa\u6765\u7684\uff09\uff1a mysql\uff1a5.6.16, \u4ece\u4e0b\u9762\u770b\u51fa\u6765\u7684<\/p>\n<pre><code>[[email&#160;protected] logfile_bak]# cat xtrabackup_info uuid = 24a45c55-9d0c-11e9-999e-7cd30aeb1510 name = tool_name = innobackupex tool_command = --defaults-file=\/etc\/my3133.cnf --password=... --user=root --host=127.0.0.1 --port=3133 --tmpdir=\/home\/mysql\/backup\/3133 --rocksdb_checkpoint_path=\/mysqldata\/backup_tmp\/15526073_6461023 --rds-xb-fd-limits=400000 --slave-info --stream=xbstream --compress --rds-table-level \/home\/mysql\/backup\/3133 tool_version = 2.3.10 ibbackup_version = 2.3.10 server_version = 5.6.16-log start_time = 2019-07-02 23:39:56 end_time = 2019-07-03 04:58:29 lock_time = 1 binlog_pos = filename 'mysql-bin.000813', position 326799, GTID of the last change '5a2ce42e-9b9e-11e9-999e-98039b075e04:1-1954113' innodb_from_lsn = 0 innodb_to_lsn = 1064285712580 partial = N incremental = N format = xbstream compact = N compressed = compressed encrypted = N [[email&#160;protected] logfile_bak]# innobackupex -v xtrabackup: recognized server arguments: --datadir=\/data\/data --log_bin=mysql-bin --server-id=2 --log_bin=\/data\/data_log\/log_bin\/mysql-bin.log innobackupex version 2.4.21 Linux (x86_64) (revision id: 5988af5) <\/code><\/pre>\n<p>\u8fd9\u91cc\u6211\u4e25\u683c\u6309\u7167\u963f\u91cc\u4e91\u7684\u89c4\u8303\u6b65\u9aa4\u6765\u8fdb\u884c\u89e3\u5305\u3001\u89e3\u538b\u3001\u8fd8\u539f\u3002\u524d\u4e24\u6b65\u90fd\u6b63\u5e38\uff0c\u8fd8\u539f\u5374\u5361\u4f4f\u4e86\uff0c\u4e00\u76f4\u8fc7\u4e0d\u53bb\u3002\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n<pre><code>[[email&#160;protected] data]# innobackupex --defaults-file=\/data\/data\/backup-my.cnf --apply-log \/data\/data xtrabackup: recognized server arguments: --innodb_checksum_algorithm=innodb --innodb_log_checksum_algorithm=innodb --innodb_data_file_path=ibdata1:200M:autoextend --innodb_log_files_in_group=2 --innodb_log_file_size=1572864000 --innodb_fast_checksum=0 --innodb_page_size=16384 --innodb_log_block_size=512 --innodb_undo_directory=. --innodb_undo_tablespaces=0  xtrabackup: recognized client arguments:  210205 16:44:50 innobackupex: Starting the apply-log operation  IMPORTANT: Please check that the apply-log run completes successfully.            At the end of a successful apply-log run innobackupex            prints \"completed OK!\".  innobackupex version 2.4.21 based on MySQL server 5.7.32 Linux (x86_64) (revision id: 5988af5) xtrabackup: cd to \/data\/data\/ xtrabackup: This target seems to be not prepared yet. InnoDB: Number of pools: 1 xtrabackup: xtrabackup_logfile detected: size=9437184, start_lsn=(1064284351341) xtrabackup: using the following InnoDB configuration for recovery: xtrabackup:   innodb_data_home_dir = . xtrabackup:   innodb_data_file_path = ibdata1:200M:autoextend xtrabackup:   innodb_log_group_home_dir = . xtrabackup:   innodb_log_files_in_group = 1 xtrabackup:   innodb_log_file_size = 9437184 xtrabackup: using the following InnoDB configuration for recovery: xtrabackup:   innodb_data_home_dir = . xtrabackup:   innodb_data_file_path = ibdata1:200M:autoextend xtrabackup:   innodb_log_group_home_dir = . xtrabackup:   innodb_log_files_in_group = 1 xtrabackup:   innodb_log_file_size = 9437184 xtrabackup: Starting InnoDB instance for recovery. xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter) InnoDB: PUNCH HOLE support available InnoDB: Mutexes and rw_locks use GCC atomic builtins InnoDB: Uses event mutexes InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier InnoDB: Compressed tables use zlib 1.2.7 InnoDB: Number of pools: 1 InnoDB: Not using CPU crc32 instructions InnoDB: Initializing buffer pool, total size = 100M, instances = 1, chunk size = 100M InnoDB: Completed initialization of buffer pool InnoDB: page_cleaner coordinator priority: -20 InnoDB: Highest supported file format is Barracuda. InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql\/plugin at filepath: .\/mysql\/plugin.ibd uses space ID: 2. Cannot open filepath: .\/mysql\/innodb_index_stats.ibd which uses the same space ID. <\/code><\/pre>\n<p>\u6211\u68c0\u67e5\u4e86 <code>\/data\/data\/mysql<\/code> \u4e0b\uff0c\u770b\u5230\u662f\u6709 <code>innodb_index_stats.ibd<\/code> \u6587\u4ef6\u7684\uff0c\u8fd9\u91cc\u6211\u5b9e\u5728\u4e0d\u77e5\u9053\u8be5\u5982\u4f55\u64cd\u4f5c\u4e86\uff0c\u6709\u6ca1\u6709\u70ed\u5fc3\u7684\u7f51\u53cb\u6307\u5bfc\u4e00\u4e0b\uff0c\u7ed9\u4e2a\u601d\u8def\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5236152\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Dreamerwwr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8865\u5145\u4e00\u4e0b\u963f\u91cc\u4e91\u7684\u64cd\u4f5c\u6587\u6863\u5730\u5740\uff1a https:\/\/help.aliyun.com\/knowledge_detail\/41817.html?spm=a2c4g.11186623.6.766.6463323fy2zgeo#title-w9g-2cs-3fh<br \/>\u6211\u662f\u6309\u7167\u8fd9\u4e2a\u64cd\u4f5c\u6765\u7684\uff0c\u538b\u7f29\u6587\u4ef6\u662f\uff1a_qp.xb \u540e\u7f00.<br \/>\u9ebb\u70e6\u70ed\u5fc3\u7684\u5404\u4f4d\u6307\u5bfc\u4e00\u4e0b\uff0c\u4e0d\u80dc\u611f\u6fc0\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5236153\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bjt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u770b\u6587\u4ef6\u80fd\u5426\u6b63\u5e38\u8bfb\u53d6\uff0c\u6587\u4ef6\u7684\u6240\u5c5e\u7528\u6237\u3001\u6743\u9650\u662f\u5426\u6b63\u786e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5236154\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Dreamerwwr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bjt \u6743\u9650\u90fd\u662f\u6b63\u786e\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u5e93\u8fc1\u79fb\uff0c\u6062\u590d\u70ed\u5907\u6570\u636e\uff0c\u4e3a\u4ec0\u4e48\u6062&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/333054"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=333054"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/333054\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=333054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=333054"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=333054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}