{"id":406,"date":"2013-08-30T17:11:59","date_gmt":"2013-08-30T09:11:59","guid":{"rendered":"http:\/\/www.gpfeng.com\/?p=406"},"modified":"2013-08-30T18:15:15","modified_gmt":"2013-08-30T10:15:15","slug":"innodb-inplace-update%e5%8a%a0%e9%94%81%e6%b5%81%e7%a8%8b%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"http:\/\/www.gpfeng.com\/?p=406","title":{"rendered":"InnoDB inplace-update\u52a0\u9501\u6d41\u7a0b\u5206\u6790"},"content":{"rendered":"<p>\u7ebf\u4e0a\u9047\u5230\u4e00\u8d77\u6b7b\u9501\u95ee\u9898\uff0c\u4e00\u6761DELETE\u8bed\u53e5\u4e0e\u4e00\u6761UPDATE\u8bed\u53e5\u4ea7\u751f\u4e86\u6b7b\u9501\uff0c\u7ecf\u8fc7\u548c\u5370\u98ce\u7684\u8ba8\u8bba\u5206\u6790\u627e\u5230\u539f\u56e0\uff1aDELETE\u8bed\u53e5\u901a\u8fc7\u4e8c\u7ea7\u7d22\u5f15\u5220\u9664\u8bb0\u5f55\uff0c\u52a0\u9501\u987a\u5e8f\uff1a\u4e8c\u7ea7\u7d22\u5f15\uff08WHERE\u4f7f\u7528\u5230\u4e8c\u7ea7\u7d22\u5f15\uff09&#8211;>\u4e3b\u952e\u7d22\u5f15 &#8211;> \u6240\u6709\u5176\u5b83\u4e8c\u7ea7\u7d22\u5f15\uff0cUPDATE\u8bed\u53e5\u7684\u52a0\u9501\u987a\u5e8f\uff1a\u4e8c\u7ea7\u7d22\u5f15\uff08WHERE\u6761\u4ef6\u4f7f\u7528\u4e8c\u7ea7\u7d22\u5f15\uff09&#8211;>\u4e3b\u952e\u7d22\u5f15 &#8211;>\u5305\u542b\u66f4\u65b0\u5b57\u6bb5\u7684\u5176\u5b83\u4e8c\u7ea7\u7d22\u5f15\uff0c\u7531\u4e8eDELETE\u64cd\u4f5c\u66f4\u65b0\u4e86UPDATE\u8bed\u53e5WHERE\u6761\u4ef6\u4f7f\u7528\u5230\u7684\u7d22\u5f15\uff0c\u8fd9\u5bfc\u81f4DELETE\u4e0eUPDATE\u52a0\u9501\u987a\u5e8f\u76f8\u53cd\uff0c\u5bfc\u81f4\u6b7b\u9501<\/p>\n<p>\u4e3a\u4e86\u8fdb\u4e00\u6b65\u7814\u7a76InnoDB update\u64cd\u4f5c\u52a0\u9501\u6d41\u7a0b\uff0c\u8fdb\u884c\u4e86\u4e0b\u5217\u5b9e\u9a8c\uff08update\u64cd\u4f5c\u4e3ainplace-update\uff09\uff0c\u5173\u4e8emysql update\u7684\u4e0a\u5c42\u8c03\u7528\u53ef\u4ee5\u53c2\u8003: <a href=\"http:\/\/www.gpfeng.com\/?p=117\">MySQL update\u8bed\u6cd5SQL\u89e3\u6790\u6e90\u7801\u5206\u6790<\/a> \u548c <a href=\"http:\/\/www.gpfeng.com\/?p=134\">Oracle\/PostgreSQL UPDATE\u2026RETURNING\u2026\u5728MySQL\u4e2d\u7684\u5b9e\u73b0<\/a><br \/>\n<!--more--><\/p>\n<h3>\u5b9e\u9a8c\u6570\u636e<\/h3>\n<pre lang=\"mysql\">\r\nmysql> show create table t\\G\r\n*************************** 1. row ***************************\r\n       Table: t\r\nCreate Table: CREATE TABLE `t` (\r\n  `id` int(11) NOT NULL AUTO_INCREMENT,\r\n  `a` int(11) DEFAULT NULL,\r\n  `b` int(11) DEFAULT NULL,\r\n  `c` int(11) DEFAULT NULL,\r\n  PRIMARY KEY (`id`),\r\n  KEY `idx_a_b` (`a`,`b`),\r\n  KEY `idx_b` (`b`)\r\n) ENGINE=InnoDB\r\n1 row in set (12.27 sec)\r\n\r\nmysql> select * from t;\r\n+----+------+------+------+\r\n| id | a    | b    | c    |\r\n+----+------+------+------+\r\n|  1 | 6546 | 6238 | 1551 |\r\n|  2 | 9042 |  558 | 5664 |\r\n|  3 | 6644 | 6230 | 1216 |\r\n|  4 | 7391 | 3308 | 4365 |\r\n|  5 | 1900 | 6408 | 6337 |\r\n|  6 | 2461 | 3296 | 9096 |\r\n|  7 | 5593 |  676 | 6600 |\r\n|  8 |  972 | 5062 | 2391 |\r\n|  9 | 6773 | 6688 | 3123 |\r\n| 10 | 5550 | 8383 | 5266 |\r\n| 11 | 1181 |   93 | 6932 |\r\n| 12 | 4378 | 1097 | 2351 |\r\n| 13 | 8461 | 5255 |  891 |\r\n| 14 | 8690 |  775 | 7808 |\r\n| 15 | 6712 |  137 |  549 |\r\n| 16 | 2335 |   27 | 3128 |\r\n+----+------+------+------+\r\n16 rows in set (0.00 sec)\r\n<\/pre>\n<h3>update\u8bed\u53e5\uff1a<\/h3>\n<pre lang=\"mysql\">update t set a=a+1 where b=93;<\/pre>\n<h3>read\u9636\u6bb51\uff1a<\/h3>\n<p><strong>row_search_for_mysql\uff0c\u5bf9\u627e\u5230\u7684\u4e8c\u7ea7\u7d22\u5f15\u8bb0\u5f55\u52a0 LOCK_X\uff08LOCK_ORDINARY\uff09\u9501\uff08index->name=idx_b\uff09<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  lock_rec_lock (impl=0, mode=3, block=0x7f4543967d00, heap_no=3, index=0x7f4520023b68, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:2118\r\n#1  0x0000000000917397 in lock_sec_rec_read_check_and_lock (flags=<value optimized out>, block=0x7f4543967d00, rec=0x7f45c1af408c \"\\200\", index=0x7f4520023b68, \r\n    offsets=0x7f452db6ff80, mode=<value optimized out>, gap_mode=0, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:5477\r\n#2  0x0000000000856137 in sel_set_rec_lock (block=0x7f4543967d00, rec=0x7f45c1af408c \"\\200\", index=0x7f4520023b68, offsets=0x7f452db6ff80, \r\n    mode=<value optimized out>, type=<value optimized out>, thr=0x7f452000dd68)\r\n    at storage\/innobase\/row\/row0sel.c:1007\r\n#3  0x000000000085937d in row_search_for_mysql (buf=0x7f452000bf20 \"\\377\", mode=2, prebuilt=<value optimized out>, match_mode=1, direction=<value optimized out>)\r\n    at storage\/innobase\/row\/row0sel.c:4280\r\n#4  0x00000000008306a5 in ha_innobase::index_read (this=0x7f45200085d0, buf=0x7f452000bf20 \"\\377\", key_ptr=0x7f452002a198 \"\", key_len=5, \r\n    find_flag=<value optimized out>) at storage\/innobase\/handler\/ha_innodb.cc:6477\r\n#5  0x000000000068d69f in handler::read_range_first (this=0x7f45200085d0, start_key=<value optimized out>, end_key=<value optimized out>, \r\n    eq_range_arg=<value optimized out>, sorted=<value optimized out>) at sql\/handler.cc:4527\r\n#6  0x000000000068af26 in handler::read_multi_range_first (this=0x7f45200085d0, found_range_p=0x7f452db70418, ranges=<value optimized out>, \r\n    range_count=<value optimized out>, sorted=<value optimized out>, buffer=<value optimized out>)\r\n    at sql\/handler.cc:4401\r\n#7  0x00000000007451b6 in QUICK_RANGE_SELECT::get_next (this=0x7f4520023370) at sql\/opt_range.cc:8711\r\n#8  0x000000000075f12b in rr_quick (info=0x7f452db70700) at sql\/records.cc:344\r\n#9  0x00000000005f7b36 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:644\r\n<\/pre>\n<h3>read\u9636\u6bb52\uff1a<\/h3>\n<p><strong>row_search_for_mysql\uff0c\u5bf9\u627e\u5230\u7684\u4e3b\u952e\u7d22\u5f15\u8bb0\u5f55\u52a0 LOCK_X\uff08LOCK_REC_NOT_GAP\uff09\u9501\uff08index->name=PRIMARY\uff09<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  lock_rec_lock (impl=0, mode=1027, block=0x7f454396c840, heap_no=12, index=0x7f452000d238, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:2118\r\n#1  0x0000000000917089 in lock_clust_rec_read_check_and_lock (flags=<value optimized out>, block=0x7f454396c840, rec=0x7f45c1ba01dc \"\\200\", index=0x7f452000d238, \r\n    offsets=<value optimized out>, mode=<value optimized out>, gap_mode=1024, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:5551\r\n#2  0x000000000085a0f8 in row_sel_get_clust_rec_for_mysql (buf=0x7f452000bf20 \"\\377\", mode=2, prebuilt=<value optimized out>, match_mode=1, \r\n    direction=<value optimized out>) at storage\/innobase\/row\/row0sel.c:2976\r\n#3  row_search_for_mysql (buf=0x7f452000bf20 \"\\377\", mode=2, prebuilt=<value optimized out>, match_mode=1, direction=<value optimized out>)\r\n    at storage\/innobase\/row\/row0sel.c:4478\r\n#4  0x00000000008306a5 in ha_innobase::index_read (this=0x7f45200085d0, buf=0x7f452000bf20 \"\\377\", key_ptr=0x7f452002a198 \"\", key_len=5, \r\n    find_flag=<value optimized out>) at storage\/innobase\/handler\/ha_innodb.cc:6477\r\n#5  0x000000000068d69f in handler::read_range_first (this=0x7f45200085d0, start_key=<value optimized out>, end_key=<value optimized out>, \r\n    eq_range_arg=<value optimized out>, sorted=<value optimized out>) at sql\/handler.cc:4527\r\n#6  0x000000000068af26 in handler::read_multi_range_first (this=0x7f45200085d0, found_range_p=0x7f452db70418, ranges=<value optimized out>, \r\n    range_count=<value optimized out>, sorted=<value optimized out>, buffer=<value optimized out>)\r\n    at sql\/handler.cc:4401\r\n#7  0x00000000007451b6 in QUICK_RANGE_SELECT::get_next (this=0x7f4520023370) at sql\/opt_range.cc:8711\r\n#8  0x000000000075f12b in rr_quick (info=0x7f452db70700) at sql\/records.cc:344\r\n#9  0x00000000005f7b36 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:644\r\n<\/pre>\n<h3>update\u9636\u6bb51\uff1a<\/h3>\n<p><strong>row_upd_clust_step\uff0c\u66f4\u65b0\u4e3b\u952e\u7d22\u5f15\u8bb0\u5f55<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  row_upd_clust_step (node=0x7f4520022258, thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2127\r\n#1  0x000000000086217e in row_upd (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2317\r\n#2  row_upd_step (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2457\r\n#3  0x000000000084ca71 in row_update_for_mysql (mysql_rec=<value optimized out>, prebuilt=0x7f452000b328)\r\n    at storage\/innobase\/row\/row0mysql.c:1462\r\n#4  0x00000000008328b1 in ha_innobase::update_row (this=0x7f45200085d0, old_row=0x7f452000bf38 \"\\361\\v\", new_row=0x7f452000bf20 \"\\361\\v\")\r\n    at storage\/innobase\/handler\/ha_innodb.cc:6042\r\n#5  0x000000000068e48a in handler::ha_update_row (this=0x7f45200085d0, old_data=0x7f452000bf38 \"\\361\\v\", new_data=0x7f452000bf20 \"\\361\\v\")\r\n    at sql\/handler.cc:5031\r\n#6  0x00000000005f8139 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:713\r\n<\/pre>\n<h3>update\u9636\u6bb52\uff1a<\/h3>\n<p><strong>row_upd_sec_step\uff0c\u66f4\u65b0\u4e8c\u7ea7\u7d22\u5f15\u8bb0\u5f55\uff08node->index->name = idx_a_b\uff09<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  row_upd_sec_index_entry (node=0x7f4520022258, thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:1583\r\n#1  0x0000000000862337 in row_upd_sec_step (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:1710\r\n#2  row_upd (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2340\r\n#3  row_upd_step (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2457\r\n#4  0x000000000084ca71 in row_update_for_mysql (mysql_rec=<value optimized out>, prebuilt=0x7f452000b328)\r\n    at storage\/innobase\/row\/row0mysql.c:1462\r\n#5  0x00000000008328b1 in ha_innobase::update_row (this=0x7f45200085d0, old_row=0x7f452000bf38 \"\\361\\v\", new_row=0x7f452000bf20 \"\\361\\v\")\r\n    at storage\/innobase\/handler\/ha_innodb.cc:6042\r\n#6  0x000000000068e48a in handler::ha_update_row (this=0x7f45200085d0, old_data=0x7f452000bf38 \"\\361\\v\", new_data=0x7f452000bf20 \"\\361\\v\")\r\n    at sql\/handler.cc:5031\r\n#7  0x00000000005f8139 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:713\r\n<\/pre>\n<h3>\u63a5update\u9636\u6bb52<\/h3>\n<p><strong>\u4e8c\u7ea7\u7d22\u5f15\u8bb0\u5f55\u52a0\u9501LOCK_X(LOCK_REC_NOT_GAP)\uff08index->name = idx_a_b\uff09<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  lock_rec_lock (impl=1, mode=1027, block=0x7f4543968080, heap_no=3, index=0x7f4520024a18, thr=0x7f4520022558)\r\n    at storage\/innobase\/lock\/lock0lock.c:2118\r\n#1  0x00000000009175c0 in lock_sec_rec_modify_check_and_lock (flags=<value optimized out>, block=0x7f4543968080, rec=<value optimized out>, index=0x7f4520024a18, \r\n    thr=0x7f4520022558, mtr=0x7f452db6fcb0) at storage\/innobase\/lock\/lock0lock.c:5377\r\n#2  0x000000000089e1bc in btr_cur_del_mark_set_sec_rec (flags=<value optimized out>, cursor=<value optimized out>, val=<value optimized out>, \r\n    thr=<value optimized out>, mtr=0x7f452db6fcb0) at storage\/innobase\/btr\/btr0cur.c:2969\r\n#3  0x0000000000861133 in row_upd_sec_index_entry (node=0x7f4520022258, thr=0x7f4520022558)\r\n    at storage\/innobase\/row\/row0upd.c:1648\r\n#4  0x0000000000862337 in row_upd_sec_step (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:1710\r\n#5  row_upd (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2340\r\n#6  row_upd_step (thr=0x7f4520022558) at storage\/innobase\/row\/row0upd.c:2457\r\n#7  0x000000000084ca71 in row_update_for_mysql (mysql_rec=<value optimized out>, prebuilt=0x7f452000b328)\r\n    at storage\/innobase\/row\/row0mysql.c:1462\r\n#8  0x00000000008328b1 in ha_innobase::update_row (this=0x7f45200085d0, old_row=0x7f452000bf38 \"\\361\\v\", new_row=0x7f452000bf20 \"\\361\\v\")\r\n    at storage\/innobase\/handler\/ha_innodb.cc:6042\r\n#9  0x000000000068e48a in handler::ha_update_row (this=0x7f45200085d0, old_data=0x7f452000bf38 \"\\361\\v\", new_data=0x7f452000bf20 \"\\361\\v\")\r\n    at sql\/handler.cc:5031\r\n#10 0x00000000005f8139 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:713\r\n<\/pre>\n<h3>select\u9636\u6bb5\u7ed3\u675f<\/h3>\n<p><strong>\u9501\u4f4f\u6700\u540e\u4e00\u6761\u8bb0\u5f55\u7684\u4e0b\u4e00\u6761\u8bb0\u5f55\u7684\u95f4\u9699LOCK_X\uff08LOCK_GAP\uff09\uff0c\u9632\u6b62select\u9636\u6bb5\u6709\u6570\u636e\u63d2\u5165\uff08index->name=idx_b\uff09<\/strong><\/p>\n<pre lang=\"c\">\r\n#0  lock_rec_lock (impl=0, mode=515, block=0x7f4543967d00, heap_no=4, index=0x7f4520023b68, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:2118\r\n#1  0x0000000000917397 in lock_sec_rec_read_check_and_lock (flags=<value optimized out>, block=0x7f4543967d00, rec=0x7f45c1af409a \"\\200\", index=0x7f4520023b68, \r\n    offsets=0x7f452db6ffc0, mode=<value optimized out>, gap_mode=512, thr=0x7f452000dd68)\r\n    at storage\/innobase\/lock\/lock0lock.c:5477\r\n#2  0x0000000000856137 in sel_set_rec_lock (block=0x7f4543967d00, rec=0x7f45c1af409a \"\\200\", index=0x7f4520023b68, offsets=0x7f452db6ffc0, \r\n    mode=<value optimized out>, type=<value optimized out>, thr=0x7f452000dd68)\r\n    at storage\/innobase\/row\/row0sel.c:1007\r\n#3  0x000000000085a681 in row_search_for_mysql (buf=0x7f452000bf20 \"\\361\\v\", mode=2, prebuilt=<value optimized out>, match_mode=1, direction=<value optimized out>)\r\n    at storage\/innobase\/row\/row0sel.c:4207\r\n#4  0x000000000083211e in ha_innobase::general_fetch (this=0x7f45200085d0, buf=0x7f452000bf20 \"\\361\\v\", direction=1, match_mode=1)\r\n    at storage\/innobase\/handler\/ha_innodb.cc:6730\r\n#5  0x000000000068a68d in handler::read_multi_range_next (this=0x7f45200085d0, found_range_p=0x7f452db70418)\r\n    at sql\/handler.cc:4443\r\n#6  0x00000000007450a1 in QUICK_RANGE_SELECT::get_next (this=0x7f4520023370) at sql\/opt_range.cc:8684\r\n#7  0x000000000075f12b in rr_quick (info=0x7f452db70700) at sql\/records.cc:344\r\n#8  0x00000000005f7b36 in mysql_update (thd=0x6e01ad0, table_list=0x7f4520004cb0, fields=..., values=..., conds=0x7f45200056a0, order_num=<value optimized out>, \r\n    order=0x7f452db70700, limit=18446744073709551614, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f452db713d0, updated_return=0x7f452db713c8)\r\n    at sql\/sql_update.cc:644\r\n<\/pre>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5728InnoDB\u4e2d\uff0c\u901a\u8fc7\u4e8c\u7ea7\u7d22\u5f15\u66f4\u65b0\u8bb0\u5f55\uff0c\u9996\u5148\u4f1a\u5728WHERE\u6761\u4ef6\u4f7f\u7528\u5230\u7684\u4e8c\u7ea7\u7d22\u5f15\u4e0a\u52a0Next-key\u7c7b\u578b\u7684X\u9501\uff0c\u4ee5\u9632\u6b62\u67e5\u627e\u8bb0\u5f55\u671f\u95f4\u7684\u5176\u5b83\u63d2\u5165\/\u5220\u9664\u8bb0\u5f55\uff0c\u7136\u540e\u901a\u8fc7\u4e8c\u7ea7\u7d22\u5f15\u627e\u5230primary key\u5e76\u5728primary key\u4e0a\u52a0Record\u7c7b\u578b\u7684X\u9501\uff08\u4e4b\u6240\u4ee5\u4e0d\u662fNext-key\uff0c\u662f\u56e0\u4e3a\u67e5\u8be2\u6761\u4ef6\u662f\u4e8c\u7ea7\u7d22\u5f15\uff0c\u82e5WHERE\u6761\u4ef6\u4f7f\u7528\u5230\u7684\u662fprimary key\uff0c\u5c31\u4f1a\u4e0aNext-key\u7c7b\u578b\u7684X\u9501\uff09\uff0c\u4e4b\u540e\u66f4\u65b0\u8bb0\u5f55\u5e76\u68c0\u67e5\u66f4\u65b0\u5b57\u6bb5\u662f\u5426\u662f\u5176\u5b83\u7d22\u5f15\u4e2d\u7684\u67d0\u5217\uff0c\u5982\u679c\u5b58\u5728\u8fd9\u6837\u7684\u7d22\u5f15\uff0c\u901a\u8fc7update\u7684\u65e7\u503c\u5230\u4e8c\u7ea7\u7d22\u5f15\u4e2d\u5220\u9664\u76f8\u5e94\u7684entry\uff0c\u6b64\u65f6x\u9501\u7c7b\u578b\u4e3aRecord<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7ebf\u4e0a\u9047\u5230\u4e00\u8d77\u6b7b\u9501\u95ee\u9898\uff0c\u4e00\u6761DELETE\u8bed\u53e5\u4e0e\u4e00\u6761UPDATE\u8bed\u53e5\u4ea7\u751f\u4e86\u6b7b\u9501\uff0c\u7ecf\u8fc7\u548c\u5370\u98ce\u7684\u8ba8\u8bba\u5206\u6790\u627e\u5230\u539f\u56e0\uff1aDE &hellip; <a href=\"http:\/\/www.gpfeng.com\/?p=406\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">InnoDB inplace-update\u52a0\u9501\u6d41\u7a0b\u5206\u6790<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3tPZp-6y","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/406"}],"collection":[{"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406"}],"version-history":[{"count":13,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions"}],"predecessor-version":[{"id":418,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions\/418"}],"wp:attachment":[{"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gpfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}