{"id":6824,"date":"2021-06-30T17:04:22","date_gmt":"2021-06-30T09:04:22","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=6824"},"modified":"2021-06-30T17:12:54","modified_gmt":"2021-06-30T09:12:54","slug":"gbase-8a%e8%bf%90%e7%bb%b4%e7%ae%a1%e7%90%86%e7%94%a8%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ad%98%e5%82%a8%e8%bf%87%e7%a8%8b%e6%b1%87%e6%80%bb","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/6824","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u8fd0\u7ef4\u7ba1\u7406\u7528\u81ea\u5b9a\u4e49\u5b58\u50a8\u8fc7\u7a0b\u6c47\u603b"},"content":{"rendered":"<p>\u672c\u6587\u6c47\u603b\u4e86GBase 8a\u5e38\u89c1\u65b9\u4fbf\u8fd0\u7ef4\u7684\u81ea\u5b9a\u4e49\u5b58\u50a8\u8fc7\u7a0b\uff0c\u5305\u62ec\u6574\u4e2a\u96c6\u7fa4\u8fd0\u884c\u7684SQL\uff0c\u8868\u7684\u78c1\u76d8\u7a7a\u95f4\uff0c\u5206\u7247\u7a7a\u95f4\uff0c\u5206\u7247\u884c\u6570\u7b49\u3002\u540e\u7eed\u9010\u6e10\u589e\u52a0\u4e2d\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Directory Navigation<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2a9d7222fbb\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2a9d7222fbb\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#executeSQL_%E3%80%90%E9%80%9A%E7%94%A8%E3%80%91%E5%8A%A8%E6%80%81%E6%89%A7%E8%A1%8CSQL\" >executeSQL \u3010\u901a\u7528\u3011\u52a8\u6001\u6267\u884cSQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#check_version_%E3%80%90%E9%80%9A%E7%94%A8%E3%80%91%E6%A3%80%E6%9F%A5%E7%89%88%E6%9C%AC\" >check_version \u3010\u901a\u7528\u3011\u68c0\u67e5\u7248\u672c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#sp_cluster_processlist_%E9%9B%86%E7%BE%A4%E5%B1%82%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84SQL%E4%BB%BB%E5%8A%A1\" >sp_cluster_processlist \u96c6\u7fa4\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#sp_node_processlist_%E8%AE%A1%E7%AE%97%E5%B1%82%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84SQL%E4%BB%BB%E5%8A%A1\" >sp_node_processlist \u8ba1\u7b97\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#sp_table_size_%E8%A1%A8%E5%8D%A0%E7%94%A8%E7%9A%84%E7%A3%81%E7%9B%98%E7%A9%BA%E9%97%B4%E5%A4%A7%E5%B0%8F%E6%B1%87%E6%80%BB\" >sp_table_size \u8868\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\u5927\u5c0f\u6c47\u603b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#sp_table_segment_size_%E8%A1%A8%E5%9C%A8%E5%90%84%E6%95%B0%E6%8D%AE%E8%8A%82%E7%82%B9%E7%9A%84%E5%88%86%E7%89%87%E5%8D%A0%E7%94%A8%E7%9A%84%E7%A3%81%E7%9B%98%E7%A9%BA%E9%97%B4\" >sp_table_segment_size \u8868\u5728\u5404\u6570\u636e\u8282\u70b9\u7684\u5206\u7247\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#sp_table_segment_count_%E8%A1%A8%E5%9C%A8%E5%90%84%E4%B8%AA%E6%95%B0%E6%8D%AE%E8%8A%82%E7%82%B9%E5%88%86%E7%89%87%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%8C%E6%95%B0\" >sp_table_segment_count \u8868\u5728\u5404\u4e2a\u6570\u636e\u8282\u70b9\u5206\u7247\u7684\u6570\u636e\u884c\u6570<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gbase8.cn\/en\/6824\/#%E6%B1%87%E6%80%BB\" >\u6c47\u603b<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"executeSQL_%E3%80%90%E9%80%9A%E7%94%A8%E3%80%91%E5%8A%A8%E6%80%81%E6%89%A7%E8%A1%8CSQL\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/5452\/\">executeSQL \u3010\u901a\u7528\u3011\u52a8\u6001\u6267\u884cSQL<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u52a8\u6001\u751f\u6210SQL\u7684\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u6267\u884c\u3002\u6ce8\u610f\u957f\u5ea6\u6700\u592710K\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>delimiter \/\/\ncreate procedure executeSQL(\n S_SQL_TMP VARCHAR(21000)\n)\nBEGIN\n  set @executeSQL_sql = S_SQL_TMP;\n  PREPARE executeSQL_s1 FROM @executeSQL_sql ;\n  EXECUTE executeSQL_s1;\n  DEALLOCATE PREPARE executeSQL_s1;\nEND \/\/\ndelimiter ;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"check_version_%E3%80%90%E9%80%9A%E7%94%A8%E3%80%91%E6%A3%80%E6%9F%A5%E7%89%88%E6%9C%AC\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/5452\/\">check_version \u3010\u901a\u7528\u3011\u68c0\u67e5\u7248\u672c<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u90e8\u5206\u529f\u80fd\uff0c\u53ea\u80fd\u5728\u7279\u5b9a\u7248\u672c\u624d\u5b9e\u73b0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>drop function if exists check_version;\ndelimiter \/\/\ncreate function check_version(ver varchar) returns boolean\nbegin\n  select instr(version(),ver) into @rtn;\n  return @rtn;\nend \/\/ \ndelimiter ;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sp_cluster_processlist_%E9%9B%86%E7%BE%A4%E5%B1%82%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84SQL%E4%BB%BB%E5%8A%A1\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/5463\/\">sp_cluster_processlist \u96c6\u7fa4\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>drop procedure if exists sp_cluster_processlist;\r\ndelimiter \/\/\r\ncreate procedure sp_cluster_processlist(showSize int,topN int)\r\nbegin\r\n  set @sql=concat('select COORDINATOR_NAME, ID, user, host, command, start_time, time, state, substring(info,0,'\r\n    ,showSize\r\n    ,') info from information_schema.COORDINATORS_TASK_INFORMATION where command=\\'query\\' and info is not null and info not like \\'%information_schema.processlist%\\' order by time desc limit '\r\n    ,topN);\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\n\ncall sp_cluster_processlist(100,10);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sp_node_processlist_%E8%AE%A1%E7%AE%97%E5%B1%82%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84SQL%E4%BB%BB%E5%8A%A1\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/657\/\">sp_node_processlist \u8ba1\u7b97\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>drop procedure if exists sp_node_processlist;\r\ndelimiter \/\/\r\ncreate procedure sp_node_processlist(showSize int,topN int)\r\nbegin\r\n  set @sql=concat('select NODE_NAME, ID, user, host, command, start_time, time, state,substring(info,0,'\r\n    ,showSize\r\n    ,') info from information_schema.GNODES_TASK_INFORMATION where command=\\'query\\' and info is not null and info not like \\'%information_schema.processlist%\\' order by time desc limit '\r\n    ,topN);\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n\r\ncall sp_node_processlist(100,10);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sp_table_size_%E8%A1%A8%E5%8D%A0%E7%94%A8%E7%9A%84%E7%A3%81%E7%9B%98%E7%A9%BA%E9%97%B4%E5%A4%A7%E5%B0%8F%E6%B1%87%E6%80%BB\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/75\/\">sp_table_size \u8868\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\u5927\u5c0f\u6c47\u603b<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>drop procedure if exists sp_table_size;\r\ndelimiter \/\/\r\ncreate procedure sp_table_size(dbname varchar,tbname varchar)\r\nbegin\r\n  set @sql=concat('select * from information_schema.cluster_tables a where table_schema=\\''\r\n    ,dbname\r\n    ,'\\' and table_name=\\''\r\n    ,tbname\r\n    ,'\\'');\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\ncall sp_table_size('testdb','t1');<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sp_table_segment_size_%E8%A1%A8%E5%9C%A8%E5%90%84%E6%95%B0%E6%8D%AE%E8%8A%82%E7%82%B9%E7%9A%84%E5%88%86%E7%89%87%E5%8D%A0%E7%94%A8%E7%9A%84%E7%A3%81%E7%9B%98%E7%A9%BA%E9%97%B4\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/5452\/\">sp_table_segment_size \u8868\u5728\u5404\u6570\u636e\u8282\u70b9\u7684\u5206\u7247\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>drop procedure if exists sp_table_segment_size;\ndelimiter \/\/\ncreate procedure sp_table_segment_size(dbname varchar,tbname varchar)\nbegin\n  set @sql=concat('select SUFFIX,HOST,TABLE_DATA_SIZE,TABLE_STORAGE_SIZE,DATA_PERCENT from information_schema.CLUSTER_TABLE_SEGMENTS a where table_schema=\\''\n    ,dbname\n    ,'\\' and table_name=\\''\n    ,tbname\n    ,'\\'');\n  call executeSQL(@sql);\nend\n\/\/\ndelimiter ;\ncall sp_table_segment_size('testdb','t1');<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sp_table_segment_count_%E8%A1%A8%E5%9C%A8%E5%90%84%E4%B8%AA%E6%95%B0%E6%8D%AE%E8%8A%82%E7%82%B9%E5%88%86%E7%89%87%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%8C%E6%95%B0\"><\/span><a href=\"https:\/\/www.gbase8.cn\/en\/5452\/\">sp_table_segment_count \u8868\u5728\u5404\u4e2a\u6570\u636e\u8282\u70b9\u5206\u7247\u7684\u6570\u636e\u884c\u6570<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>drop procedure if exists sp_table_segment_count;\ndelimiter \/\/\ncreate procedure sp_table_segment_count(dbname varchar,tbname varchar)\nmain:begin\n  select check_version('9.5.3') into @rtn from dual;\n  if !@rtn then\n    select 'this function need 9.5.3 +';\n    leave main;\n  end if;\n  \n  call executeSQL('set gcluster_segment_id_replace=1');\n\n  set @sql=concat('select segment_id,count(*) from '\n    ,dbname\n    ,'.'\n    ,tbname\n    ,' group by segment_id');\n  call executeSQL(@sql);\nend\n\/\/\ndelimiter ;\n\ncall sp_table_segment_count('testdb','t1');<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%B1%87%E6%80%BB\"><\/span>\u6c47\u603b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>-- executeSQL \u3010\u901a\u7528\u3011\u52a8\u6001\u6267\u884cSQL\r\ndelimiter \/\/\r\ncreate procedure executeSQL(\r\n S_SQL_TMP VARCHAR(21000)\r\n)\r\nBEGIN\r\n  set @executeSQL_sql = S_SQL_TMP;\r\n  PREPARE executeSQL_s1 FROM @executeSQL_sql ;\r\n  EXECUTE executeSQL_s1;\r\n  DEALLOCATE PREPARE executeSQL_s1;\r\nEND \/\/\r\ndelimiter ;\r\n\r\n-- check_version \u3010\u901a\u7528\u3011\u68c0\u67e5\u7248\u672c\r\ndrop function if exists check_version;\r\ndelimiter \/\/\r\ncreate function check_version(ver varchar) returns boolean\r\nbegin\r\n  select instr(version(),ver) into @rtn;\r\n  return @rtn;\r\nend \/\/ \r\ndelimiter ;\r\n\r\n\r\n-- sp_cluster_processlist \u96c6\u7fa4\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1\r\ndrop procedure if exists sp_cluster_processlist;\r\ndelimiter \/\/\r\ncreate procedure sp_cluster_processlist(showSize int,topN int)\r\nbegin\r\n  set @sql=concat('select COORDINATOR_NAME, ID, user, host, command, start_time, time, state, substring(info,0,'\r\n    ,showSize\r\n    ,') info from information_schema.COORDINATORS_TASK_INFORMATION where command=\\'query\\' and info is not null and info not like \\'%information_schema.processlist%\\' order by time desc limit '\r\n    ,topN);\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n-- call sp_cluster_processlist(100,10);\r\n\r\n-- sp_node_processlist \u8ba1\u7b97\u5c42\u6b63\u5728\u8fd0\u884c\u7684SQL\u4efb\u52a1\r\ndrop procedure if exists sp_node_processlist;\r\ndelimiter \/\/\r\ncreate procedure sp_node_processlist(showSize int,topN int)\r\nbegin\r\n  set @sql=concat('select NODE_NAME, ID, user, host, command, start_time, time, state,substring(info,0,'\r\n    ,showSize\r\n    ,') info from information_schema.GNODES_TASK_INFORMATION where command=\\'query\\' and info is not null and info not like \\'%information_schema.processlist%\\' order by time desc limit '\r\n    ,topN);\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n-- call sp_node_processlist(100,10);\r\n\r\n-- sp_table_size \u8868\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\u5927\u5c0f\u6c47\u603b\r\ndrop procedure if exists sp_table_size;\r\ndelimiter \/\/\r\ncreate procedure sp_table_size(dbname varchar,tbname varchar)\r\nbegin\r\n  set @sql=concat('select * from information_schema.cluster_tables a where table_schema=\\''\r\n    ,dbname\r\n    ,'\\' and table_name=\\''\r\n    ,tbname\r\n    ,'\\'');\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n-- call sp_table_size('testdb','t1');\r\n\r\n-- sp_table_segment_size \u8868\u5728\u5404\u6570\u636e\u8282\u70b9\u7684\u5206\u7247\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\r\ndrop procedure if exists sp_table_segment_size;\r\ndelimiter \/\/\r\ncreate procedure sp_table_segment_size(dbname varchar,tbname varchar)\r\nbegin\r\n  set @sql=concat('select SUFFIX,HOST,TABLE_DATA_SIZE,TABLE_STORAGE_SIZE,DATA_PERCENT from information_schema.CLUSTER_TABLE_SEGMENTS a where table_schema=\\''\r\n    ,dbname\r\n    ,'\\' and table_name=\\''\r\n    ,tbname\r\n    ,'\\'');\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n-- call sp_table_segment_size('testdb','t1');\r\n\r\n\r\n-- sp_table_segment_count \u8868\u5728\u5404\u4e2a\u6570\u636e\u8282\u70b9\u5206\u7247\u7684\u6570\u636e\u884c\u6570\r\ndrop procedure if exists sp_table_segment_count;\r\ndelimiter \/\/\r\ncreate procedure sp_table_segment_count(dbname varchar,tbname varchar)\r\nmain:begin\r\n  select check_version('9.5.3') into @rtn from dual;\r\n  if !@rtn then\r\n    select 'this function need 9.5.3 +';\r\n    leave main;\r\n  end if;\r\n  \r\n  call executeSQL('set gcluster_segment_id_replace=1');\r\n\r\n  set @sql=concat('select segment_id,count(*) from '\r\n    ,dbname\r\n    ,'.'\r\n    ,tbname\r\n    ,' group by segment_id');\r\n  call executeSQL(@sql);\r\nend\r\n\/\/\r\ndelimiter ;\r\n\r\n-- call sp_table_segment_count('testdb','t1');\r\n\r\n\r-- \u67e5\u770b\u5f53\u524d\u5e93\u7684\u5b58\u50a8\u8fc7\u7a0b\nshow procedure status<\/code><\/pre>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u6c47\u603b\u4e86GBase 8a\u5e38\u89c1\u65b9\u4fbf\u8fd0\u7ef4\u7684\u81ea\u5b9a\u4e49\u5b58\u50a8\u8fc7\u7a0b\uff0c\u5305\u62ec\u6574\u4e2a\u96c6\u7fa4\u8fd0\u884c\u7684SQL\uff0c\u8868\u7684\u78c1\u76d8\u7a7a\u95f4\uff0c\u5206\u7247\u7a7a\u95f4\uff0c\u5206\u7247\u884c\u6570\u7b49\u3002\u540e\u7eed\u9010\u6e10\u589e\u52a0\u4e2d\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[28],"class_list":["post-6824","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-28"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/6824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=6824"}],"version-history":[{"count":24,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/6824\/revisions"}],"predecessor-version":[{"id":6853,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/6824\/revisions\/6853"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=6824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=6824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=6824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}