{"id":107488,"date":"2026-09-19T20:20:05","date_gmt":"2026-09-19T12:20:05","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107488.html"},"modified":"2026-09-19T20:20:05","modified_gmt":"2026-09-19T12:20:05","slug":"oceanbase-vs-%e9%87%91%e4%bb%93%ef%bc%9a%e5%88%ab%e5%8f%aa%e6%af%94qps%ef%bc%8c%e5%85%88%e6%90%9e%e6%b8%85%e6%a5%9a%e4%bd%a0%e5%9c%a8%e4%b8%ba%e4%bb%80%e4%b9%88%e5%9c%ba%e6%99%af%e4%b9%b0%e5%8d%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107488.html","title":{"rendered":"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355"},"content":{"rendered":"<p>\u4e0a\u5468\u6709\u4e2a\u8001\u540c\u4e8b\u95ee\u6211&#xff0c;\u6838\u5fc3\u8d26\u52a1\u5e93\u5347\u7ea7\u5230\u5e95\u8be5\u770b OceanBase \u8fd8\u662f\u91d1\u4ed3\u3002\u4ed6\u539f\u8bdd\u633a\u6709\u610f\u601d&#xff1a;\u201c\u7f51\u4e0a\u622a\u56fe\u4e00\u4e2a\u6bd4\u4e00\u4e2a\u731b&#xff0c;\u5de6\u8fb9\u8bf4\u5206\u5e03\u5f0f\u6c34\u5e73\u6269\u5c55\u65e0\u654c&#xff0c;\u53f3\u8fb9\u8bf4\u8001\u724c\u4f01\u4e1a\u5e93\u7a33\u5f97\u50cf\u627f\u91cd\u5899\u3002\u6211\u8981\u7684\u662f\u80fd\u8fc7\u8bc4\u5ba1\u7684\u65b9\u6848&#xff0c;\u4e0d\u662f\u6d77\u62a5\u3002\u201d\u6211\u542c\u5b8c\u633a\u6709\u611f\u89e6\u3002OceanBaseVS\u91d1\u4ed3\u8fd9\u4e2a\u8bdd\u9898&#xff0c;\u6700\u5bb9\u6613\u88ab\u8bb2\u6210\u4fe1\u4ef0\u4e4b\u4e89&#xff0c;\u771f\u5230\u9879\u76ee\u91cc&#xff0c;\u53cd\u800c\u6ca1\u4eba\u613f\u610f\u628a\u8bdd\u8bf4\u7ec6&#xff1a;\u4f60\u7684\u5ef6\u8fdf\u5230\u5e95\u53d1\u751f\u5728\u8ba1\u7b97\u3001\u65e5\u5fd7\u3001\u7f51\u7edc&#xff0c;\u8fd8\u662f\u6267\u884c\u8ba1\u5212&#xff1f;\u4f60\u7684\u590d\u6742 SQL \u662f\u8001\u677f\u62a5\u8868\u3001\u5b9e\u65f6\u98ce\u63a7&#xff0c;\u8fd8\u662f\u8d26\u671f\u6279\u6263&#xff1f;\u9009\u578b\u4e0d\u662f\u9009\u51a0\u519b&#xff0c;\u662f\u9009\u201c\u4ee3\u4ef7\u653e\u5728\u54ea\u513f\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"941\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919122001-6aae7df199e04.png\" width=\"1672\" \/><\/p>\n<p>\u6211\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u6253\u7b97\u7aef\u6c34&#xff0c;\u4e5f\u4e0d\u6253\u7b97\u62cd\u6027\u80fd\u6570\u5b57\u2014\u2014\u8131\u79bb\u673a\u578b\u3001\u79df\u6237\u6a21\u5f0f\u3001\u53c2\u6570\u3001\u6570\u636e\u503e\u659c\u548c\u538b\u6d4b\u6a21\u578b\u8c08\u500d\u6570&#xff0c;\u57fa\u672c\u5c5e\u4e8e\u7384\u5b66\u3002<span style=\"color:#0d0016\">\u6211\u60f3\u505a\u4e09\u4ef6\u66f4\u5b9e\u7528\u7684\u4e8b&#xff1a;\u7b2c\u4e00&#xff0c;\u628a OceanBase \u57fa\u4e8e Paxos \u7684\u5206\u5e03\u5f0f\u67b6\u6784&#xff0c;\u548c\u91d1\u4ed3\u66f4\u5e38\u89c1\u7684\u96c6\u4e2d\u5f0f\/\u5171\u4eab\u5b58\u50a8\u843d\u5730\u5f62\u6001&#xff0c;\u5728\u5ef6\u8fdf\u6765\u6e90\u4e0a\u62c6\u5f00&#xff1b;\u7b2c\u4e8c&#xff0c;\u7528\u4e00\u7ec4\u8d34\u8fd1\u8d26\u52a1\u573a\u666f\u7684\u5efa\u8868\u3001\u589e\u5220\u6539\u67e5\u548c\u590d\u6742 SQL&#xff0c;\u8bf4\u660e\u4e24\u7c7b\u7cfb\u7edf\u201c\u64c5\u957f\u4ec0\u4e48\u3001\u522b\u626d\u4ec0\u4e48\u201d&#xff1b;\u7b2c\u4e09&#xff0c;\u7ed9\u4e00\u5957\u53ef\u590d\u7528\u7684\u6d4b\u8bd5\u53e3\u5f84&#xff0c;\u514d\u5f97\u8bc4\u5ba1\u4f1a\u53c8\u53d8\u6210\u622a\u56fe\u5927\u6218\u3002\u4ee3\u7801\u6211\u5c3d\u91cf\u5199\u6210\u9aa8\u67b6&#xff0c;\u751f\u4ea7\u522b\u76f4\u63a5\u642c&#xff0c;\u4f46\u601d\u8def\u53ef\u4ee5\u76f4\u63a5\u62ff\u53bb\u7528\u3002<\/span><\/p>\n<h3>\u4e00\u3001\u5148\u628a\u8bdd\u8bf4\u7a84&#xff1a;\u5206\u5e03\u5f0f\u4e0d\u662f\u514d\u6b7b\u91d1\u724c&#xff0c;\u96c6\u4e2d\u5f0f\u4e5f\u4e0d\u662f\u8001\u53e4\u8463<\/h3>\n<p>\u5f88\u591a\u4eba\u4e00\u8c08 OceanBase&#xff0c;\u8111\u5b50\u91cc\u81ea\u52a8\u5f39\u51fa\u56db\u4e2a\u5b57&#xff1a;\u6c34\u5e73\u6269\u5c55\u3002\u8fd9\u4e2a\u5370\u8c61\u6ca1\u9519&#xff0c;\u4f46\u4e0d\u5b8c\u6574\u3002OceanBase \u7684\u6838\u5fc3\u5438\u5f15\u529b\u5728\u4e8e\u628a\u6570\u636e\u5206\u7247\u3001\u526f\u672c\u4e00\u81f4\u6027\u3001\u6545\u969c\u5207\u6362\u548c\u9ad8\u53ef\u7528\u6253\u5305\u8fdb\u4e00\u5957\u4f53\u7cfb\u91cc&#xff0c;\u5e95\u5c42\u4e00\u81f4\u6027\u9760 Paxos \u8fd9\u7c7b\u591a\u6570\u6d3e\u534f\u8bae\u6491\u4f4f\u3002\u597d\u5904\u5f88\u660e\u663e&#xff1a;\u8282\u70b9\u53ef\u4ee5\u6269&#xff0c;\u526f\u672c\u53ef\u4ee5\u8de8\u673a\u623f\u653e&#xff0c;\u5355\u70b9\u6545\u969c\u4e0d\u90a3\u4e48\u5413\u4eba\u3002\u4ee3\u4ef7\u4e5f\u540c\u6837\u6e05\u695a&#xff1a;\u4e00\u6761\u5199\u8def\u5f84\u4e0d\u518d\u53ea\u662f\u201c\u672c\u673a\u843d\u76d8\u201d&#xff0c;\u800c\u662f\u81f3\u5c11\u8981\u5728\u591a\u6570\u526f\u672c\u4e4b\u95f4\u8fbe\u6210\u4e00\u81f4&#xff1b;\u8de8\u673a\u623f\u90e8\u7f72\u65f6&#xff0c;\u7f51\u7edc RTT \u4f1a\u76f4\u63a5\u7ad9\u5230\u4e8b\u52a1\u5ef6\u8fdf\u7684\u821e\u53f0\u4e0a&#xff0c;\u8fd8\u662fC\u4f4d\u3002<\/p>\n<p><span style=\"color:#ff9900\">\u91d1\u4ed3\u8fd9\u8fb9&#xff0c;\u4f01\u4e1a\u751f\u4ea7\u91cc\u66f4\u5e38\u89c1\u7684\u5f62\u6001\u8fd8\u662f\u96c6\u4e2d\u5f0f\u4e3b\u5907&#xff0c;\u6216\u8005\u518d\u5f80\u4e0a\u8d70\u5171\u4eab\u5b58\u50a8\u3001\u96c6\u7fa4\u5316\u7684\u8def\u6570\u3002\u5b83\u7684\u5f3a\u9879\u4e0d\u5728\u201c\u628a\u4e00\u4e2a\u96c6\u7fa4\u62c6\u6210\u5f88\u591a\u7247\u7ee7\u7eed\u52a0\u673a\u5668\u201d&#xff0c;\u800c\u5728\u6210\u719f\u7684\u4e8b\u52a1\u8bed\u4e49\u3001\u4f18\u5316\u5668\u3001\u8fc7\u7a0b\u5316\u80fd\u529b\u3001\u8fd0\u7ef4\u4f53\u7cfb\u548c\u5468\u8fb9\u5de5\u5177\u94fe\u3002\u5199\u4e00\u7b14\u8d26&#xff0c;\u8def\u5f84\u77ed&#xff0c;\u5c3e\u5df4\u5c11&#xff0c;\u5ef6\u8fdf\u66f4\u597d\u538b&#xff1b;\u95ee\u9898\u5728\u4e8e&#xff0c;\u5f53\u5355\u5199\u5165\u53e3\u6216\u5355\u5b9e\u4f8b\u5929\u82b1\u677f\u771f\u7684\u9876\u5230\u4e1a\u52a1\u589e\u957f\u66f2\u7ebf\u65f6&#xff0c;\u4f60\u8981\u66f4\u65e9\u505a\u62c6\u5206\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5f52\u6863\u3001\u5206\u5e93\u5206\u8868&#xff0c;\u6216\u8005\u5f15\u5165\u540c\u6b65\u94fe\u8def\u53bb\u5378\u538b\u529b\u3002\u6362\u53e5\u8bdd\u8bf4&#xff0c;OceanBase \u628a\u5f88\u591a\u5206\u5e03\u5f0f\u96be\u9898\u4ea7\u54c1\u5316&#xff1b;\u91d1\u4ed3\u5219\u628a\u5355\u673a\/\u4e3b\u5907\u5f62\u6001\u6253\u78e8\u5f97\u66f4\u542c\u8bdd&#xff0c;\u4f46\u6269\u5c55\u7684\u529f\u8bfe\u5e38\u5e38\u8981\u63d0\u524d\u505a\u5230\u5e94\u7528\u5c42\u3002<\/span><\/p>\n<p><span style=\"color:#0d0016\">\u6211\u4e00\u822c\u4f1a\u5148\u95ee\u5ba2\u6237\u4e09\u4e2a\u95ee\u9898&#xff1a;\u6570\u636e\u91cf\u7ea7\u662f\u4e0d\u662f\u5df2\u7ecf\u9876\u5230\u5355\u673a\u5199\u5165\u53e3&#xff1f;RPO\/RTO \u5230\u5e95\u8981\u591a\u4e45&#xff0c;\u80fd\u4e0d\u80fd\u63a5\u53d7\u8de8\u673a\u623f\u5f3a\u4e00\u81f4\u5e26\u6765\u7684\u5ef6\u8fdf\u7a0e&#xff1f;\u590d\u6742 SQL \u662f\u5076\u5c14\u8dd1\u4e00\u6b21\u7684\u7ba1\u7406\u5c42\u62a5\u8868&#xff0c;\u8fd8\u662f\u6bcf\u7b14\u4ea4\u6613\u90fd\u7ed5\u4e0d\u5f00\u7684\u94fe\u8def&#xff1f;\u8fd9\u4e09\u4e2a\u7b54\u6848&#xff0c;\u6bd4\u5341\u5f20\u5ba3\u4f20\u9875\u6709\u7528\u3002<\/span><\/p>\n<h3>\u4e8c\u3001\u5efa\u8868\u522b\u70ab\u6280&#xff1a;\u5b57\u6bb5\u7c7b\u578b\u548c\u7ea6\u675f&#xff0c;\u540e\u9762\u90fd\u4f1a\u53d8\u6210\u5ef6\u8fdf\u548c\u7ea0\u7eb7<\/h3>\n<p>\u4e0d\u7ba1\u9009\u54ea\u8fb9&#xff0c;\u5efa\u8868\u9636\u6bb5\u90fd\u522b\u6d6a\u3002\u8fc1\u79fb\u8bc4\u4f30\u91cc\u6700\u5bb9\u6613\u88ab\u4f4e\u4f30\u7684\u4e0d\u662f\u5927\u5bf9\u8c61&#xff0c;\u800c\u662f\u9ed8\u8ba4\u503c\u3001\u7ea6\u675f\u3001\u7d22\u5f15\u548c\u5206\u533a\u952e\u3002\u5c24\u5176\u8d26\u52a1\u3001\u8ba2\u5355\u8fd9\u7c7b\u7cfb\u7edf&#xff0c;\u4eca\u5929\u56fe\u7701\u4e8b\u7559\u4e00\u4e2a\u542b\u7cca\u5b57\u6bb5&#xff0c;\u660e\u5929\u5bf9\u8d26\u3001\u51b2\u6b63\u3001\u5e42\u7b49\u3001\u7a3d\u6838\u5168\u4f1a\u627e\u4e0a\u95e8\u3002<\/p>\n<p>\u6211\u7528\u4e00\u4e2a\u7b80\u5316\u8d26\u52a1\u573a\u666f\u3002OceanBase \u4fa7\u6211\u6309 MySQL \u517c\u5bb9\u79df\u6237\u6765\u5199&#xff0c;\u8d34\u8fd1\u5f88\u591a\u4e92\u8054\u7f51\u56e2\u961f\u624b\u611f&#xff1b;\u91d1\u4ed3\u4fa7\u7528\u4f01\u4e1a\u5e93\u5e38\u89c1\u5199\u6cd5\u3002\u522b\u7ea0\u7ed3\u67d0\u4e2a\u5173\u952e\u5b57\u5728\u4e0d\u540c\u7248\u672c\u91cc\u7684\u7ec6\u5c0f\u533a\u522b&#xff0c;\u91cd\u70b9\u662f\u7ed3\u6784\u53e3\u5f84&#xff1a;\u91d1\u989d\u5b9a\u70b9&#xff0c;\u72b6\u6001\u6536\u7a84&#xff0c;\u8bf7\u6c42\u53f7\u552f\u4e00&#xff0c;\u4e1a\u52a1\u65f6\u95f4\u548c\u5ba1\u8ba1\u65f6\u95f4\u5206\u5f00&#xff0c;\u5206\u533a\u952e\u522b\u548c\u4e3b\u952e\u62a2\u620f\u3002<\/p>\n<p>OceanBase MySQL \u79df\u6237\u793a\u610f&#xff1a;<\/p>\n<p>CREATE TABLE acct_balance (<br \/>\n  acct_id       BIGINT       NOT NULL,<br \/>\n  balance_date  DATE         NOT NULL,<br \/>\n  currency_code CHAR(3)      NOT NULL DEFAULT &#039;CNY&#039;,<br \/>\n  balance       DECIMAL(18,2) NOT NULL DEFAULT 0,<br \/>\n  frozen_amt    DECIMAL(18,2) NOT NULL DEFAULT 0,<br \/>\n  version_no    BIGINT       NOT NULL DEFAULT 0,<br \/>\n  created_at    TIMESTAMP    NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  updated_at    TIMESTAMP    NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  PRIMARY KEY (acct_id, balance_date)<br \/>\n) PARTITION BY RANGE COLUMNS(balance_date) (<br \/>\n  PARTITION p202609 VALUES LESS THAN (&#039;2026-10-01&#039;),<br \/>\n  PARTITION pmax VALUES LESS THAN MAXVALUE<br \/>\n);<\/p>\n<p>CREATE TABLE acct_flow (<br \/>\n  flow_id     BIGINT       NOT NULL,<br \/>\n  acct_id     BIGINT       NOT NULL,<br \/>\n  flow_type   VARCHAR(16)  NOT NULL,<br \/>\n  amount      DECIMAL(18,2) NOT NULL,<br \/>\n  flow_status CHAR(1)      NOT NULL DEFAULT &#039;N&#039;,<br \/>\n  request_no  VARCHAR(64)  NOT NULL,<br \/>\n  biz_time    TIMESTAMP    NOT NULL,<br \/>\n  created_at  TIMESTAMP    NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  PRIMARY KEY (flow_id),<br \/>\n  UNIQUE KEY uk_acct_flow_req (request_no),<br \/>\n  KEY idx_acct_flow_acct_time (acct_id, biz_time),<br \/>\n  KEY idx_acct_flow_status_time (flow_status, biz_time)<br \/>\n);<\/p>\n<p>\u91d1\u4ed3\u4fa7\u793a\u610f&#xff1a;<\/p>\n<p>CREATE TABLE acct_balance (<br \/>\n  acct_id        BIGINT        NOT NULL,<br \/>\n  balance_date   DATE          NOT NULL,<br \/>\n  currency_code  CHAR(3)       NOT NULL DEFAULT &#039;CNY&#039;,<br \/>\n  balance        NUMERIC(18,2) NOT NULL DEFAULT 0 CHECK (balance &gt;&#061; 0),<br \/>\n  frozen_amt     NUMERIC(18,2) NOT NULL DEFAULT 0 CHECK (frozen_amt &gt;&#061; 0),<br \/>\n  version_no     BIGINT        NOT NULL DEFAULT 0,<br \/>\n  created_at     TIMESTAMP     NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  updated_at     TIMESTAMP     NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  CONSTRAINT pk_acct_balance PRIMARY KEY (acct_id, balance_date)<br \/>\n)<br \/>\nPARTITION BY RANGE (balance_date);<\/p>\n<p>CREATE TABLE acct_balance_202609 PARTITION OF acct_balance<br \/>\nFOR VALUES FROM (&#039;2026-09-01&#039;) TO (&#039;2026-10-01&#039;);<\/p>\n<p>CREATE TABLE acct_flow (<br \/>\n  flow_id     BIGINT        NOT NULL,<br \/>\n  acct_id     BIGINT        NOT NULL,<br \/>\n  flow_type   VARCHAR(16)   NOT NULL CHECK (flow_type IN (&#039;RECHARGE&#039;,&#039;DEDUCT&#039;,&#039;FREEZE&#039;,&#039;UNFREEZE&#039;,&#039;ADJUST&#039;)),<br \/>\n  amount      NUMERIC(18,2) NOT NULL CHECK (amount &lt;&gt; 0),<br \/>\n  flow_status CHAR(1)       NOT NULL DEFAULT &#039;N&#039; CHECK (flow_status IN (&#039;N&#039;,&#039;P&#039;,&#039;F&#039;,&#039;C&#039;)),<br \/>\n  request_no  VARCHAR(64)   NOT NULL,<br \/>\n  biz_time    TIMESTAMP     NOT NULL,<br \/>\n  created_at  TIMESTAMP     NOT NULL DEFAULT CURRENT_TIMESTAMP,<br \/>\n  CONSTRAINT pk_acct_flow PRIMARY KEY (flow_id),<br \/>\n  CONSTRAINT uk_acct_flow_req UNIQUE (request_no)<br \/>\n);<\/p>\n<p>CREATE INDEX idx_acct_flow_acct_time ON acct_flow(acct_id, biz_time);<br \/>\nCREATE INDEX idx_acct_flow_status_time ON acct_flow(flow_status, biz_time);<\/p>\n<p>\u8fd9\u91cc\u6709\u4e00\u4e2a\u6211\u81ea\u5df1\u5f88\u56fa\u6267\u7684\u70b9&#xff1a;\u80fd\u5199 CHECK \u7684\u5730\u65b9\u522b\u5168\u9760\u5e94\u7528\u5c42\u81ea\u89c9\u3002\u4e0d\u662f\u8bf4\u5e94\u7528\u4e0d\u8be5\u6821\u9a8c&#xff0c;\u800c\u662f\u6570\u636e\u5e93\u8fd9\u5c42\u515c\u5e95&#xff0c;\u80fd\u5728\u8fc1\u79fb\u548c\u8054\u8c03\u65f6\u5e2e\u4f60\u6293\u4f4f\u201c\u810f\u6d41\u91cf\u201d\u3002\u4ee3\u4ef7\u5f53\u7136\u6709\u4e00\u70b9&#xff0c;\u5199\u5165\u591a\u51e0\u9053\u5224\u65ad&#xff0c;\u6781\u7aef\u9ad8\u5e76\u53d1\u4e0b\u8981\u6d4b\u3002\u4f46\u8d26\u52a1\u7cfb\u7edf\u91cc&#xff0c;\u9519\u4e00\u7b14\u6bd4\u6162\u4e00\u6beb\u79d2\u66f4\u96be\u770b\u3002<\/p>\n<p>\u518d\u8865\u4e00\u5f20\u6c47\u603b\u8868&#xff0c;\u540e\u9762\u7a97\u53e3\u51fd\u6570\u548c\u5d4c\u5957\u5b50\u67e5\u8be2\u90fd\u8981\u5403\u5b83\u3002<\/p>\n<p>CREATE TABLE acct_daily_sum (<br \/>\n  sum_date     DATE          NOT NULL,<br \/>\n  acct_id      BIGINT        NOT NULL,<br \/>\n  recharge_amt NUMERIC(18,2) NOT NULL DEFAULT 0,<br \/>\n  deduct_amt   NUMERIC(18,2) NOT NULL DEFAULT 0,<br \/>\n  adjust_amt   NUMERIC(18,2) NOT NULL DEFAULT 0,<br \/>\n  flow_cnt     BIGINT        NOT NULL DEFAULT 0,<br \/>\n  CONSTRAINT pk_acct_daily_sum PRIMARY KEY (sum_date, acct_id)<br \/>\n);<\/p>\n<h3>\u4e09\u3001\u589e\u5220\u6539\u67e5&#xff1a;\u771f\u6b63\u62c9\u5f00\u5dee\u8ddd\u7684&#xff0c;\u5e38\u5e38\u662f\u4e8b\u52a1\u5c3e\u5df4\u548c\u70ed\u70b9\u884c<\/h3>\n<p>\u5148\u628a\u4e11\u8bdd\u8bf4\u524d\u9762&#xff1a;\u7b80\u5355\u70b9\u67e5\u3001\u6309\u4e3b\u952e\u66f4\u65b0&#xff0c;OceanBase \u548c\u91d1\u4ed3\u90fd\u80fd\u8dd1\u5f97\u5f88\u597d\u770b\u3002\u8bc4\u5ba1\u91cc\u62ff\u8fd9\u79cd SQL \u8bc1\u660e\u8c01\u66f4\u5f3a&#xff0c;\u610f\u4e49\u4e0d\u5927\u3002\u771f\u6b63\u89c1\u6027\u683c\u7684\u662f\u4e09\u7c7b\u573a\u666f&#xff1a;\u70ed\u70b9\u8d26\u6237\u3001\u8de8\u5206\u533a\u4e8b\u52a1\u3001\u6279\u91cf\u4f5c\u4e1a\u3002\u5c24\u5176\u8d26\u52a1\u7cfb\u7edf&#xff0c;\u5927\u5bb6\u5634\u4e0a\u8c08\u67b6\u6784&#xff0c;\u8eab\u4f53\u90fd\u5f88\u8bda\u5b9e\u5730\u76ef\u7740\u90a3\u51e0\u4e2a\u5927\u8d26\u6237&#xff1a;\u5e73\u53f0\u8d26\u6237\u3001\u7ed3\u7b97\u8d26\u6237\u3001\u6e20\u9053\u8fc7\u6e21\u6237\u3002\u5b83\u4eec\u4e00\u70ed&#xff0c;\u4ec0\u4e48\u8bbe\u8ba1\u7406\u5ff5\u90fd\u8981\u63a5\u53d7\u73b0\u5b9e\u68c0\u9a8c\u3002<\/p>\n<p>OceanBase MySQL \u79df\u6237\u589e\u5220\u6539\u67e5\u793a\u610f&#xff1a;<\/p>\n<p>&#8212; \u5e42\u7b49\u5165\u8d26&#xff1a;\u91cd\u590d\u8bf7\u6c42\u53f7\u4e0d\u91cd\u590d\u8bb0\u8d26<br \/>\nINSERT INTO acct_flow(flow_id, acct_id, flow_type, amount, flow_status, request_no, biz_time)<br \/>\nVALUES (900001, 10086, &#039;RECHARGE&#039;, 100.00, &#039;N&#039;, &#039;REQ-OB-0001&#039;, &#039;2026-09-13 20:30:00&#039;)<br \/>\nON DUPLICATE KEY UPDATE flow_id &#061; flow_id;<\/p>\n<p>UPDATE acct_balance<br \/>\nSET balance &#061; balance &#043; 100.00,<br \/>\n    version_no &#061; version_no &#043; 1,<br \/>\n    updated_at &#061; NOW()<br \/>\nWHERE acct_id &#061; 10086<br \/>\n  AND balance_date &#061; &#039;2026-09-13&#039;<br \/>\n  AND version_no &#061; 7<br \/>\n  AND balance &#043; 100.00 &gt;&#061; 0;<\/p>\n<p>&#8212; \u72b6\u6001\u6d41\u8f6c &#043; \u6d41\u6c34\u767b\u8bb0&#xff0c;\u5fc5\u987b\u540c\u4e00\u4e2a\u4e8b\u52a1<br \/>\nSTART TRANSACTION;<br \/>\n  UPDATE acct_balance<br \/>\n  SET balance &#061; balance &#8211; 30.00,<br \/>\n      frozen_amt &#061; frozen_amt &#043; 30.00,<br \/>\n      version_no &#061; version_no &#043; 1,<br \/>\n      updated_at &#061; NOW()<br \/>\n  WHERE acct_id &#061; 10086<br \/>\n    AND balance_date &#061; &#039;2026-09-13&#039;<br \/>\n    AND version_no &#061; 8<br \/>\n    AND balance &gt;&#061; 30.00;<\/p>\n<p>  INSERT INTO acct_flow(flow_id, acct_id, flow_type, amount, flow_status, request_no, biz_time)<br \/>\n  VALUES (900002, 10086, &#039;FREEZE&#039;, -30.00, &#039;N&#039;, &#039;REQ-OB-0002&#039;, NOW());<br \/>\nCOMMIT;<\/p>\n<p>\u91d1\u4ed3\u4fa7&#xff0c;\u540c\u6837\u7684\u4e1a\u52a1\u610f\u56fe&#xff0c;\u5199\u6cd5\u4e0d\u795e\u79d8&#xff0c;\u91cd\u70b9\u5728\u628a\u8fb9\u754c\u6536\u7d27&#xff1a;<\/p>\n<p>&#8212; \u8bf7\u6c42\u53f7\u552f\u4e00\u51b2\u7a81\u5c31\u4ea4\u7ed9\u7ea6\u675f&#xff0c;\u522b\u9760\u201c\u5148\u67e5\u518d\u63d2\u201d\u88c5\u5e42\u7b49<br \/>\nINSERT INTO acct_flow(flow_id, acct_id, flow_type, amount, flow_status, request_no, biz_time)<br \/>\nVALUES (900001, 10086, &#039;RECHARGE&#039;, 100.00, &#039;N&#039;, &#039;REQ-KES-0001&#039;, TIMESTAMP &#039;2026-09-13 20:30:00&#039;);<\/p>\n<p>UPDATE acct_balance<br \/>\nSET balance &#061; balance &#043; 100.00,<br \/>\n    version_no &#061; version_no &#043; 1,<br \/>\n    updated_at &#061; CURRENT_TIMESTAMP<br \/>\nWHERE acct_id &#061; 10086<br \/>\n  AND balance_date &#061; DATE &#039;2026-09-13&#039;<br \/>\n  AND version_no &#061; 7<br \/>\n  AND balance &#043; 100.00 &gt;&#061; 0;<\/p>\n<p>BEGIN;<br \/>\n  UPDATE acct_balance<br \/>\n  SET balance &#061; balance &#8211; 30.00,<br \/>\n      frozen_amt &#061; frozen_amt &#043; 30.00,<br \/>\n      version_no &#061; version_no &#043; 1,<br \/>\n      updated_at &#061; CURRENT_TIMESTAMP<br \/>\n  WHERE acct_id &#061; 10086<br \/>\n    AND balance_date &#061; DATE &#039;2026-09-13&#039;<br \/>\n    AND version_no &#061; 8<br \/>\n    AND balance &gt;&#061; 30.00;<\/p>\n<p>  INSERT INTO acct_flow(flow_id, acct_id, flow_type, amount, flow_status, request_no, biz_time)<br \/>\n  VALUES (900002, 10086, &#039;FREEZE&#039;, -30.00, &#039;N&#039;, &#039;REQ-KES-0002&#039;, CURRENT_TIMESTAMP);<br \/>\nCOMMIT;<\/p>\n<p>\u8fd9\u91cc\u5dee\u522b\u5f00\u59cb\u663e\u5f62\u3002OceanBase \u5982\u679c\u628a\u70ed\u70b9\u8d26\u6237\u6070\u597d\u8def\u7531\u5230\u540c\u4e00\u53f0 observer&#xff0c;\u5f3a\u4e00\u81f4\u5199\u8def\u5f84\u4ecd\u8981\u8fc7 Paxos \u591a\u6570\u6d3e&#xff1b;\u5982\u679c\u70ed\u70b9\u8fd8\u88ab\u5206\u533a\u7b56\u7565\u6253\u6563&#xff0c;\u8868\u9762\u4e0a\u201c\u5206\u62c5\u4e86\u201d&#xff0c;\u8d26\u52a1\u4e0a\u5374\u53ef\u80fd\u628a\u5355\u884c\u4f59\u989d\u66f4\u65b0\u53d8\u6210\u66f4\u96be\u53d7\u7684\u8de8\u5206\u533a\u4e8b\u52a1\u3002\u91d1\u4ed3\u96c6\u4e2d\u5f0f\u4e3b\u5907\u5728\u8fd9\u7c7b\u5355\u884c\u70ed\u70b9\u4e0a\u5e38\u5e38\u66f4\u76f4\u767d&#xff1a;\u672c\u5730\u63d0\u4ea4\u5feb&#xff0c;\u5c3e\u5df4\u77ed&#xff0c;\u4f46\u8981\u63a5\u53d7\u4e3b\u5199\u5165\u53e3\u548c\u540e\u7eed\u62c6\u5206\u89c4\u5212\u3002\u6211\u7684\u5224\u65ad\u6807\u51c6\u5f88\u571f&#xff1a;\u8dd1\u6279\u524d\u770b P99&#xff0c;\u4e0d\u8981\u53ea\u770b\u5e73\u5747&#xff1b;\u70ed\u70b9\u8d26\u6237\u5355\u72ec\u505a\u4e00\u7ec4&#xff1b;\u540c\u6b65\u94fe\u8def\u5ef6\u8fdf\u4e5f\u7eb3\u5165\u4e8b\u52a1\u5b8c\u6210\u65f6\u95f4&#xff0c;\u4e0d\u8981\u5047\u88c5\u5b83\u4e0d\u5b58\u5728\u3002<\/p>\n<p>\u67e5\u8be2\u4e5f\u4e00\u6837\u3002\u6309\u8d26\u6237\u67e5\u6700\u8fd1\u6d41\u6c34&#xff0c;\u4e24\u8fb9\u90fd\u4e0d\u4f1a\u96be\u770b\u3002\u96be\u770b\u7684\u662f\u201c\u6211\u60f3\u987a\u624b\u7edf\u8ba1\u4e00\u4e0b\u4eca\u5929\u72b6\u6001\u5206\u5e03&#xff0c;\u518d\u6309\u6e20\u9053\u4f30\u4e2a\u5cf0\u503c\u201d&#xff0c;\u7136\u540e\u4e00\u6761 SQL \u628a\u8fc7\u6ee4\u3001\u6392\u5e8f\u3001\u805a\u5408\u3001\u53bb\u91cd\u5168\u63c9\u8fdb\u53bb\u3002\u6267\u884c\u8ba1\u5212\u4e00\u4e0a\u4e00\u4e0b&#xff0c;\u4f18\u5316\u5668\u6027\u683c\u5c31\u51fa\u6765\u4e86\u3002<\/p>\n<p>SELECT flow_status, COUNT(*) AS cnt, SUM(amount) AS amt<br \/>\nFROM acct_flow<br \/>\nWHERE biz_time &gt;&#061; &#039;2026-09-13 00:00:00&#039;<br \/>\n  AND biz_time &lt;  &#039;2026-09-14 00:00:00&#039;<br \/>\nGROUP BY flow_status<br \/>\nORDER BY amt DESC;<\/p>\n<p>\u8fd9\u6761 SQL \u672c\u8eab\u4e0d\u5996\u3002\u5996\u7684\u662f\u6570\u636e\u503e\u659c&#xff1a;N \u72b6\u6001\u5360\u4e5d\u6210&#xff0c;C \u72b6\u6001\u5f88\u5c11&#xff0c;\u7d22\u5f15\u5230\u5e95\u5148\u626b\u72b6\u6001\u8fd8\u662f\u5148\u626b\u65f6\u95f4&#xff0c;\u7edf\u8ba1\u4fe1\u606f\u7a0d\u5fae\u4e0d\u51c6&#xff0c;\u8ba1\u5212\u5c31\u4f1a\u53d8\u3002\u91d1\u4ed3\u8fd9\u8fb9\u6211\u4f1a\u66f4\u4f9d\u8d56\u7edf\u8ba1\u4fe1\u606f\u65b0\u9c9c\u5ea6\u3001\u7d22\u5f15\u9009\u62e9\u548c hint \u7eaa\u5f8b&#xff1b;OceanBase \u8fd9\u8fb9\u8fd8\u8981\u989d\u5916\u76ef\u5206\u533a\u88c1\u526a\u3001\u6267\u884c\u8282\u70b9\u95f4\u6570\u636e\u4f20\u8f93\u3001\u4ee5\u53ca\u5206\u5e03\u5f0f\u6267\u884c\u628a\u591a\u5c11\u884c\u62c9\u6765\u62c9\u53bb\u3002\u4e0d\u662f\u8c01\u4e00\u5b9a\u6162&#xff0c;\u662f\u6162\u7684\u4ef7\u94b1\u4e0d\u4e00\u6837&#xff1a;\u4e00\u4e2a\u53ef\u80fd\u6162\u5728\u4f18\u5316\u5668\u9009\u8def&#xff0c;\u4e00\u4e2a\u53ef\u80fd\u6162\u5728\u5206\u5e03\u5f0f\u6570\u636e\u642c\u79fb\u53e0\u4e0a\u5f3a\u4e00\u81f4\u3002<\/p>\n<h3>\u56db\u3001\u590d\u6742 SQL \u89c1\u771f\u7ae0&#xff1a;\u591a\u8868\u5173\u8054\u3001\u5d4c\u5957\u5b50\u67e5\u8be2\u3001\u7a97\u53e3\u51fd\u6570<\/h3>\n<p>\u9009\u578b\u8bc4\u5ba1\u6211\u6700\u559c\u6b22\u770b\u590d\u6742 SQL&#xff0c;\u56e0\u4e3a\u5b83\u6700\u63a5\u8fd1\u771f\u5b9e\u4e1a\u52a1\u3002\u62a5\u8868\u3001\u98ce\u63a7\u3001\u7a3d\u6838\u3001\u8d26\u671f\u6838\u5bf9&#xff0c;\u5634\u4e0a\u90fd\u8bf4\u201c\u5c31\u8dd1\u4e00\u6b21\u201d&#xff0c;\u771f\u51fa\u95ee\u9898\u90fd\u5728\u8fd9\u79cd SQL \u4e0a\u3002\u4e3a\u4e86\u907f\u514d\u7a7a\u5bf9\u7a7a&#xff0c;\u6211\u9020\u4e00\u4e2a\u5178\u578b\u8bc9\u6c42&#xff1a;\u6309\u8d26\u6237\u6c47\u603b\u5f53\u5929\u6d41\u6c34&#xff0c;\u627e\u51fa\u8fde\u7eed\u5145\u503c\u540e\u4f59\u989d\u5f02\u5e38\u6ce2\u52a8\u3001\u4e14\u6d41\u6c34\u72b6\u6001\u975e\u5b8c\u6210\u7684\u8d26\u6237&#xff0c;\u518d\u7ed9\u51fa\u8fd1\u4e03\u65e5\u6263\u8d39\u6392\u540d\u3002\u542c\u7740\u7ed5&#xff0c;\u5b9e\u9645\u9879\u76ee\u91cc\u8fd9\u7b97\u5ba2\u6c14\u3002<\/p>\n<p>OceanBase MySQL \u79df\u6237\u793a\u610f&#xff1a;<\/p>\n<p>SELECT s.sum_date,<br \/>\n       s.acct_id,<br \/>\n       s.recharge_amt,<br \/>\n       s.deduct_amt,<br \/>\n       b.balance,<br \/>\n       b.frozen_amt,<br \/>\n       RANK() OVER (PARTITION BY s.sum_date ORDER BY s.deduct_amt DESC) AS deduct_rank,<br \/>\n       COUNT(*) OVER (PARTITION BY s.acct_id ORDER BY s.sum_date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS active_days_7<br \/>\nFROM acct_daily_sum s<br \/>\nJOIN acct_balance b<br \/>\n  ON b.acct_id &#061; s.acct_id<br \/>\n AND b.balance_date &#061; s.sum_date<br \/>\nWHERE s.sum_date &#061; &#039;2026-09-13&#039;<br \/>\n  AND EXISTS (<br \/>\n        SELECT 1<br \/>\n        FROM acct_flow f<br \/>\n        WHERE f.acct_id &#061; s.acct_id<br \/>\n          AND f.biz_time &gt;&#061; &#039;2026-09-13 00:00:00&#039;<br \/>\n          AND f.biz_time &lt;  &#039;2026-09-14 00:00:00&#039;<br \/>\n          AND f.flow_status &lt;&gt; &#039;C&#039;<br \/>\n      )<br \/>\nORDER BY deduct_rank<br \/>\nLIMIT 100;<\/p>\n<p>\u91d1\u4ed3\u4fa7&#xff1a;<\/p>\n<p>SELECT s.sum_date,<br \/>\n       s.acct_id,<br \/>\n       s.recharge_amt,<br \/>\n       s.deduct_amt,<br \/>\n       b.balance,<br \/>\n       b.frozen_amt,<br \/>\n       RANK() OVER (PARTITION BY s.sum_date ORDER BY s.deduct_amt DESC) AS deduct_rank,<br \/>\n       COUNT(*) OVER (PARTITION BY s.acct_id ORDER BY s.sum_date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS active_days_7<br \/>\nFROM acct_daily_sum s<br \/>\nJOIN acct_balance b<br \/>\n  ON b.acct_id &#061; s.acct_id<br \/>\n AND b.balance_date &#061; s.sum_date<br \/>\nWHERE s.sum_date &#061; DATE &#039;2026-09-13&#039;<br \/>\n  AND EXISTS (<br \/>\n        SELECT 1<br \/>\n        FROM acct_flow f<br \/>\n        WHERE f.acct_id &#061; s.acct_id<br \/>\n          AND f.biz_time &gt;&#061; TIMESTAMP &#039;2026-09-13 00:00:00&#039;<br \/>\n          AND f.biz_time &lt;  TIMESTAMP &#039;2026-09-14 00:00:00&#039;<br \/>\n          AND f.flow_status &lt;&gt; &#039;C&#039;<br \/>\n      )<br \/>\nORDER BY deduct_rank<br \/>\nFETCH FIRST 100 ROWS ONLY;<\/p>\n<p>\u4e24\u79cd\u5199\u6cd5\u4e1a\u52a1\u76ee\u6807\u4e00\u81f4&#xff0c;\u4f46\u4f60\u8981\u76ef\u7684\u70b9\u4e0d\u5b8c\u5168\u4e00\u6837\u3002\u91d1\u4ed3\u8fd9\u8fb9&#xff0c;\u6211\u4f1a\u770b\u5d4c\u5957\u5b50\u67e5\u8be2\u80fd\u4e0d\u80fd\u88ab\u534a\u8fde\u63a5\u6539\u5199&#xff0c;\u7a97\u53e3\u51fd\u6570\u6392\u5e8f\u662f\u5426\u5f15\u53d1\u5927\u6570\u636e\u91cf\u843d\u76d8&#xff0c;JOIN \u987a\u5e8f\u662f\u4e0d\u662f\u88ab\u7edf\u8ba1\u4fe1\u606f\u5e26\u504f&#xff1b;\u5fc5\u8981\u65f6\u7528 hint \u6216\u628a EXISTS \u6539\u6210\u663e\u5f0f\u805a\u5408\u540e\u56de\u8868\u3002OceanBase \u8fd9\u8fb9&#xff0c;\u9664\u4e86\u4f18\u5316\u5668\u9009\u62e9&#xff0c;\u8fd8\u8981\u591a\u95ee\u4e00\u53e5&#xff1a;\u8fd9\u4e2a JOIN \u4f1a\u4e0d\u4f1a\u628a\u6570\u636e\u5728\u4e0d\u540c\u8282\u70b9\u4e4b\u95f4\u642c&#xff1f;\u7a97\u53e3\u51fd\u6570\u7684\u5206\u533a\u6392\u5e8f\u53d1\u751f\u5728\u672c\u5730\u8fd8\u662f\u5206\u5e03\u5f0f\u91cd\u5206\u5e03\u4e4b\u540e&#xff1f;\u5982\u679c acct_daily_sum \u6309\u65e5\u671f\u5206\u533a\u3001acct_balance \u6309\u8d26\u6237\u5206\u533a&#xff0c;\u5173\u8054\u952e\u53c8\u8ddf\u5206\u533a\u952e\u4e0d\u9f50&#xff0c;\u6570\u636e\u642c\u8fd0\u5c31\u4e0d\u4f1a\u8ddf\u4f60\u5ba2\u6c14\u3002<\/p>\n<p>\u6211\u4e5f\u89c1\u8fc7\u4e00\u79cd\u201c\u806a\u660e\u53cd\u88ab\u806a\u660e\u8bef\u201d\u7684\u5199\u6cd5&#xff1a;\u4e3a\u4e86\u5c55\u793a\u7a97\u53e3\u51fd\u6570&#xff0c;\u628a\u6240\u6709\u660e\u7ec6\u90fd\u585e\u8fdb\u4e00\u4e2a\u5de8\u5927\u5b50\u67e5\u8be2&#xff0c;\u518d\u5916\u5c42\u8fc7\u6ee4\u3002\u770b\u8d77\u6765\u5f88\u9ad8\u7ea7&#xff0c;\u6267\u884c\u8d77\u6765\u5e38\u628a\u4e2d\u95f4\u7ed3\u679c\u6491\u7206\u3002\u590d\u6742 SQL \u4f18\u5316&#xff0c;\u6211\u5b81\u53ef\u8ba9\u4e1a\u52a1\u627f\u8ba4\u5b83\u5176\u5b9e\u662f\u4e24\u6b65&#xff1a;\u5148\u843d\u4e00\u5f20\u65e5\u6c47\u603b&#xff0c;\u518d\u505a\u6392\u540d\u548c\u5f02\u5e38\u7b5b\u9009\u3002\u5f88\u591a\u6027\u80fd\u95ee\u9898\u4e0d\u662f\u6570\u636e\u5e93\u6551\u4e0d\u4e86&#xff0c;\u662f SQL \u628a\u81ea\u5df1\u7684\u80f3\u818a\u62e7\u5230\u80cc\u540e&#xff0c;\u8fd8\u8981\u6c42\u8dd1\u5f97\u5feb\u3002<\/p>\n<p>\u4e3a\u4e86\u8bf4\u660e\u8fd9\u4e2a\u70b9&#xff0c;\u518d\u7ed9\u4e00\u7248\u201c\u522b\u786c\u521a\u201d\u7684\u5199\u6cd5\u3002\u5148\u56fa\u5316\u65e5\u6c47\u603b&#xff0c;\u518d\u8dd1\u5206\u6790\u3002\u4e11&#xff0c;\u4f46\u7a33\u3002<\/p>\n<p>CREATE TABLE acct_risk_snapshot (<br \/>\n  snap_date     DATE NOT NULL,<br \/>\n  acct_id       BIGINT NOT NULL,<br \/>\n  deduct_rank   BIGINT,<br \/>\n  active_days_7 BIGINT,<br \/>\n  balance       NUMERIC(18,2),<br \/>\n  frozen_amt    NUMERIC(18,2),<br \/>\n  CONSTRAINT pk_acct_risk_snapshot PRIMARY KEY (snap_date, acct_id)<br \/>\n);<\/p>\n<p>INSERT INTO acct_risk_snapshot(snap_date, acct_id, deduct_rank, active_days_7, balance, frozen_amt)<br \/>\nSELECT s.sum_date,<br \/>\n       s.acct_id,<br \/>\n       RANK() OVER (PARTITION BY s.sum_date ORDER BY s.deduct_amt DESC) AS deduct_rank,<br \/>\n       COUNT(*) OVER (PARTITION BY s.acct_id ORDER BY s.sum_date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS active_days_7,<br \/>\n       b.balance,<br \/>\n       b.frozen_amt<br \/>\nFROM acct_daily_sum s<br \/>\nJOIN acct_balance b<br \/>\n  ON b.acct_id &#061; s.acct_id<br \/>\n AND b.balance_date &#061; s.sum_date<br \/>\nWHERE s.sum_date &#061; DATE &#039;2026-09-13&#039;;<\/p>\n<p>SELECT r.*<br \/>\nFROM acct_risk_snapshot r<br \/>\nWHERE r.snap_date &#061; DATE &#039;2026-09-13&#039;<br \/>\n  AND EXISTS (<br \/>\n        SELECT 1<br \/>\n        FROM acct_flow f<br \/>\n        WHERE f.acct_id &#061; r.acct_id<br \/>\n          AND f.biz_time &gt;&#061; TIMESTAMP &#039;2026-09-13 00:00:00&#039;<br \/>\n          AND f.biz_time &lt;  TIMESTAMP &#039;2026-09-14 00:00:00&#039;<br \/>\n          AND f.flow_status &lt;&gt; &#039;C&#039;<br \/>\n      )<br \/>\nORDER BY r.deduct_rank<br \/>\nFETCH FIRST 100 ROWS ONLY;<\/p>\n<p>\u6709\u4eba\u4f1a\u8bf4&#xff0c;\u5feb\u7167\u8868\u662f\u4e0d\u662f\u4f5c\u5f0a&#xff1f;\u6211\u4e0d\u8fd9\u4e48\u770b\u3002\u8d26\u671f\u3001\u98ce\u63a7\u3001\u7ecf\u8425\u5206\u6790\u672c\u6765\u5c31\u6709\u6279\u5904\u7406\u5c5e\u6027&#xff0c;\u628a\u77ac\u65f6\u4e00\u81f4\u6027\u8981\u6c42\u5f3a\u884c\u5957\u5230\u534a\u5c0f\u65f6\u62a5\u8868\u4e0a&#xff0c;\u624d\u662f\u5f88\u591a\u7cfb\u7edf\u53c8\u6162\u53c8\u8106\u7684\u6839\u6e90\u3002OceanBase \u4e5f\u4e0d\u662f\u4e0d\u80fd\u625b\u660e\u7ec6\u7ea7\u590d\u6742\u5206\u6790&#xff0c;\u4f46\u4f60\u8981\u4ed8\u51fa\u6570\u636e\u91cd\u5206\u5e03\u548c\u8ba1\u7b97\u8d44\u6e90&#xff1b;\u91d1\u4ed3\u4e5f\u4e0d\u662f\u53ea\u80fd\u8dd1\u5c0f\u67e5\u8be2&#xff0c;\u4f46\u8d85\u5927\u5206\u6790\u66f4\u8981\u9760\u7269\u5316\u3001\u6c47\u603b\u3001\u7d22\u5f15\u548c\u4efb\u52a1\u9519\u5cf0\u3002\u9009\u578b\u7684 maturity&#xff0c;\u5c31\u770b\u4f60\u6562\u4e0d\u6562\u627f\u8ba4&#xff1a;\u6709\u4e9b SQL \u4e0d\u8be5\u5728\u4ea4\u6613\u94fe\u8def\u91cc\u5b9e\u65f6\u786c\u7b97\u3002<\/p>\n<h3>\u4e94\u3001\u8fd0\u7ef4\u6210\u672c&#xff1a;\u5ba3\u4f20\u9875\u4e0d\u8bb2\u7684\u90a3\u90e8\u5206&#xff0c;\u624d\u662f\u8d26\u5355<\/h3>\n<p>\u804a OceanBaseVS\u91d1\u4ed3&#xff0c;\u5982\u679c\u53ea\u505c\u5728\u8dd1\u5206&#xff0c;\u5c31\u592a\u4fbf\u5b9c\u4e86\u3002\u4e0a\u7ebf\u4ee5\u540e&#xff0c;\u771f\u6b63\u6bcf\u5929\u70e6\u4f60\u7684&#xff0c;\u662f\u53d8\u66f4\u3001\u5907\u4efd\u3001\u6545\u969c\u3001\u6269\u5bb9\u3001\u6162 SQL\u3001\u6743\u9650\u3001\u5ba1\u8ba1\u3001\u76d1\u63a7\u53e3\u5f84&#xff0c;\u8fd8\u6709\u534a\u591c\u90a3\u5f20\u201c\u6838\u5fc3\u4ea4\u6613\u5ef6\u8fdf\u6296\u52a8\u201d\u7684\u544a\u8b66\u3002<\/p>\n<p>OceanBase \u7684\u8fd0\u7ef4\u53d9\u4e8b\u66f4\u73b0\u4ee3\u5316&#xff1a;\u8282\u70b9\u3001\u526f\u672c\u3001\u5206\u7247\u3001\u8d44\u6e90\u6c60\u3001\u79df\u6237&#xff0c;\u5f88\u591a\u52a8\u4f5c\u5e73\u53f0\u5316\u7a0b\u5ea6\u9ad8&#xff0c;\u6269\u5bb9\u601d\u8def\u4e5f\u66f4\u7b26\u5408\u201c\u5148\u52a0\u673a\u5668\u518d\u8bf4\u201d\u7684\u76f4\u89c9\u3002\u4f46\u786c\u5e01\u53cd\u9762\u662f&#xff0c;\u4f60\u8981\u7406\u89e3\u7684\u6982\u5ff5\u4e5f\u66f4\u591a&#xff1a;\u5408\u5e76\u3001\u8f6c\u50a8\u3001\u79df\u6237\u8d44\u6e90\u9694\u79bb\u3001 Paxos \u6210\u5458\u53d8\u66f4\u3001\u8de8\u673a\u623f\u590d\u5236\u3001leader \u5206\u5e03\u3001\u70ed\u70b9\u8c03\u5ea6\u3002\u56e2\u961f\u5982\u679c\u6ca1\u6709\u5206\u5e03\u5f0f\u57fa\u672c\u529f&#xff0c;\u521d\u671f\u4f1a\u628a\u201c\u5e73\u53f0\u5316\u4e86\u201d\u8bef\u542c\u6210\u201c\u4e0d\u7528\u61c2\u4e86\u201d\u3002\u771f\u51fa\u95ee\u9898\u65f6&#xff0c;\u4e00\u53e5\u201cleader \u90fd\u5728\u53e6\u4e00\u4e2a\u673a\u623f\u201d\u5c31\u591f\u4f60\u6e05\u9192\u3002<\/p>\n<p>\u91d1\u4ed3\u8fd9\u7c7b\u4f01\u4e1a\u5e93\u7684\u8fd0\u7ef4\u624b\u611f&#xff0c;\u66f4\u50cf\u957f\u671f\u5de5\u7a0b&#xff1a;\u5907\u4efd\u6062\u590d\u3001\u4e3b\u5907\u5207\u6362\u3001\u53c2\u6570\u57fa\u7ebf\u3001\u6162 SQL \u6cbb\u7406\u3001\u7edf\u8ba1\u4fe1\u606f\u7ef4\u62a4\u3001\u5b58\u50a8\u548c\u5f52\u6863\u3001\u5e94\u7528\u53d1\u5e03\u7a97\u53e3&#xff0c;\u5957\u8def\u6210\u719f&#xff0c;\u6587\u6863\u548cDBA\u7ecf\u9a8c\u4e5f\u5bb9\u6613\u6c89\u6dc0\u3002\u4ee3\u4ef7\u662f&#xff0c;\u5f53\u4e1a\u52a1\u91cf\u51b2\u5f97\u5feb\u65f6&#xff0c;\u4f60\u4e0d\u80fd\u53ea\u4f1a\u201c\u52a0\u914d\u7f6e\u201d&#xff0c;\u8981\u66f4\u65e9\u51c6\u5907\u8bfb\u5199\u5206\u79bb\u3001\u5386\u53f2\u5f52\u6863\u3001\u5206\u5e93\u5206\u8868\u3001\u540c\u6b65\u94fe\u8def&#xff0c;\u751a\u81f3\u628a\u90e8\u5206\u5206\u6790\u6d41\u91cf\u5207\u8d70\u3002\u6362\u53e5\u8bdd\u8bf4&#xff0c;\u91d1\u4ed3\u628a\u5f88\u591a\u96be\u9898\u7559\u5728\u67b6\u6784\u8bbe\u8ba1\u9636\u6bb5&#xff1b;OceanBase \u628a\u5f88\u591a\u96be\u9898\u6536\u8fdb\u4ea7\u54c1&#xff0c;\u4f46\u4ecd\u8981\u6c42\u4f60\u61c2\u5b83\u5728\u6536\u4ec0\u4e48\u3002<\/p>\n<p>\u6211\u505a\u8fc7\u4e00\u4e2a\u7c97\u7cd9\u4f46\u5b9e\u7528\u7684\u5bf9\u6bd4\u8868&#xff0c;\u4e0d\u8bc4\u4f18\u52a3&#xff0c;\u53ea\u653e\u8bc4\u5ba1\u4f1a\u4e0a\u9632\u8dd1\u504f\u3002<\/p>\n<table>\n<tr>\u7ef4\u5ea6OceanBase \u66f4\u8212\u670d\u7684\u5730\u65b9\u91d1\u4ed3\u66f4\u8212\u670d\u7684\u5730\u65b9\u8bc4\u5ba1\u65f6\u8981\u95ee\u72e0\u4e00\u70b9<\/tr>\n<tbody>\n<tr>\n<td style=\"width:107px\">\u5199\u5165\u5ef6\u8fdf<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u8de8\u673a\u623f\u5f3a\u4e00\u81f4\u3001\u6c34\u5e73\u6269\u5bb9\u6709\u4f18\u52bf<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u70ed\u70b9\u5355\u884c\u3001\u77ed\u4e8b\u52a1\u5c3e\u5df4\u5c11<\/span><\/td>\n<td>\u4e8b\u52a1\u662f\u5426\u8de8\u5206\u533a&#xff1f;P99\u662f\u5426\u542b\u540c\u6b65\u94fe\u8def&#xff1f;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:107px\">\u590d\u6742SQL<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u8d44\u6e90\u53ef\u6269\u5c55&#xff0c;\u9002\u5408\u5927\u5e76\u53d1\u5206\u6790\u5c1d\u8bd5<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u4f18\u5316\u5668\/\u8fc7\u7a0b\u5316\/\u6cbb\u7406\u4f53\u7cfb\u6210\u719f<\/span><\/td>\n<td>\u662f\u5426\u6709\u4e0d\u5fc5\u8981\u7684\u6570\u636e\u91cd\u5206\u5e03&#xff1f;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:107px\">\u6545\u969c\u5207\u6362<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u526f\u672c\u673a\u5236\u548c\u5207\u6362\u53d9\u4e8b\u5b8c\u6574<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u4e3b\u5907\u5207\u6362\u8def\u5f84\u6e05\u6670&#xff0c;\u7ecf\u9a8c\u591a<\/span><\/td>\n<td>RTO\u662f\u6309\u79d2\u8fd8\u662f\u6309\u5206\u949f&#xff1f;\u6f14\u7ec3\u8fc7\u51e0\u6b21&#xff1f;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:107px\">\u6570\u636e\u589e\u957f<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u52a0\u8282\u70b9\u601d\u8def\u76f4\u63a5<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u8981\u63d0\u524d\u505a\u62c6\u5206\u548c\u5f52\u6863\u8bbe\u8ba1<\/span><\/td>\n<td>\u589e\u957f\u66f2\u7ebf\u662f\u7ebf\u6027\u7684&#xff0c;\u8fd8\u662f\u8d26\u671f\u8109\u51b2&#xff1f;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:107px\">\u56e2\u961f\u95e8\u69db<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u5206\u5e03\u5f0f\u6982\u5ff5\u5fc5\u987b\u8865<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u4f20\u7edfDBA\u7ecf\u9a8c\u53ef\u8fc1\u79fb<\/span><\/td>\n<td>\u534a\u591c\u503c\u73ed\u7b2c\u4e00\u5c4f\u770b\u4ec0\u4e48&#xff1f;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:107px\">\u751f\u6001\u5de5\u5177<\/td>\n<td style=\"width:150px\"><span style=\"color:#4da8ee\">\u5e73\u53f0\u5316\u64cd\u4f5c\u611f\u5f3a<\/span><\/td>\n<td><span style=\"color:#1c7331\">\u5468\u8fb9\u7ba1\u7406\u3001\u540c\u6b65\u3001\u8bc4\u4f30\u5de5\u5177\u94fe\u8d34\u5408\u4f01\u4e1a\u6d41\u7a0b<\/span><\/td>\n<td>\u53d8\u66f4\u3001\u56de\u9000\u3001\u5ba1\u8ba1\u662f\u5426\u95ed\u73af&#xff1f;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\u610f&#xff0c;\u8868\u91cc\u6211\u6ca1\u6709\u5199\u8c01\u4e00\u5b9a\u8d62\u3002\u56e0\u4e3a\u6211\u771f\u89c1\u8fc7 OceanBase \u5728\u91d1\u878d\u7ea7\u573a\u666f\u91cc\u628a\u9ad8\u53ef\u7528\u505a\u5f97\u4f53\u9762&#xff0c;\u4e5f\u89c1\u8fc7\u91d1\u4ed3\u5728\u653f\u4f01\u6838\u5fc3\u7cfb\u7edf\u91cc\u628a\u7a33\u5b9a\u548c\u8fd0\u7ef4\u6210\u672c\u538b\u4f4f\u3002\u53cd\u8fc7\u6765&#xff0c;\u6211\u4e5f\u89c1\u8fc7\u56e2\u961f\u62ff\u5206\u5e03\u5f0f\u625b\u4e00\u4e2a\u6839\u672c\u4e0d\u7528\u5206\u5e03\u5f0f\u7684\u7cfb\u7edf&#xff0c;\u590d\u6742\u5ea6\u548c\u5ef6\u8fdf\u53cc\u53cc\u4e0a\u5347&#xff1b;\u4e5f\u89c1\u8fc7\u96c6\u4e2d\u5f0f\u7cfb\u7edf\u88ab\u4e1a\u52a1\u589e\u957f\u62d6\u5230\u6781\u9650&#xff0c;\u624d\u4e34\u65f6\u62b1\u4f5b\u811a\u505a\u62c6\u5206&#xff0c;\u6570\u636e\u8fc1\u79fb\u548c\u4e1a\u52a1\u6539\u9020\u6324\u5728\u540c\u4e00\u4e2a\u7a97\u53e3&#xff0c;\u8c01\u770b\u8c01\u5934\u76ae\u53d1\u9ebb\u3002<\/p>\n<h3>\u516d\u3001\u600e\u4e48\u6d4b&#xff0c;\u624d\u4e0d\u50cf\u4e92\u76f8\u800d\u6d41\u6c13<\/h3>\n<p>\u5982\u679c\u975e\u8981\u6211\u7ed9\u51fa\u6d4b\u8bd5\u53e3\u5f84&#xff0c;\u6211\u4f1a\u575a\u6301\u56db\u6761\u3002\u7b2c\u4e00&#xff0c;\u7528\u771f\u5b9e\u4e1a\u52a1\u6a21\u578b&#xff0c;\u4e0d\u8981\u53ea\u8dd1\u901a\u7528\u538b\u6d4b\u3002\u8d26\u52a1\u5c31\u6784\u5efa\u70ed\u70b9\u8d26\u6237\u3001\u8d26\u671f\u6279\u6263\u3001\u51b2\u6b63\u3001\u5e42\u7b49\u91cd\u653e&#xff1b;\u8ba2\u5355\u5c31\u6784\u5efa\u5e93\u5b58\u6263\u51cf\u3001\u8d85\u65f6\u5173\u95ed\u3001\u552e\u540e\u9006\u5411\u3002\u7b2c\u4e8c&#xff0c;\u538b\u5ef6\u8fdf\u5206\u5e03&#xff0c;\u4e0d\u538b\u5e73\u5747\u6570\u7684\u865a\u8363\u5fc3\u3002P50\u3001P95\u3001P99\u3001P999 \u90fd\u7559&#xff0c;\u70ed\u70b9\u8d26\u6237\u5355\u72ec\u4e00\u7ec4&#xff0c;\u8de8\u673a\u623f\u90e8\u7f72\u5355\u72ec\u4e00\u7ec4\u3002\u7b2c\u4e09&#xff0c;\u628a\u540c\u6b65\u94fe\u8def\u548c\u56de\u653e\u8ffd\u5e73\u65f6\u95f4\u7b97\u8fdb\u603b\u8d26\u3002\u522b\u524d\u53f0\u4e8b\u52a1\u5f88\u5feb&#xff0c;\u540e\u53f0\u8ffd\u4e86\u516d\u5c0f\u65f6&#xff0c;\u4e1a\u52a1\u8fd8\u89c9\u5f97\u81ea\u5df1\u6ca1\u5207\u5b8c\u3002\u7b2c\u56db&#xff0c;\u590d\u6742 SQL \u8981\u5206\u201c\u4ea4\u6613\u5185\u201d\u548c\u201c\u5206\u6790\u578b\u201d\u4e24\u7c7b&#xff0c;\u6df7\u7740\u6d4b\u7684\u7ed3\u679c\u53ea\u80fd\u5582\u9971PPT\u3002<\/p>\n<p>\u6211\u8fd8\u4f1a\u7559\u4e00\u7ec4\u201c\u627e\u832cSQL\u201d&#xff1a;\u591a\u8868\u5173\u8054\u91cc\u6545\u610f\u5236\u9020\u5c0f\u8868\u9a71\u52a8\u5927\u8868\u3001\u5927\u8868\u9a71\u52a8\u5c0f\u8868\u4e24\u79cd\u5199\u6cd5&#xff1b;\u5d4c\u5957\u5b50\u67e5\u8be2\u5206\u522b\u7528 EXISTS\u3001IN\u3001\u663e\u5f0f JOIN \u8868\u8fbe&#xff1b;\u7a97\u53e3\u51fd\u6570\u5206\u522b\u653e\u5728\u660e\u7ec6\u4e0a\u7b97\u548c\u843d\u5728\u65e5\u6c47\u603b\u4e0a\u7b97\u3002\u6bcf\u7ec4\u90fd\u770b\u6267\u884c\u8ba1\u5212\u3001\u903b\u8f91\u8bfb\u3001\u4e34\u65f6\u7a7a\u95f4\u3001CPU\u3001\u7f51\u7edc\u4f20\u8f93\u548c\u957f\u5c3e\u3002\u5f88\u591a\u4eba\u6d4b\u5b8c\u53ea\u8bb0\u5f97\u4e00\u4e2a\u201c\u8c01\u5feb\u201d&#xff0c;\u5176\u5b9e\u66f4\u6709\u4ef7\u503c\u7684\u662f&#xff1a;\u54ea\u7c7b\u5199\u6cd5\u5728\u54ea\u8fb9\u5f00\u59cb\u5931\u63a7&#xff0c;\u5931\u63a7\u524d\u6709\u4ec0\u4e48\u4fe1\u53f7\u3002\u8fd9\u4e2a\u4fe1\u53f7&#xff0c;\u624d\u503c\u5f97\u5199\u8fdb\u5f00\u53d1\u89c4\u8303\u3002<\/p>\n<p>\u6700\u540e\u8865\u4e00\u5200&#xff1a;\u522b\u5ffd\u7565\u4eba\u7684\u6210\u672c\u3002\u4f60\u56e2\u961f\u5982\u679c\u5df2\u7ecf\u6709\u6210\u719f\u7684\u5206\u5e03\u5f0f\u5e73\u53f0\u7ec4&#xff0c;OceanBase \u7684\u4e0a\u624b\u66f2\u7ebf\u4f1a\u5e73\u5f88\u591a&#xff1b;\u5982\u679c\u5f3a\u5728\u4e00\u5957\u4f20\u7edf\u4f01\u4e1a\u5e93\u6cbb\u7406\u3001\u8fc7\u7a0b\u5316\u5bf9\u8c61\u3001\u5ba1\u8ba1\u5408\u89c4\u548c\u7a33\u5b9a\u8fd0\u7ef4&#xff0c;\u91d1\u4ed3\u7684\u78e8\u5408\u6210\u672c\u4e5f\u53ef\u80fd\u4f4e\u5f97\u591a\u3002\u6570\u636e\u5e93\u9009\u578b\u6700\u540e\u5e38\u5e38\u4e0d\u662f\u6280\u672f\u6781\u9650\u4e4b\u4e89&#xff0c;\u800c\u662f\u7ec4\u7ec7\u80fd\u529b\u4e4b\u4e89\u3002\u8fd9\u53e5\u8bdd\u4e0d\u6027\u611f&#xff0c;\u4f46\u5f88\u7701\u94b1\u3002<\/p>\n<h3>\u7ed3\u5c3e<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"951\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919122003-6aae7df36212d.png\" width=\"2349\" \/><\/p>\n<p>\u56de\u5230\u5f00\u5934\u90a3\u4e2a\u95ee\u9898&#xff1a;OceanBaseVS\u91d1\u4ed3&#xff0c;\u5230\u5e95\u600e\u4e48\u9009&#xff1f;\u6211\u73b0\u5728\u4e0d\u592a\u613f\u610f\u7ed9\u201c\u7ec8\u6781\u7b54\u6848\u201d&#xff0c;\u66f4\u613f\u610f\u7ed9\u4e00\u4e2a\u52a8\u4f5c&#xff1a;\u628a\u4e1a\u52a1\u94fe\u8def\u753b\u51fa\u6765&#xff0c;\u628a\u5ef6\u8fdf\u6765\u6e90\u62c6\u5f00&#xff0c;\u628a\u590d\u6742 SQL \u5f52\u7c7b&#xff0c;\u628a\u589e\u957f\u66f2\u7ebf\u548c\u6545\u969c\u76ee\u6807\u5199\u5b9e&#xff0c;\u7136\u540e\u5206\u522b\u538b\u6d4b&#xff0c;\u518d\u8c08\u67b6\u6784\u4f18\u8d8a\u611f\u3002\u5206\u5e03\u5f0f\u4e0d\u662f badges&#xff0c;\u96c6\u4e2d\u5f0f\u4e5f\u4e0d\u662f\u539f\u7f6a\u3002\u771f\u6b63\u4e13\u4e1a\u7684\u9009\u578b&#xff0c;\u662f\u77e5\u9053\u81ea\u5df1\u5728\u7528\u54ea\u79cd\u4ee3\u4ef7\u6362\u54ea\u79cd\u786e\u5b9a\u611f\u3002<\/p>\n<p>OceanBase \u7ed9\u4f60\u7684\u662f\u628a\u4e00\u81f4\u6027\u3001\u6269\u5c55\u548c\u9ad8\u53ef\u7528\u6253\u5305\u7684\u73b0\u4ee3\u5316\u8def\u5f84&#xff1b;\u91d1\u4ed3\u7ed9\u4f60\u7684\u662f\u6210\u719f\u4f01\u4e1a\u5e93\u7684\u7a33\u5b9a\u624b\u611f\u3001\u4f18\u5316\u6cbb\u7406\u548c\u8fd0\u7ef4\u786e\u5b9a\u6027\u3002\u4f60\u8981\u4e70\u5355\u7684&#xff0c;\u4ece\u6765\u4e0d\u662f\u540d\u5b57&#xff0c;\u800c\u662f\u90a3\u4e2a\u5728\u8d26\u671f\u51cc\u6668\u4e0d\u51fa\u4e8b\u3001\u5728\u8bc4\u5ba1\u4f1a\u4e0a\u80fd\u8bb2\u6e05\u98ce\u9669\u3001\u5728\u6269\u5bb9\u524d\u4e0d\u88ab\u589e\u957f\u66f2\u7ebf\u5077\u88ad\u7684\u7cfb\u7edf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u5468\u6709\u4e2a\u8001\u540c\u4e8b\u95ee\u6211&#xff0c;\u6838\u5fc3\u8d26\u52a1\u5e93\u5347\u7ea7\u5230\u5e95\u8be5\u770b OceanBase \u8fd8\u662f\u91d1\u4ed3\u3002\u4ed6\u539f\u8bdd\u633a\u6709\u610f\u601d&#xff1a;\u201c\u7f51\u4e0a\u622a\u56fe\u4e00\u4e2a\u6bd4\u4e00\u4e2a\u731b&#xff0c;\u5de6\u8fb9\u8bf4\u5206\u5e03\u5f0f\u6c34\u5e73\u6269\u5c55\u65e0\u654c&#xff0c;\u53f3\u8fb9\u8bf4\u8001\u724c\u4f01\u4e1a\u5e93\u7a33\u5f97\u50cf\u627f\u91cd\u5899\u3002\u6211\u8981\u7684\u662f\u80fd\u8fc7\u8bc4\u5ba1\u7684\u65b9\u6848&#xff0c;\u4e0d\u662f\u6d77\u62a5\u3002\u201d\u6211\u542c\u5b8c\u633a\u6709\u611f\u89e6\u3002OceanBaseVS\u91d1\u4ed3\u8fd9\u4e2a\u8bdd\u9898&#xff0c;\u6700\u5bb9\u6613\u88ab\u8bb2\u6210\u4fe1\u4ef0\u4e4b\u4e89&#xff0c;\u771f\u5230\u9879\u76ee\u91cc&#xff0c;\u53cd\u800c\u6ca1\u4eba\u613f\u610f\u628a\u8bdd\u8bf4\u7ec6&#xff1a;\u4f60\u7684\u5ef6\u8fdf\u5230\u5e95\u53d1\u751f\u5728\u8ba1\u7b97\u3001\u65e5\u5fd7\u3001\u7f51\u7edc&amp;#x<\/p>\n","protected":false},"author":2,"featured_media":107486,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9107,12219,1795,100,6179],"topic":[],"class_list":["post-107488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9107","tag-12219","tag-oceanbase","tag-100","tag-6179"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/107488.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e0a\u5468\u6709\u4e2a\u8001\u540c\u4e8b\u95ee\u6211&#xff0c;\u6838\u5fc3\u8d26\u52a1\u5e93\u5347\u7ea7\u5230\u5e95\u8be5\u770b OceanBase \u8fd8\u662f\u91d1\u4ed3\u3002\u4ed6\u539f\u8bdd\u633a\u6709\u610f\u601d&#xff1a;\u201c\u7f51\u4e0a\u622a\u56fe\u4e00\u4e2a\u6bd4\u4e00\u4e2a\u731b&#xff0c;\u5de6\u8fb9\u8bf4\u5206\u5e03\u5f0f\u6c34\u5e73\u6269\u5c55\u65e0\u654c&#xff0c;\u53f3\u8fb9\u8bf4\u8001\u724c\u4f01\u4e1a\u5e93\u7a33\u5f97\u50cf\u627f\u91cd\u5899\u3002\u6211\u8981\u7684\u662f\u80fd\u8fc7\u8bc4\u5ba1\u7684\u65b9\u6848&#xff0c;\u4e0d\u662f\u6d77\u62a5\u3002\u201d\u6211\u542c\u5b8c\u633a\u6709\u611f\u89e6\u3002OceanBaseVS\u91d1\u4ed3\u8fd9\u4e2a\u8bdd\u9898&#xff0c;\u6700\u5bb9\u6613\u88ab\u8bb2\u6210\u4fe1\u4ef0\u4e4b\u4e89&#xff0c;\u771f\u5230\u9879\u76ee\u91cc&#xff0c;\u53cd\u800c\u6ca1\u4eba\u613f\u610f\u628a\u8bdd\u8bf4\u7ec6&#xff1a;\u4f60\u7684\u5ef6\u8fdf\u5230\u5e95\u53d1\u751f\u5728\u8ba1\u7b97\u3001\u65e5\u5fd7\u3001\u7f51\u7edc&amp;#x\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107488.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-19T12:20:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919122001-6aae7df199e04.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107488.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107488.html\",\"name\":\"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-19T12:20:05+00:00\",\"dateModified\":\"2026-09-19T12:20:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107488.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107488.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107488.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/107488.html","og_locale":"zh_CN","og_type":"article","og_title":"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e0a\u5468\u6709\u4e2a\u8001\u540c\u4e8b\u95ee\u6211&#xff0c;\u6838\u5fc3\u8d26\u52a1\u5e93\u5347\u7ea7\u5230\u5e95\u8be5\u770b OceanBase \u8fd8\u662f\u91d1\u4ed3\u3002\u4ed6\u539f\u8bdd\u633a\u6709\u610f\u601d&#xff1a;\u201c\u7f51\u4e0a\u622a\u56fe\u4e00\u4e2a\u6bd4\u4e00\u4e2a\u731b&#xff0c;\u5de6\u8fb9\u8bf4\u5206\u5e03\u5f0f\u6c34\u5e73\u6269\u5c55\u65e0\u654c&#xff0c;\u53f3\u8fb9\u8bf4\u8001\u724c\u4f01\u4e1a\u5e93\u7a33\u5f97\u50cf\u627f\u91cd\u5899\u3002\u6211\u8981\u7684\u662f\u80fd\u8fc7\u8bc4\u5ba1\u7684\u65b9\u6848&#xff0c;\u4e0d\u662f\u6d77\u62a5\u3002\u201d\u6211\u542c\u5b8c\u633a\u6709\u611f\u89e6\u3002OceanBaseVS\u91d1\u4ed3\u8fd9\u4e2a\u8bdd\u9898&#xff0c;\u6700\u5bb9\u6613\u88ab\u8bb2\u6210\u4fe1\u4ef0\u4e4b\u4e89&#xff0c;\u771f\u5230\u9879\u76ee\u91cc&#xff0c;\u53cd\u800c\u6ca1\u4eba\u613f\u610f\u628a\u8bdd\u8bf4\u7ec6&#xff1a;\u4f60\u7684\u5ef6\u8fdf\u5230\u5e95\u53d1\u751f\u5728\u8ba1\u7b97\u3001\u65e5\u5fd7\u3001\u7f51\u7edc&amp;#x","og_url":"https:\/\/www.wsisp.com\/helps\/107488.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-19T12:20:05+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919122001-6aae7df199e04.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/107488.html","url":"https:\/\/www.wsisp.com\/helps\/107488.html","name":"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-19T12:20:05+00:00","dateModified":"2026-09-19T12:20:05+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107488.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107488.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107488.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"OceanBase VS \u91d1\u4ed3\uff1a\u522b\u53ea\u6bd4QPS\uff0c\u5148\u641e\u6e05\u695a\u4f60\u5728\u4e3a\u4ec0\u4e48\u573a\u666f\u4e70\u5355"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=107488"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107488\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/107486"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107488"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}