{"id":2971,"date":"2020-09-24T17:44:43","date_gmt":"2020-09-24T09:44:43","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=2971"},"modified":"2025-01-16T10:27:31","modified_gmt":"2025-01-16T02:27:31","slug":"analyze-%e5%a6%82%e4%bd%95%e6%94%b6%e9%9b%86%e7%bb%9f%e8%ae%a1%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=2971","title":{"rendered":"Analyze \u5982\u4f55\u6536\u96c6\u7edf\u8ba1\u4fe1\u606f"},"content":{"rendered":"<h2>\u6982\u8981\u63cf\u8ff0<\/h2>\n<hr \/>\n<p>Analyze\uff0c\u5206\u6790\u8868\uff08\u4e5f\u79f0\u4e3a\u8ba1\u7b97\u7edf\u8ba1\u4fe1\u606f\uff09\u662f\u4e00\u79cd\u5185\u7f6e\u7684Hive\u64cd\u4f5c\uff0c\u53ef\u4ee5\u6267\u884c\u8be5\u64cd\u4f5c\u6765\u6536\u96c6\u8868\u4e0a\u7684\u5143\u6570\u636e\u4fe1\u606f\u3002\u8fd9\u53ef\u4ee5\u6781\u5927\u7684\u6539\u5584\u8868\u4e0a\u7684\u67e5\u8be2\u65f6\u95f4\uff0c\u56e0\u4e3a\u5b83\u6536\u96c6\u6784\u6210\u8868\u4e2d\u6570\u636e\u7684\u884c\u8ba1\u6570\uff0c\u6587\u4ef6\u8ba1\u6570\u548c\u6587\u4ef6\u5927\u5c0f\uff08\u5b57\u8282\uff09\uff0c\u5e76\u5728\u6267\u884c\u4e4b\u524d\u5c06\u5176\u63d0\u4f9b\u7ed9\u67e5\u8be2\u8ba1\u5212\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u8868\u652f\u6301\u60c5\u51b5\uff1a<\/strong><\/p>\n<ul>\n<li>txt<\/li>\n<li>csv<\/li>\n<li>orc<\/li>\n<li>torc<\/li>\n<li><del>hyperbase<\/del><\/li>\n<li><del>hyperdrive<\/del><\/li>\n<li><del>es<\/del><\/li>\n<li><del>holodesk<\/del><\/li>\n<\/ul>\n<h2>\u8be6\u7ec6\u8bf4\u660e<\/h2>\n<hr \/>\n<ul>\n<li>\u73af\u5883\u51c6\u5907\uff1aTDH6.2.1<\/li>\n<\/ul>\n<h3>1. \u5bf9\u975e\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h3>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_torc_7_buckets COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881499284.png\" alt=\"file\" \/><\/p>\n<p>\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">> select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS t \n> where t.TBL_ID in (select TBLS.TBL_ID from TBLS where TBLS.TBL_NAME='people_torc_7_buckets');<\/code><\/pre>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_torc_7_buckets COMPUTE STATISTICS FOR COLUMNS borndate,nation;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.TAB_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_torc_7_buckets';<\/code><\/pre>\n<h3>2. \u5bf9\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h3>\n<h4>2.1 \u5bf9\u5355\u503c\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h4>\n<pre><code>\u6ce8\u610f\uff1a\u76ee\u524d\u5355\u503cpartition\u8868\u53ea\u652f\u6301string\u7c7b\u578bpartition\u5b57\u6bb5\u7684\u5206\u533a\u8868\u3002<\/code><\/pre>\n<h5>2.1.1 \u5355\u4e2apartition\u5b57\u6bb5<\/h5>\n<h6>2.1.1.1 \u5168\u8868\u5206\u6790<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_single_partition COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881692485.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_single_partition COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS@system_dblink t \nwhere t.TBL_ID in (select TBLS.TBL_ID from TBLS@system_dblink where TBLS.TBL_NAME='people_single_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">select * from partition_PARAMS@system_dblink t  WHERE <code>PART_ID<\/code> IN \n(SELECT partition_id FROM system.<code>partitions_v<\/code> WHERE table_name='people_single_partition');<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_single_partition';<\/code><\/pre>\n<h6>2.1.1.2 \u5982\u679c\u6307\u5b9a\u4e86\u67d0\u4e2apartition\u5217\uff0c\u5219\u5206\u6790\u8be5\u5217\u4e0b\u6240\u6709\u7684partition<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_single_partition PARTITION(borndate) COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881790342.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">ANALYZE TABLE people_single_partition PARTITION(borndate) COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_single_partition';<\/code><\/pre>\n<h6>2.1.1.3 \u5bf9\u4e8e\u7279\u5b9a\u5206\u533a\u7684analyze\uff0c\u5bf9\u5e94\u7684partition value \u5728partition spec\u4e2d\u6307\u5b9a\uff0c\u793a\u4f8b\u5982\u4e0b<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_single_partition PARTITION(borndate=19950101) COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881834281.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_single_partition PARTITION(borndate=19950101) COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS where DB_NAME='default' and TABLE_NAME='people_single_partition';<\/code><\/pre>\n<h5>2.1.2 \u591a\u4e2apartition\u5b57\u6bb5<\/h5>\n<h6>2.1.2.1 \u5168\u8868\u5206\u6790\uff1a<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881884936.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">> select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS t \n> where t.TBL_ID in (select TBLS.TBL_ID from TBLS where TBLS.TBL_NAME='people_double_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">select * from partition_PARAMS@system_dblink t  WHERE <code>PART_ID<\/code> IN \n(SELECT partition_id FROM system.<code>partitions_v<\/code> WHERE table_name='people_double_partition');<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS where DB_NAME='default' and TABLE_NAME='people_double_partition';<\/code><\/pre>\n<h6>2.1.2.2 \u53ef\u4ee5\u4e0d\u6307\u5b9apartition value\uff0c\u5206\u6790\u5168\u5217<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate,sex) COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587881925296.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate,sex) COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_double_partition';<\/code><\/pre>\n<h6>2.1.2.3 \u5bf9\u4e8e\u7279\u5b9a\u5206\u533a\u7684analyze\uff0c\u5bf9\u5e94\u7684partition value \u5728partition spec\u4e2d\u6307\u5b9a\uff0c\u793a\u4f8b\u5982\u4e0b<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate='19950101',sex='\u5973') COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882066486.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate='19950101',sex='\u5973') COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS where DB_NAME='default' and TABLE_NAME='people_double_partition';<\/code><\/pre>\n<h6>2.1.2.4 \u4e5f\u53ef\u4ee5\u652f\u6301\u4ee5\u4e0b\u683c\u5f0f\uff0c\u8868\u793amatch\u7b2c\u4e00\u4e2apartition column\u7684\u6240\u6709\u7684partition<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate='19950101',sex) COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882565543.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_partition PARTITION(borndate='19950101',sex) COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_double_partition';<\/code><\/pre>\n<h4>2.2 \u5bf9\u8303\u56f4\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h4>\n<p>Range partition \u8868ANALYZE \u6ca1\u6709\u5206\u533a\u5b57\u6bb5\u7c7b\u578b\u9650\u5236\u3002\u652f\u6301\u5e38\u7528\u7684date, string, int\u7b49\u5206\u533a\u7c7b\u578b\u3002<\/p>\n<h5>2.2.1 \u5355\u4e2apartition\u5b57\u6bb5<\/h5>\n<h6>2.2.1.1 \u5168\u8868\u5206\u6790\uff1a<\/h6>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882227400.png\" alt=\"file\" \/><br \/>\n\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">> select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS t \n> where t.TBL_ID in (select TBLS.TBL_ID from TBLS where TBLS.TBL_NAME='people_range_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">select * from partition_PARAMS@system_dblink t  WHERE <code>PART_ID<\/code> IN \n(SELECT partition_id FROM system.<code>partitions_v<\/code> WHERE table_name='people_double_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS where DB_NAME='default' and TABLE_NAME='people_range_partition';<\/code><\/pre>\n<h6>2.2.2.2 \u5bf9\u4e8e\u7279\u5b9a\u5206\u533a\u7684analyze\uff0c\u76f8\u5e94\u7684partition name\u5728partition spec\u4e2d\u6307\u5b9a\uff0c\u793a\u4f8b\u5982\u4e0b<\/h6>\n<p>&lt;5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition PARTITION(borndate='before2010') COMPUTE STATISTICS;<\/code><\/pre>\n<p>>=5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition PARTITION before2010 COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882647990.png\" alt=\"file\" \/><br \/>\n&lt;5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition PARTITION(borndate='before2010') COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>>=5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_range_partition PARTITION before2010 COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_range_partition';<\/code><\/pre>\n<h5>2.2.2.3 \u591a\u4e2apartition\u5b57\u6bb5<\/h5>\n<p>&#8211;\u5206\u6790\u4e4b\u540e\u5224\u65ad\u53ef\u4ee5\u6839\u636e\u5df2\u6709\u7684borndate\uff0c\u548cphonenumber\u4f5c\u4e3a\u591arange partition \u5206\u533a\u5b57\u6bb5<br \/>\n&lt;5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE  TABLE people_double_range_partition PARTITION(borndate='2000-12-31',phonenumber='160000002322') COMPUTE STATISTICS;<\/code><\/pre>\n<p>>=5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">ANALYZE TABLE people_double_range_partition PARTITION before2000_5_6 COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882668432.png\" alt=\"file\" \/><br \/>\n&lt;5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">ANALYZE  TABLE people_double_range_partition PARTITION(borndate='2000-12-31',phonenumber='160000002322') COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>>=5.0\u7248\u672c\uff1a<\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_double_range_partition PARTITION before2000_5_6 COMPUTE STATISTICS FOR COLUMNS;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff08\u5b9e\u9645\u6ca1\u6709\u67e5\u5230\uff1f\uff1f\uff1f\uff1f\uff09\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_double_range_partition';<\/code><\/pre>\n<h4>2.3 \u5bf9\u4e8c\u7ea7\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h4>\n<pre><code class=\"language-sql\">> ANALYZE TABLE PEOPLE_DOUBLE_PARTITION  COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882686828.png\" alt=\"file\" \/><br \/>\n\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">> select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS t\n> where t.TBL_ID in (select TBLS.TBL_ID from TBLS where TBLS.TBL_NAME='people_double_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">> ANALYZE TABLE PEOPLE_DOUBLE_PARTITION PARTITION (borndate='19900101',sex='\u5973') COMPUTE STATISTICS FOR COLUMNS ;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and upper(TABLE_NAME)='PEOPLE_DOUBLE_PARTITION';<\/code><\/pre>\n<h4>2.4 \u5bf9interval\u5206\u533a\u8868\u7684\u7edf\u8ba1<\/h4>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_interval_partition  COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882698647.png\" alt=\"file\" \/><br \/>\n\u8868\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165TABLE_PARAMS\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">> select t.PARAM_KEY,t.PARAM_VALUE from TABLE_PARAMS t \n> where t.TBL_ID in (select TBLS.TBL_ID from TBLS where TBLS.TBL_NAME='people_interval_partition');<\/code><\/pre>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_interval_partition PARTITION p2 COMPUTE STATISTICS;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/04\/image-1587882720151.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">> ANALYZE TABLE people_interval_partition PARTITION p3 COMPUTE STATISTICS FOR COLUMNS ;<\/code><\/pre>\n<p>\u5217\u7edf\u8ba1\u4fe1\u606f\u66f4\u65b0\u5165part_col_stats\uff1a<\/p>\n<pre><code class=\"language-sql\">> select * from metastore_inceptor1.PART_COL_STATS \n> where DB_NAME='default' and TABLE_NAME='people_interval_partition';<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 Analyze\uff0c\u5206\u6790\u8868\uff08\u4e5f\u79f0\u4e3a\u8ba1\u7b97\u7edf\u8ba1\u4fe1\u606f\uff09\u662f\u4e00\u79cd\u5185\u7f6e\u7684Hive\u64cd\u4f5c\uff0c\u53ef\u4ee5\u6267\u884c\u8be5\u64cd\u4f5c\u6765\u6536\u96c6\u8868\u4e0a\u7684\u5143\u6570 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=2971\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,46],"tags":[133],"class_list":["post-2971","post","type-post","status-publish","format-standard","hentry","category-configuration","category-performance","tag-analyze"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2971"}],"version-history":[{"count":5,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2971\/revisions"}],"predecessor-version":[{"id":15641,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2971\/revisions\/15641"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}