{"id":10020401,"date":"2024-11-21T00:54:23","date_gmt":"2024-11-20T16:54:23","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020401"},"modified":"2024-11-21T00:54:23","modified_gmt":"2024-11-20T16:54:23","slug":"starrocks-%e7%89%a9%e5%8c%96%e8%a7%86%e5%9b%be%e5%88%b7%e6%96%b0%e6%b5%81%e7%a8%8b%e5%92%8c%e5%8e%9f%e7%90%86","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020401","title":{"rendered":"StarRocks \u7269\u5316\u89c6\u56fe\u5237\u65b0\u6d41\u7a0b\u548c\u539f\u7406"},"content":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u7ed9 StarRocks \u7684\u7269\u5316\u89c6\u56fe\u65b0\u589e\u4e86\u4e00\u4e2a<a href=\"https:\/\/link.segmentfault.com\/?enc=e7Wj7%2FV8QP4o%2FpvAXfw80Q%3D%3D.LiTHAIWu7ZAUwvEXqG5telb3y2VSWW520qgwP2ENfUYYVYIXCu7SMUTc%2FUkl64xwuPeA87hHmtNd25z0o4WS3w%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\u7279\u6027<\/a>\uff0c\u90a3\u4e5f\u662f\u6211\u7b2c\u4e00\u6b21\u63a5\u89e6 StarRocks\uff0c\u56e0\u4e3a\u5b8c\u5168\u4e0d\u719f\u6089\u8fd9\u4e2a\u6570\u636e\u5e93\uff0c\u6240\u4ee5\u5f88\u591a\u4e1c\u897f\u90fd\u662f\u4ece\u5934\u5f00\u59cb\u4e86\u89e3\u6982\u5ff5\u3002<\/p>\n<p>\u4e3a\u4e86\u80fd\u987a\u5229\u7684\u65b0\u589e\u8fd9\u4e2a\u7279\u6027\uff08\u5177\u4f53\u5185\u5bb9\u53ef\u4ee5\u89c1\u540e\u6587\uff09\uff0c\u6211\u9700\u8981\u628a\u6574\u4e2a\u7269\u5316\u89c6\u56fe\u7684\u6d41\u7a0b\u4e32\u8054\u4e00\u904d\uff0c\u4e8e\u662f\u4fbf\u6709\u4e86\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d\u7b80\u5355\u4e86\u89e3\u4e0b\u7269\u5316\u89c6\u56fe\u7684\u57fa\u672c\u6982\u5ff5\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485525\" alt=\"image.png\" title=\"image.png\"><\/p>\n<p>\u7b80\u5355\u6765\u8bf4\uff0c\u89c6\u56fe\u548c MySQL \u8fd9\u7c7b\u4f20\u7edf\u6570\u636e\u5e93\u7684\u6982\u5ff5\u7c7b\u4f3c\uff0c\u4e5f\u662f\u7528\u4e8e\u89e3\u51b3\u5927\u91cf\u6d88\u8017\u6027\u80fd\u7684 SQL \u7684\uff0c\u53ef\u4ee5\u63d0\u524d\u5c06\u8fd9\u4e9b\u6570\u636e\u67e5\u8be2\u597d\u7136\u540e\u653e\u5728\u4e00\u5f20\u5355\u72ec\u7684\u8868\u4e2d\uff0c\u8fd9\u6837\u518d\u67e5\u8be2\u7684\u65f6\u5019\u6027\u80fd\u6d88\u8017\u5c31\u6bd4\u8f83\u4f4e\u4e86\u3002<\/p>\n<p>&lt;!&#8211;more&#8211;&gt;<\/p>\n<h2>\u5237\u65b0\u6761\u4ef6<\/h2>\n<p>\u4e3a\u4e86\u4fdd\u8bc1\u89c6\u56fe\u6570\u636e\u7684\u5b9e\u65f6\u6027\uff0c\u8fd8\u9700\u8981\u5728\u6570\u636e\u53d1\u751f\u53d8\u5316\u7684\u65f6\u5019\u80fd\u591f\u53ca\u65f6\u5237\u65b0\u89c6\u56fe\u91cc\u7684\u6570\u636e\uff0c\u76ee\u524d\u6709\u8fd9\u51e0\u4e2a\u5730\u65b9\u4f1a\u89e6\u53d1\u89c6\u56fe\u5237\u65b0\uff1a<br \/><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485526\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<ul>\n<li>\u624b\u52a8\u5237\u65b0\u89c6\u56fe\uff0c\u4f7f\u7528 <code>REFRESH MATERIALIZED VIEW order_mv;<\/code> \u8bed\u53e5<\/li>\n<li>\u5c06\u89c6\u56fe\u8bbe\u7f6e\u4e3a active \u72b6\u6001\uff1a<code>ALTER MATERIALIZED VIEW order_mv ACTIVE;<\/code><\/li>\n<li>\n<p>\u57fa\u8868\u6570\u636e\u53d1\u751f\u53d8\u5316\u65f6\u89e6\u53d1\u5237\u65b0\u3002<\/p>\n<ul>\n<li><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485527\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/li>\n<\/ul>\n<\/li>\n<li>truncate \u57fa\u8868\u65f6\u89e6\u53d1\u5237\u65b0\uff1a<code>truncate table trunc_db.t1;<\/code><\/li>\n<li>drop partition \u65f6\u89e6\u53d1\uff1a<code>ALTER TABLE &lt;tbl_name&gt; DROP PARTITION(S) p0, p1 [, ...];<\/code><\/li>\n<\/ul>\n<p>\u8fd9\u91cc\u7684 truncate table  \u548c drop partition \u76ee\u524d\u7684\u7248\u672c\u8fd8\u5b58\u5728 bug\uff1a\u5f53\u57fa\u8868\u548c\u7269\u5316\u89c6\u56fe\u4e0d\u5728\u4e00\u4e2a\u6570\u636e\u5e93\u65f6\u4e0d\u4f1a\u89e6\u53d1\u81ea\u52a8\u5237\u65b0\uff0c\u76ee\u524d\u5df2\u7ecf\u4fee\u590d\u4e86\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485528\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<ul>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=Db2mRUL%2F4JoveHo%2FgqWb6w%3D%3D.2LFp8%2B8fCXag71EKu8gv%2BfL0DeZxFAk4p%2F7HmfWnlotDxbAoMbf%2F8s0%2B1VNo3%2Bcrxzfcde4LY9G4ry1SYGh5sQ%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/StarRocks\/starrocks\/pull\/52618<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=EWpdCFzIobpMHF9o%2FX%2FR4w%3D%3D.zfwnx3%2FRqzBBsQTrsnAJRD6%2BdqLAWqWVomtKTvoNIz5ZzkW8xq%2BEhbRMkq5uY6NR6dwPgjdy3pKu%2F9wkd2GQxw%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/StarRocks\/starrocks\/pull\/52295<\/a><\/li>\n<\/ul>\n<h2>\u5237\u65b0\u6d41\u7a0b<\/h2>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485529\" alt=\"image.png\" title=\"image.png\" loading=\"lazy\"><\/p>\n<p>\u5982\u56fe\u6240\u793a\uff0c\u5f53\u89e6\u53d1\u4e00\u6b21\u5237\u65b0\u4e4b\u540e\u4e3b\u8981\u5c31\u662f\u9700\u8981\u8ba1\u7b97\u51fa\u9700\u8981\u5237\u65b0\u7684\u5206\u533a\u3002<\/p>\n<p>\u7b2c\u4e00\u6b21\u89e6\u53d1\u5237\u65b0\u7684\u65f6\u5019\u662f\u4e0d\u4f1a\u5e26\u4e0a\u5468\u671f\uff08\u6bd4\u5982\u65f6\u95f4\u8303\u56f4\uff09\uff0c\u7136\u540e\u6839\u636e\u8fc7\u6ee4\u8ba1\u7b97\u51fa\u6765\u7684\u5468\u671f\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u4f1a\u4f7f\u7528\u7b2c\u4e00\u4e2a\u5468\u671f\uff08\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 <code>partition_refresh_number<\/code> \u53c2\u6570\u6765\u8c03\u6574\u5355\u6b21\u5237\u65b0\u7684\u5206\u533a\u6570\u91cf\uff09\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485530\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u7136\u540e\u5982\u679c\u8fd8\u6709\u5176\u4f59\u7684\u5468\u671f\uff0c\u4f1a\u5c06\u8fd9\u4e9b\u5468\u671f\u91cd\u65b0\u89e6\u53d1\u4e00\u6b21\u5237\u65b0\u4efb\u52a1\uff08\u4f1a\u5e26\u4e0a\u521a\u624d\u5269\u4f59\u7684\u5468\u671f\u6570\u636e\uff09\uff0c\u8fd9\u6837\u8fdb\u884c\u9012\u5f52\u6267\u884c\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485531\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u901a\u8fc7\u65e5\u5fd7\u4f1a\u770b\u5230\u8fd4\u56de\u7684\u5206\u533a\u6570\u636e\u3002<\/p>\n<h2>\u65b0\u589e\u4f18\u5316\u53c2\u6570<\/h2>\n<p>\u6211\u4eec\u5728\u4f7f\u7528\u7269\u5316\u89c6\u56fe\u7684\u65f6\u5019\uff0c\u78b0\u5230\u4e00\u4e2a\u573a\u666f\uff1a<\/p>\n<pre><code class=\"sql\">CREATE TABLE IF NOT EXISTS test.par_tbl1\n(\n    datekey DATETIME,\n    k1      INT,\n    item_id STRING,\n    v2      INT\n)PRIMARY KEY (`datekey`,`k1`)\n PARTITION BY date_trunc('day', `datekey`);\n\n CREATE TABLE IF NOT EXISTS test.par_tbl2\n(\n    datekey DATETIME,\n    k1      INT,\n    item_id STRING,\n    v2      INT\n)PRIMARY KEY (`datekey`,`k1`)\n PARTITION BY date_trunc('day', `datekey`);\n\n CREATE TABLE IF NOT EXISTS test.par_tbl3\n(\n    datekey DATETIME,\n    k1      INT,\n    item_id STRING,\n    v2      INT\n)\n PRIMARY KEY (`datekey`,`k1`);<\/code><\/pre>\n<p>\u4f46\u6211\u4eec\u6709\u4e09\u5f20\u57fa\u8868\uff0c\u5176\u4e2d 1 \u548c 2 \u90fd\u662f\u5206\u533a\u8868\uff0c\u4f46\u662f 3 \u662f\u975e\u5206\u533a\u8868\u3002<\/p>\n<p>\u6b64\u65f6\u57fa\u4e8e\u4ed6\u4eec\u65b0\u5efa\u4e86\u4e00\u4e2a\u7269\u5316\u89c6\u56fe\uff1a<\/p>\n<pre><code class=\"sql\">CREATE\nMATERIALIZED VIEW test.mv_test\nREFRESH ASYNC\nPARTITION BY a_time\nPROPERTIES (\n&quot;excluded_trigger_tables&quot; = &quot;par_tbl3&quot;\n)\nAS\nselect date_trunc(&quot;day&quot;, a.datekey) as a_time, date_trunc(&quot;day&quot;, b.datekey) as b_time,date_trunc(&quot;day&quot;, c.datekey) as c_time\nfrom test.par_tbl1 a\n         left join test.par_tbl2 b on a.datekey = b.datekey and a.k1 = b.k1\n         left join test.par_tbl3 c on a.k1 = c.k1;<\/code><\/pre>\n<p>\u5f53\u6211\u540c\u65f6\u66f4\u65b0\u4e86\u5206\u533a\u8868\u548c\u975e\u5206\u533a\u8868\u7684\u6570\u636e\u65f6\uff1a<\/p>\n<pre><code class=\"sql\">UPDATE `par_tbl1` SET `v2` = 2 WHERE `datekey` = '2024-08-05 01:00:00' AND `k1` = 3;\nUPDATE `par_tbl3` SET `item_id` = '3' WHERE `datekey` = '2024-10-01 01:00:00' AND `k1` = 3;<\/code><\/pre>\n<p>\u9884\u671f\u7684\u7ed3\u679c\u662f\u53ea\u6709 <code>par_tbl1<\/code> \u8868\u91cc\u4fee\u6539\u7684\u6570\u636e\u4f1a\u88ab\u540c\u6b65\u5230\u89c6\u56fe\uff08<code>&quot;excluded_trigger_tables&quot; = &quot;par_tbl3&quot;<\/code>\u5df2\u7ecf\u88ab\u8bbe\u7f6e\u4e3a\u4e0d\u4f1a\u89e6\u53d1\u89c6\u56fe\u5237\u65b0\uff09\uff0c\u4f46\u5b9e\u9645\u60c5\u51b5\u662f <code>par_tbl1<\/code> \u548c <code>par_tbl2<\/code> \u8868\u91cc\u6240\u6709\u7684\u6570\u636e\u90fd\u4f1a\u88ab\u5237\u65b0\u5230\u7269\u5316\u89c6\u56fe\u4e2d\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e2a SQL \u67e5\u8be2\u65e0\u5237\u89c6\u56fe\u4efb\u52a1\u7684\u8fd0\u884c\u72b6\u6001\uff1a<\/p>\n<pre><code class=\"sql\">SELECT * FROM information_schema.task_runs order by create_time desc;<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u4f1a\u9020\u6210\u8d44\u6e90\u635f\u8017\uff0c\u5982\u679c\u8fd9\u4e24\u5f20\u57fa\u8868\u7684\u6570\u636e\u975e\u5e38\u5927\uff0c\u672c\u6b21\u5237\u65b0\u4f1a\u975e\u5e38\u8017\u65f6\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u4eec\u7684\u9700\u6c42\u662f\u5728\u8fd9\u6837\u7684\u573a\u666f\u4e0b\u4e5f\u53ea\u5237\u65b0\u4fee\u6539\u7684\u6570\u636e\u3002<\/p>\n<p>\u56e0\u6b64\u6211\u4eec\u5728\u65b0\u5efa\u7269\u5316\u89c6\u56fe\u7684\u65f6\u5019\u65b0\u589e\u4e86\u4e00\u4e2a\u53c2\u6570\uff1a<\/p>\n<pre><code class=\"sql\">CREATE\nMATERIALIZED VIEW test.mv_test\nREFRESH ASYNC\nPARTITION BY a_time\nPROPERTIES (\n&quot;excluded_trigger_tables&quot; = &quot;par_tbl3&quot;,\n&quot;excluded_refresh_tables&quot;=&quot;par_tbl3&quot;\n)\nAS\nselect date_trunc(&quot;day&quot;, a.datekey) as a_time, date_trunc(&quot;day&quot;, b.datekey) as b_time,date_trunc(&quot;day&quot;, c.datekey) as c_time\nfrom test.par_tbl1 a\n         left join test.par_tbl2 b on a.datekey = b.datekey and a.k1 = b.k1\n         left join test.par_tbl3 c on a.k1 = c.k1;<\/code><\/pre>\n<p>\u8fd9\u6837\u5f53\u5728\u5237\u65b0\u6570\u636e\u7684\u65f6\u5019\uff0c\u4f1a\u5224\u65ad <code>excluded_refresh_tables<\/code> \u914d\u7f6e\u7684\u8868\u662f\u5426\u6709\u53d1\u751f\u6570\u636e\u53d8\u5316\uff0c\u5982\u679c\u6709\u7684\u8bdd\u5219\u4e0d\u80fd\u5c06\u5f53\u524d\u8ba1\u7b97\u51fa\u6765\u7684\u5206\u533a\uff081,2 \u4e24\u5f20\u8868\u7684\u5168\u91cf\u6570\u636e\uff09\u5168\u90e8\u5237\u65b0\uff0c\u800c\u662f\u7ee7\u7eed\u6c42\u4e00\u4e2a\u4ea4\u96c6\uff0c\u53ea\u8ba1\u7b97\u57fa\u8868\u53d1\u751f\u53d8\u5316\u7684\u6570\u636e\u3002<\/p>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u907f\u514d par_tbl1\u3001par_tbl2 \u7684\u6570\u636e\u5168\u91cf\u5237\u65b0\uff0c\u800c\u53ea\u5237\u65b0\u4fee\u6539\u7684\u6570\u636e\u3002<\/p>\n<p>\u8fd9\u6837\u7684\u573a\u666f\u901a\u5e38\u662f\u5728\u5173\u8054\u7684\u57fa\u8868\u4e2d\u6709\u4e00\u5f20\u5b57\u5178\u8868\uff0c\u901a\u5e38\u6570\u636e\u91cf\u4e0d\u5927\uff0c\u6240\u4ee5\u4e5f\u4e0d\u9700\u8981\u5206\u533a\u7684\u573a\u666f\u3002<\/p>\n<p>\u8fd9\u6837\u5728\u521b\u5efa\u7269\u5316\u89c6\u56fe\u7684\u65f6\u5019\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e24\u4e2a\u53c2\u6570 <code>excluded_trigger_tables\uff0cexcluded_refresh_tables<\/code> \u5c06\u5b83\u6392\u9664\u6389\u4e86\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000045485532\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u6574\u4f53\u7684\u5237\u65b0\u903b\u8f91\u5e76\u4e0d\u590d\u6742\uff0c\u4e3b\u8981\u5c31\u662f\u51e0\u4e2a\u4e0d\u540c\u7684\u5237\u65b0\u5165\u53e3\u4ee5\u53ca\u5237\u65b0\u8fc7\u7a0b\u4e2d\u8ba1\u7b97\u5206\u533a\u7684\u903b\u8f91\u3002<\/p>\n<p>\u53c2\u8003\u94fe\u63a5\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=mY4xV3GybrhjXD4K9M6K%2Fg%3D%3D.zpZWGvylgsF6nzykeP6rGCkGYBtlw6zmi3yikmcroA0qtCKoiuh9tFlonAvySWFXLgG7iAhJ7LzgzWypSE3GHcZsO%2BAbXH7ojdBnPYONhmUb0l6tquDRgRYXYZ369grPq5%2FVSNcx%2FNXnzK3w6KoHonY6oEZmuqztYW6IyfI6bmf05jQpCOA0syWzMoGzAgO1\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/docs.starrocks.io\/zh\/docs\/using_starrocks\/async_mv\/Ma&#8230;<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=YaAT%2F6aNcwUjA18SEPMQNg%3D%3D.2lf0O7951kaFWh0rK6H0PG9H4mDmxbSCc7flaJA1EnF6PkS3Z%2BUaCccR6yk0SdOtbMBOMBuSzmRJXcu5rjKG4iTb4%2F6nMyDKwIVuArx2JQvhKUaPNopHSIdjUYsCKLF6TWPDGxAJ1wyp%2FEonkbXCwG1FUUXE8Wavvu7VmeB21w1a1kZWa1ttXNX75d%2FQBAdMXmq64NbCvSi4p1olrrAh0w%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/docs.starrocks.io\/zh\/docs\/using_starrocks\/async_mv\/us&#8230;<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=SLoF5YJI2IvCx%2FzCUw409Q%3D%3D.dU%2FXnkyNl3gadBqxm6Z8QG3U%2FipsxqOXL4vWnsSugYg45ejM0TSUXwQSNX%2FSM1divPVuuiiSk7WnkEHWPc6NKA%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/StarRocks\/starrocks\/pull\/52295<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=8zKWTy5V9H5CvCLMJfX15g%3D%3D.bimgnhP%2ByeMcqk2dw%2BPU7NPau%2BDapuGbM2L1UwN6AG6932uMAuIzd1eNQiWRxX0QRdQfxtkN0glQPfZWh3MGjg%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/StarRocks\/starrocks\/pull\/52618<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000045485523\">https:\/\/segmentfault.com\/a\/1190000045485523<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u7ed9 StarRocks \u7684\u7269\u5316\u89c6\u56fe\u65b0\u589e\u4e86\u4e00\u4e2a\u7279\u6027\uff0c\u90a3\u4e5f\u662f\u6211\u7b2c\u4e00\u6b21\u63a5\u89e6 StarRocks\uff0c\u56e0\u4e3a\u5b8c\u5168\u4e0d\u719f [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020401","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020401"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020401\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}