{"id":14343,"date":"2024-09-25T10:40:26","date_gmt":"2024-09-25T02:40:26","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=14343"},"modified":"2024-12-23T09:39:30","modified_gmt":"2024-12-23T01:39:30","slug":"argodb-%e5%b8%b8%e8%a7%81sql%e5%af%b9%e5%ba%94%e7%9a%84%e9%94%81%e7%b1%bb%e5%9e%8b","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=14343","title":{"rendered":"Argodb \u5e38\u89c1sql\u5bf9\u5e94\u7684\u9501\u7c7b\u578b"},"content":{"rendered":"<h2>\u6982\u8981\u63cf\u8ff0<\/h2>\n<p>\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u5e38\u89c1sql\u53ca\u5bf9\u5e94\u7684\u52a0\u9501\u7c7b\u578b\u3002<\/p>\n<h2>\u4e00. \u524d\u63d0\u51c6\u5907<\/h2>\n<h3>1. DBA\u5f00\u542fINFO\u65e5\u5fd7<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727230743658.png\" alt=\"file\" \/><\/p>\n<h3>2. \u5728quark-server\u7684log\u641c\u7d22\u9501\u5173\u952e\u5b57<\/h3>\n<pre><code class=\"language-shell\">tail -f quark-server.log |grep preparing\ntail -f quark-server.log |grep lockType\ntail -f quark-server.log |egrep -i'lockType|preparing'   # \u66f4\u5168\u4e00\u70b9\uff0c\u5305\u62ecquark\u62ff\u9501\u4ee5\u53cashiva\u8fd4\u56de\u7ed3\u679c<\/code><\/pre>\n<h3>3. \u5728quark-metastore\u7684log\u641c\u7d22\u9501\u5173\u952e\u5b57<\/h3>\n<p>\u5f00\u542fmetastore\u65e5\u5fd7\uff0c\u53bb\u4fee\u6539\/etc\/conf\/quark\u4e2d\u7684\u65e5\u5fd7\u6587\u4ef6\uff0c\u53ef\u4ee5\u5c06\u5bf9\u5e94\u7684WARN\u66ff\u6362\u4e3aINFO\uff0c\u7136\u540e\u91cd\u542fquark\/\u6216\u8005\u76f4\u63a5\u4fee\u6539metainfo\u6587\u4ef6\u3002<br \/>\n\u6d89\u53caDDL\u53d8\u66f4\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-sql\">drop table \nalter table add\/drop partition<\/code><\/pre>\n<h2>\u4e8c.sql\u5bf9\u5e94\u7684\u5404\u79cd\u9501\u7c7b\u578b<\/h2>\n<h3>1. \u975e\u5206\u533a\u8868<\/h3>\n<h4>1.1 select * from table_a<\/h4>\n<p>RO<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727230898079.png\" alt=\"file\" \/><\/p>\n<h4>1.2 insert<\/h4>\n<h5>1.2.1 insert into table_a<\/h5>\n<p>APPEND<\/p>\n<pre><code class=\"language-sql\">insert into holoA values(1,'a');\ninsert into holoA select 1,'a' from system.dual;\nbatchinsert into holoA batchvalues(values(2,'b'),values(3,'c'));  <\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727230959276.png\" alt=\"file\" \/><\/p>\n<h5>1.2.2 insert into a select * from a<\/h5>\n<p>MUTATE\u2013READ<\/p>\n<pre><code class=\"language-sql\">insert into holoA select * from holoA;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727232007603.png\" alt=\"file\" \/><\/p>\n<h5>1.2.3 insert into a select * from b<\/h5>\n<p>APPEND\u2013READ<\/p>\n<pre><code class=\"language-sql\">insert into holoB select * from holoA;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231997914.png\" alt=\"file\" \/><\/p>\n<h5>1.2.4 insert overwrite a select <em> from a\/insert overwrite b select <\/em> from a<\/h5>\n<p>TRUNCATE&#8211;APPEND\u2013READ<\/p>\n<pre><code class=\"language-sql\">insert overwrite holoA select * from holoA;\ninsert overwrite holoB select * from holoA;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231988215.png\" alt=\"file\" \/><\/p>\n<h4>1.3 update\/delete<\/h4>\n<p>MUTATE\u2013READ<\/p>\n<pre><code class=\"language-sql\">update table holoA set id=2;\ndelete from table holoA where id=1;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231978614.png\" alt=\"file\" \/><\/p>\n<h4>1.4 truncate<\/h4>\n<p>truncate<\/p>\n<pre><code class=\"language-sql\">truncate table holoA;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231967812.png\" alt=\"file\" \/><\/p>\n<h4>1.5 drop<\/h4>\n<p>promotionType:KDropTable<\/p>\n<pre><code class=\"language-sql\">drop table holoA;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231958396.png\" alt=\"file\" \/><\/p>\n<h4>1.6 alter<\/h4>\n<h5>1.6.1 alter table holoA rename to holoA_testA\/alter table holoA change c3_char c3_char char(12);<\/h5>\n<p>\u65e0\u9501<\/p>\n<h5>1.6.2 alter table holoA add columns(score string);\/alter table holoA delete columns(score);<\/h5>\n<p>\u589e\u51cf\u5217<\/p>\n<p>promotionType: kAddColumn<br \/>\npromotionType: kDropColumn<br \/>\npreparing altering table success<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231948764.png\" alt=\"file\" \/><\/p>\n<h5>1.6.3 compact<\/h5>\n<p>RO full\/major\/minor<br \/>\ncompact\/concurrentfullcompact<br \/>\nfullcompact<\/p>\n<h6>compact full<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231936081.png\" alt=\"file\" \/><\/p>\n<h6>compact major<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231926442.png\" alt=\"file\" \/><\/p>\n<h6>compact minor<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231917555.png\" alt=\"file\" \/><\/p>\n<h3>2. \u5206\u533a\u8868<\/h3>\n<h4>2.1 select<\/h4>\n<p>RO<\/p>\n<pre><code class=\"language-sql\">select * from holoA_p order by id,name;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231903652.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-sql\">select * from holoA_p where p_id=1;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231878200.png\" alt=\"file\" \/><\/p>\n<h4>2.2 insert<\/h4>\n<h5>2.2.1 \u52a8\u6001\u5206\u533a\u63d2\u5165<\/h5>\n<p>APPEND\u2013VALIDATE<\/p>\n<pre><code class=\"language-sql\">insert into holoB_p select 1, \"name1\",1 from system.dual; -- 1\u662f\u5206\u533a <\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231860190.png\" alt=\"file\" \/><\/p>\n<h5>2.2.2 insert into A_p select * from B_p<\/h5>\n<p>APPEND\u2013READ\u2013VALIDATE(VALIDDATE\u662f\u5426\u5b58\u5728\u53d6\u51b3\u4e8e\u662f\u5426\u52a8\u6001\u65b0\u589e\u5206\u533a)<\/p>\n<pre><code class=\"language-sql\">insert into holoA_p select * from holoB_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231849125.png\" alt=\"file\" \/><\/p>\n<h5>2.2.3 insert into A_p select * from A_p<\/h5>\n<p>APPEND\u2013READ  <\/p>\n<p>\u2460\u9996\u5148\u5224\u65ad\u662f\u4e0d\u662f\u5355\u503c\u5206\u533a\u52a8\u6001\u63d2\u5165\uff0c\u662f\u4e86\u5c31\u62ffappend\u9501<br \/>\n\u2461\u518d\u8003\u8651\u662f\u4e0d\u662finsert a select a\uff0c\u5982\u679c\u662f\u5c31\u62ffmutate\uff0c\u4e0d\u662f\u5c31\u62ffappend<\/p>\n<pre><code class=\"language-sql\">insert into holoA_p select * from holoA_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231839163.png\" alt=\"file\" \/><\/p>\n<h5>2.2.4  insert overwrite A_p select * from A_p<\/h5>\n<p>APPEND&#8211;APPEND\u2013READ <\/p>\n<pre><code class=\"language-sql\">insert overwrite holoA_p select * from holoA_p;<\/code><\/pre>\n<p>\u4e3a\u5565\u5e26\u5206\u533a\u7684\u6ca1\u6709truncate\u9501\uff0cAPPEND\u76f8\u5f53\u4e8e\u628a\u8868\u6e05\u7a7a\uff0c\u5199\u5bf9\u5e94\u884c\u7a7a\u8bb0\u5f55\uff0c\u5728\u52a8\u6001\u5206\u533a\u63d2\u5165\u65f6\u5019\u4e0d\u77e5\u9053\u540e\u9762\u6570\u636e\u5bf9\u5e94\u54ea\u4e2a\u5206\u533a\uff0c\u6240\u4ee5\u9700\u8981append\uff0c\u4e0d\u6307\u5b9a\u5206\u533a\u6574\u5f20\u8868\u6e05\u7a7a\u6389\uff0c\u6307\u5b9a\u5206\u533a\u5bf9\u5e94\u5206\u533a\u6e05\u7a7a\u6389<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231827096.png\" alt=\"file\" \/><\/p>\n<h5>2.2.5 insert overwrite A_p select * from B_p<\/h5>\n<p>APPEND&#8211;APPEND&#8211;READ\u2013VALIDATE(VALIDDATE\u662f\u5426\u5b58\u5728\u53d6\u51b3\u4e8e\u662f\u5426\u52a8\u6001\u65b0\u589e\u5206\u533a)<\/p>\n<pre><code class=\"language-sql\">insert overwrite holoA_p select * from holoB_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231813845.png\" alt=\"file\" \/><\/p>\n<h5>2.2.6 \u6307\u5b9a\u5206\u533ainsert into\/overwrite<\/h5>\n<p>\u6307\u5b9a\u5206\u533aInsert into<br \/>\nAPPEND<\/p>\n<pre><code class=\"language-sql\">insert into holoA_p partition(p_id=1) select 1, \"name1\" from system.dual;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231790139.png\" alt=\"file\" \/><\/p>\n<p>\u6307\u5b9a\u5206\u533ainsert overwrite<br \/>\nTRUNCATE&#8211;APPEND<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231801314.png\" alt=\"file\" \/><\/p>\n<h5>2.2.7 \u6307\u5b9a\u5206\u533ainsert into from<\/h5>\n<p>MUTATE&#8211;READ\uff08\u975eRO\uff09<br \/>\n<code>insert into A partition select from A<\/code> \uff08\u76f8\u540c\u5206\u533a\/\u4e0d\u540c\u5206\u533a\uff09<\/p>\n<pre><code class=\"language-sql\">insert into holoA_p partition(p_id=1) select 1,\"name1\" from holoA_p;\ninsert into holoA_p partition(p_id=1) select 2,\"name2\" from holoA_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231780150.png\" alt=\"file\" \/><\/p>\n<p>APPEND\u2013READ\uff08\u975eRO\uff09<\/p>\n<p><code>insert into A partition select from B<\/code> \uff08\u76f8\u540c\u5206\u533a\/\u4e0d\u540c\u5206\u533a\uff09<\/p>\n<pre><code class=\"language-sql\">insert into holoA_p partition(p_id=1) select 1,\"name1\" from holoB_p;\ninsert into holoA_p partition(p_id=1) select 2,\"name2\" from holoB_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231768141.png\" alt=\"file\" \/><\/p>\n<h5>2.2.8 \u6307\u5b9a\u5206\u533ainsert overwrite<\/h5>\n<p>TRUNCATE\u2013APPEND\u2013READ<\/p>\n<p><code>insert overwrite A partition select from A\/insert overwrite A partition select from B <\/code>\uff08\u76f8\u540c\u5206\u533a\/\u4e0d\u540c\u5206\u533a\uff09<\/p>\n<pre><code class=\"language-sql\">insert overwrite holoA_p partition(p_id=1) select 1,\"name1\" from holoA_p;\ninsert overwrite holoA_p partition(p_id=1) select 2,\"name2\" from holoA_p;\ninsert overwrite holoA_p partition(p_id=1) select 1,\"name1\" from holoB_p;\ninsert overwrite holoA_p partition(p_id=1) select 2,\"name2\" from holoB_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231754232.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231742940.png\" alt=\"file\" \/><\/p>\n<h4>2.3 alter<\/h4>\n<h5>2.3.1 alter table holoA rename to holoA_testA;\/alter table holoA change c3_char c3_char char(12);<\/h5>\n<p>\u65e0\u9501<\/p>\n<h5>2.3.2 add partition<\/h5>\n<pre><code class=\"language-sql\">alter table holoA_p add partition(p_id=2);<\/code><\/pre>\n<p>promotionType: KAddPartition<br \/>\npreparing alter table success<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231727307.png\" alt=\"file\" \/><\/p>\n<h5>2.3.3 drop partition<\/h5>\n<pre><code class=\"language-sql\">alter table holoA_p drop partition(p_id=1);<\/code><\/pre>\n<p>promotionType: KDropPartition<br \/>\npreparing alter table success<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231716905.png\" alt=\"file\" \/><\/p>\n<h5>2.3.4 alter table holoA add columns(score string);\/alter table holoA delete columns(score);<\/h5>\n<p>promotionType: KAddColumn<br \/>\npromotionType: KDropColumn<br \/>\npreparing alter table success<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231701799.png\" alt=\"file\" \/><\/p>\n<h5>2.3.5 compact<\/h5>\n<p>compact full\/major\/minor \u591a\u4e2a\u5206\u533a\u8bfb\u591a\u6b21\uff1f&#8211; \u662f\u7684\uff0c\u53ef\u53c2\u8003\u975e\u5206\u533a\u7684\uff0c\u4e00\u4e2a\u662f\u4e00\u6574\u4e2a\u5206\u533a\uff0c\u4e00\u4e2a\u662f\u591a\u4e2a\u5206\u533a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231688908.png\" alt=\"file\" \/><\/p>\n<h4>2.4 update\/delete<\/h4>\n<h5>2.4.1 update<\/h5>\n<p>\u975e\u6307\u5b9a\u5206\u533a\uff1a<code>set hive.crud.dynamic.partition=true<\/code>;<br \/>\nMUTATE&#8211;READ(\u975eRO isPartitionLockLevel:true)<\/p>\n<pre><code class=\"language-sql\">update table holoA_p set name='name2';<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231672735.png\" alt=\"file\" \/><\/p>\n<p>\u6307\u5b9a\u5206\u533a\uff1a<br \/>\nMUTATE&#8211;READ(\u975eRO isPartitionLockLevel:true)<\/p>\n<pre><code class=\"language-sql\">update table holoA_p partition(p_id=1) set name='name2';<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231658778.png\" alt=\"file\" \/><\/p>\n<h5>2.4.2 delete<\/h5>\n<p>\u975e\u6307\u5b9a\u5206\u533a\uff1a<br \/>\nMUTATE&#8211;READ(\u975eRO isPartitionLockLevel:true)<\/p>\n<pre><code class=\"language-sql\">delete from table holoA_p where name='name2';<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231648754.png\" alt=\"file\" \/><\/p>\n<p>\u6307\u5b9a\u5206\u533a\uff1a<br \/>\nMUTATE&#8211;READ(\u975eRO isPartitionLockLevel:true)<\/p>\n<pre><code class=\"language-sql\">delete from table holoA_p partition(p_id=1);<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231637643.png\" alt=\"file\" \/><\/p>\n<h5>2.4.3 truncate<\/h5>\n<p>\u975e\u6307\u5b9a\u5206\u533a\uff1a<br \/>\nTRUNCATE\uff08\u975eRO isPartitionLockLevel:true\uff09 \u6709\u51e0\u4e2a\u5206\u533a\uff0ctruncate\u51e0\u6b21\uff1f \u2013 \u786e\u5b9a<\/p>\n<pre><code class=\"language-sql\">truncate table holoA_p;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231623554.png\" alt=\"file\" \/><\/p>\n<p>\u6307\u5b9a\u5206\u533a\uff1a\uff08isPartitionLockLevel:true\uff09<br \/>\nTRUNCATE\uff08\u975eRO isPartitionLockLevel:true\uff09<\/p>\n<pre><code class=\"language-sql\">truncate table holoA_p partition(p_id=1);<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2024\/09\/image-1727231609745.png\" alt=\"file\" \/><\/p>\n<h4>\u6ce8\u610f\uff1a<\/h4>\n<p>\u2460perf-rowkey\u8868\u662fmutate\uff0c\u56e0\u4e3arowkey\u552f\u4e00\uff0c\u7ebf\u7a0b\u5e76\u53d1\u65f6\u5019\u53ef\u80fd\u4f1a\u5199\u540c\u4e00\u4e2akey\uff0c\u7ed3\u679c\u5c31\u4e0d\u5bf9\uff1b\u6b63\u5e38\u5e94\u8be5\u662fappend<br \/>\n\u2461\u5bf9\u4e8e\u975erowkey\u8868\u6765\u8bf4\uff0c\u76ee\u524d\u7248\u672c\u7684insert\u5c31\u53ea\u6709insert a select a\u8fd9\u4e00\u4e2acase\u4f1a\u62ffmutate\uff0c\u5176\u4ed6\u90fd\u662fappend<br \/>\n\u2462VALIDATE\u9501\u7c7b\u578b\u662f\u5224\u65ad\u5e76\u53d1\u65f6\u5019\u5176\u4ed6\u7ebf\u7a0b\u6709\u6ca1\u6709\u4e5f\u53bb\u5efa\u8fd9\u4e2a\u5206\u533a\u7684\uff0c\u5982\u679c\u4e0d\u5efa\u5206\u533a\u7684\u8bdd\uff0c\u5c31\u6ca1\u6709VALIDATE<br \/>\n\u2463\u975eperf rowkey\u8868\uff0c\u53ea\u8981\u52a8\u6001\u5206\u533a\u63d2\u5165\u5c31\u662fappend<br \/>\n\u2464truncate\u7684\u8bed\u53e5\uff0c\u867d\u7136\u662f\u5728quark-server\u4e0a\u505a\u7684\uff0c\u4f46\u662f\u662f\u63d0\u4ea4\u5230shiva\u5185\u90e8\u7684\uff0c\u5f88\u5feb\uff0c\u800c\u4e14\u8fd9\u79cdtruncate\u548cdrop table\u51b2\u7a81\uff0c\u548c\u5176\u4ed6\u7684sql\u8bed\u53e5\u4e0edrop table \u51b2\u7a81\u662f\u5dee\u4e0d\u591a\u7684\uff0c\u6240\u4ee5\u53ef\u4ee5\u8df3\u8fc7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u5e38\u89c1sql\u53ca\u5bf9\u5e94\u7684\u52a0\u9501\u7c7b\u578b\u3002 \u4e00. \u524d\u63d0\u51c6\u5907 1. DBA\u5f00\u542fINFO\u65e5\u5fd7 2. \u5728qu ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=14343\" 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":[1],"tags":[],"class_list":["post-14343","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/14343","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=14343"}],"version-history":[{"count":3,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/14343\/revisions"}],"predecessor-version":[{"id":15332,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/14343\/revisions\/15332"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}