| <!DOCTYPE html> |
| <html lang="en" class="js csstransforms3d"> |
| <head> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| <meta name="generator" content="Hugo 0.70.0" /> |
| <meta name="description" content=""> |
| <meta name="buildDate" content="2021-08-04 11:43:00"> |
| |
| |
| <link rel="shortcut icon" href="https://shardingsphere.apache.org/document/current/img/favicon.png" type="image/x-icon" /> |
| |
| <title>Performance Test(sysbench) :: ShardingSphere</title> |
| |
| |
| <link href="https://shardingsphere.apache.org/document/current/css/nucleus.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/font-awesome.min.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/hybrid.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/featherlight.min.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/perfect-scrollbar.min.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/auto-complete.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/theme.css?1628048580" rel="stylesheet"> |
| <link href="https://shardingsphere.apache.org/document/current/css/hugo-theme.css?1628048580" rel="stylesheet"> |
| |
| <link href="https://shardingsphere.apache.org/document/current/css/theme-black.css?1628048580" rel="stylesheet"> |
| |
| |
| <script src="https://shardingsphere.apache.org/document/current/js/jquery-2.x.min.js?1628048580"></script> |
| |
| <style type="text/css"> |
| :root #header + #content > #left > #rlblock_left{ |
| display:none !important; |
| } |
| |
| |
| |
| </style> |
| |
| |
| </head> |
| <body class="" data-url="/en/features/test-engine/performance-test-sysbench/"> |
| <nav id="sidebar" class=""> |
| |
| |
| |
| <div id="header-wrapper"> |
| <div id="header"> |
| <a href="https://shardingsphere.apache.org/"><img src="https://shardingsphere.apache.org/document/current/img/logo_v2.png" /></a> |
| |
| </div> |
| |
| </div> |
| |
| <div class="highlightable"> |
| <ul class="topics"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/overview/" title="Overview" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/overview/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>1. </b>Overview |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/quick-start/" title="Quick Start" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/quick-start/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>2. </b>Quick Start |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/quick-start/shardingsphere-jdbc-quick-start/" title="ShardingSphere-JDBC" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/quick-start/shardingsphere-jdbc-quick-start/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>2.1. </b>ShardingSphere-JDBC |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/quick-start/shardingsphere-proxy-quick-start/" title="ShardingSphere-Proxy" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/quick-start/shardingsphere-proxy-quick-start/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>2.2. </b>ShardingSphere-Proxy |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/quick-start/shardingsphere-scaling-quick-start/" title="ShardingSphere-Scaling(Alpha)" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/quick-start/shardingsphere-scaling-quick-start/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>2.3. </b>ShardingSphere-Scaling(Alpha) |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/" title="Concepts & Features" class="dd-item |
| parent |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3. </b>Concepts & Features |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/" title="Sharding" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.1. </b>Sharding |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/" title="Core Concept" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.1.1. </b>Core Concept |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/sql/" title="SQL" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/sql/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| SQL |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/sharding/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/configuration/" title="Configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/configuration/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/inline-expression/" title="Inline Expression" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/inline-expression/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Inline Expression |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/key-generator/" title="Distributed Primary Key" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/key-generator/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Distributed Primary Key |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/concept/hint/" title="Hint Sharding Route" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/concept/hint/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Hint Sharding Route |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/" title="Guide to Kernel" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.1.2. </b>Guide to Kernel |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/parse/" title="Parse Engine" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/parse/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Parse Engine |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/route/" title="Route Engine" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/route/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Route Engine |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/rewrite/" title="Rewrite Engine" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/rewrite/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Rewrite Engine |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/execute/" title="Execute Engine" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/execute/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Execute Engine |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/principle/merge/" title="Merger Engine" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/principle/merge/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Merger Engine |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/use-norms/" title="Use Norms" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.1.3. </b>Use Norms |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/use-norms/sql/" title="SQL" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| SQL |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/sharding/use-norms/pagination/" title="Pagination" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/pagination/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Pagination |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/" title="Distributed Transaction" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.2. </b>Distributed Transaction |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/concept/" title="Core Concept" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/concept/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.2.1. </b>Core Concept |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/concept/2pc-xa-transaction/" title="XA Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/concept/2pc-xa-transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| XA Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/concept/base-transaction-seata/" title="Seata BASE transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/concept/base-transaction-seata/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Seata BASE transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/principle/" title="Principle" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/principle/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.2.2. </b>Principle |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/principle/2pc-xa-transaction/" title="XA Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/principle/2pc-xa-transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| XA Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/principle/base-transaction-seata/" title="Seata BASE transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/principle/base-transaction-seata/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Seata BASE transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/use-norms/" title="Use Norms" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/use-norms/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.2.3. </b>Use Norms |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/use-norms/local-transaction/" title="Local Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/use-norms/local-transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Local Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/use-norms/2pc-xa-transaction/" title="XA transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/use-norms/2pc-xa-transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| XA transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/transaction/use-norms/base-transaction-seata/" title="Seata BASE transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/transaction/use-norms/base-transaction-seata/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Seata BASE transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/readwrite-splitting/" title="Replica query" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/readwrite-splitting/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.3. </b>Replica query |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/readwrite-splitting/concept/" title="Core Concept" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/readwrite-splitting/concept/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.3.1. </b>Core Concept |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/readwrite-splitting/use-norms/" title="Use Norms" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/readwrite-splitting/use-norms/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.3.2. </b>Use Norms |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/" title="Governance" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.4. </b>Governance |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/management/" title="Management" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/management/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.4.1 </b>Management |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/management/registry-center/" title="Registry Center" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/management/registry-center/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Registry Center |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/management/dependency/" title="Third-party Components" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/management/dependency/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Third-party Components |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/management/change-history/" title="Change History" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/management/change-history/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Change History |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/observability/" title="Observability" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/observability/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.4.2 </b>Observability |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/observability/apm-integration/" title="APM Integration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/observability/apm-integration/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| APM Integration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/governance/observability/agent/" title="Agent Integration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/governance/observability/agent/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Agent Integration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/scaling/" title="Scaling" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/scaling/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.5. </b>Scaling |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/scaling/concept/" title="Core Concept" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/scaling/concept/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.5.1. </b>Core Concept |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/scaling/principle/" title="Principle" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/scaling/principle/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.5.2. </b>Principle |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/scaling/use-norms/" title="User Norms" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/scaling/use-norms/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.5.3. </b>User Norms |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/encrypt/" title="Encryption" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/encrypt/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.6. </b>Encryption |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/encrypt/concept/" title="Core Concept" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/encrypt/concept/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.6.1. </b>Core Concept |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/encrypt/principle/" title="Principle" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/encrypt/principle/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.6.2. </b>Principle |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/encrypt/use-norms/" title="Use Norms" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/encrypt/use-norms/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.6.3. </b>Use Norms |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/shadow/" title="Shadow DB" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/shadow/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.7. </b>Shadow DB |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/shadow/concept/" title="Core Concept" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/shadow/concept/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.7.1. </b>Core Concept |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/shadow/principle/" title="Principle" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/shadow/principle/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.7.2. </b>Principle |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/" title="Dist SQL" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8. </b>Dist SQL |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/" title="Syntax" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8.1. </b>Syntax |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/" title="RDL Syntax" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8.1.1 </b>RDL Syntax |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/rdl-resource/" title="Data Source" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/rdl-resource/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Data Source |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/rdl-sharding-rule/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/rdl-sharding-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/rdl-readwrite-splitting-rule/" title="Readwrite-Splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/rdl-readwrite-splitting-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite-Splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/rdl-encrypt-rule/" title="Encrypt" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/rdl-encrypt-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encrypt |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rdl/rdl-db-discovery-rule/" title="DB Discovery" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rdl/rdl-db-discovery-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| DB Discovery |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/" title="RQL Syntax" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8.1.2 </b>RQL Syntax |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/rql-resource/" title="Data Source" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/rql-resource/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Data Source |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/rql-sharding-rule/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/rql-sharding-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/rql-readwrite-splitting-rule/" title="Readwrite-Splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/rql-readwrite-splitting-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite-Splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/rql-encrypt-rule/" title="Encrypt" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/rql-encrypt-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encrypt |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/rql/rql-db-discovery-rule/" title="DB Discovery" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/rql/rql-db-discovery-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| DB Discovery |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/sctl/" title="SCTL Syntax" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/sctl/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8.1.3 </b>SCTL Syntax |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/syntax/sctl/sctl/" title="SCTL" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/syntax/sctl/sctl/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| SCTL |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/usage/" title="Usage" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/usage/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.8.2 </b>Usage |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/dist-sql/usage/sharding-rule/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/dist-sql/usage/sharding-rule/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/pluggable-architecture/" title="Pluggable Architecture" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/pluggable-architecture/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>3.9. </b>Pluggable Architecture |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/" title="Test Engine" class="dd-item |
| parent |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>3.10. </b>Test Engine |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/integration-test/" title="Integration Test" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/integration-test/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.9.1. </b>Integration Test |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/parser-test/" title="SQL Parser Test" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/parser-test/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.9.2. </b>SQL Parser Test |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/rewrite-test/" title="SQL Rewrite Test" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/rewrite-test/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.9.3. </b>SQL Rewrite Test |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/performance-test/" title="Performance Test" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/performance-test/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.9.4. </b>Performance Test |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/features/test-engine/performance-test-sysbench/" title="Performance Test(sysbench)" class="dd-item active"> |
| <a href="https://shardingsphere.apache.org/document/current/en/features/test-engine/performance-test-sysbench/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>3.9.5. </b>Performance Test(sysbench) |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/" title="User Manual" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4. </b>User Manual |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/" title="ShardingSphere-JDBC" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.1. </b>ShardingSphere-JDBC |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/" title="Usage" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.1.1. </b>Usage |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/" title="Data Sharding" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Data Sharding |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/java-api/" title="Use Java API" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/java-api/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Java API |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/yaml/" title="Use YAML" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/yaml/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use YAML |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/spring-boot-starter/" title="Use Spring Boot Starter" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/spring-boot-starter/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Boot Starter |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/spring-namespace/" title="Use Spring Namespace" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/spring-namespace/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Namespace |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/sharding/hint/" title="Hint" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/sharding/hint/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Hint |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/" title="Transaction" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Transaction |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/java-api/" title="Use Java API" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/java-api/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Java API |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/spring-boot-starter/" title="Use Spring Boot Starter" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/spring-boot-starter/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Boot Starter |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/spring-namespace/" title="Use Spring Namespace" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/spring-namespace/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Namespace |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/atomikos/" title="Atomikos Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/atomikos/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Atomikos Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/bitronix/" title="Bitronix Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/bitronix/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Bitronix Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/narayana/" title="Narayana Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/narayana/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Narayana Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/transaction/seata/" title="Seata Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/transaction/seata/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Seata Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/governance/" title="Governance" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/governance/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Governance |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/governance/java-api/" title="Use Java API" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/governance/java-api/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Java API |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/governance/yaml/" title="Use YAML" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/governance/yaml/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use YAML |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/governance/spring-boot-starter/" title="Use Spring Boot Starter" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/governance/spring-boot-starter/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Boot Starter |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/usage/governance/spring-namespace/" title="Use Spring Namespace" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/usage/governance/spring-namespace/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Use Spring Namespace |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/" title="Configuration Manual" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.1.2. </b>Configuration Manual |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/" title="Java API" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Java API |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/sharding/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/readwrite-splitting/" title="Readwrite-splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/readwrite-splitting/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite-splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/encrypt/" title="Encryption" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/encrypt/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encryption |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/shadow/" title="Shadow DB" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/shadow/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Shadow DB |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/governance/" title="Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/mix/" title="Mixed Rules" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/mix/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Mixed Rules |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/java-api/change-history/" title="Change History" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/java-api/change-history/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Change History |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/" title="YAML Configuration" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| YAML Configuration |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/sharding/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/readwrite-splitting/" title="Readwrite-splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/readwrite-splitting/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite-splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/encrypt/" title="Encryption" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/encrypt/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encryption |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/shadow/" title="Shadow DB" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/shadow/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Shadow DB |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/governance/" title="Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/mix/" title="Mixed Rules" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/mix/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Mixed Rules |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/yaml/change-history/" title="Change History" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/yaml/change-history/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Change History |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/" title="Spring Boot Starter Configuration" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Spring Boot Starter Configuration |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/sharding/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/readwrite-splitting/" title="Readwrite splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/readwrite-splitting/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/encrypt/" title="Encryption" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/encrypt/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encryption |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/shadow/" title="Shadow DB" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/shadow/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Shadow DB |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/governance/" title="Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/mix/" title="Mixed Rules" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/mix/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Mixed Rules |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/change-history/" title="Change History" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/change-history/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Change History |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/" title="Spring Namespace Configuration" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Spring Namespace Configuration |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/sharding/" title="Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/readwrite-splitting/" title="Readwrite-splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/readwrite-splitting/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Readwrite-splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/encrypt/" title="Encryption" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/encrypt/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encryption |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/shadow/" title="Shadow DB" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/shadow/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Shadow DB |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/governance/" title="Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mix/" title="Mixed Rules" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mix/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Mixed Rules |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/change-history/" title="Change History" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/spring-namespace/change-history/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Change History |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/" title="Built-in Algorithm" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| Built-in Algorithm |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding/" title="Sharding Algorithm" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Sharding Algorithm |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen/" title="Key Generate Algorithm" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Key Generate Algorithm |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance/" title="Load Balance Algorithm" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Load Balance Algorithm |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/encrypt/" title="Encryption Algorithm" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/encrypt/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Encryption Algorithm |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/configuration/props/" title="Properties Configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/configuration/props/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Properties Configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-jdbc/unsupported-items/" title="Unsupported Items" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/unsupported-items/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>4.1.3. </b>Unsupported Items |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/" title="ShardingSphere-Proxy" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.2. </b>ShardingSphere-Proxy |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/usage/" title="Usage" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/usage/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.2.1. </b>Usage |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/usage/startup/" title="Proxy Startup" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/usage/startup/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Proxy Startup |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/usage/governance/" title="Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/usage/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/usage/transaction/" title="Distributed Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/usage/transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Distributed Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/configuration/" title="Configuration Manual" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.2.2. </b>Configuration Manual |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/configuration/data-source/" title="Data Source Configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/data-source/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Data Source Configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/configuration/authentication/" title="Authentication" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/authentication/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Authentication |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/configuration/props/" title="Properties Configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/props/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Properties Configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/configuration/yaml-syntax/" title="YAML Syntax" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/yaml-syntax/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| YAML Syntax |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-proxy/docker/" title="Docker Image" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/docker/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>4.2.3. </b>Docker Image |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-sidecar/" title="ShardingSphere-Sidecar" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-sidecar/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>4.3. </b>ShardingSphere-Sidecar |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-scaling/" title="ShardingSphere-Scaling" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-scaling/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.4. </b>ShardingSphere-Scaling |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-scaling/build/" title="Build" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-scaling/build/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>4.4.1. </b>Build |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-scaling/usage/" title="Manual" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-scaling/usage/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>4.4.2. </b>Manual |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/" title="ShardingSphere-UI" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.5. </b>ShardingSphere-UI |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/usage/" title="Manual" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/usage/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>4.5.1. </b>Manual |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/usage/build/" title="Build" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/usage/build/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Build |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/usage/registry-center/" title="Registry Center" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/usage/registry-center/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Registry Center |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/usage/rule-config/" title="Rule Config" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/usage/rule-config/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Rule Config |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/user-manual/shardingsphere-ui/usage/runtime-status/" title="Runtime Status" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/usage/runtime-status/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| Runtime Status |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/" title="Dev Manual" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>5. </b>Dev Manual |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/sql-parser/" title="SQL Parser" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/sql-parser/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.1. </b>SQL Parser |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/configuration/" title="Configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/configuration/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.2. </b>Configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/kernel/" title="Kernel" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/kernel/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.3. </b>Kernel |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/sharding/" title="Data Sharding" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/sharding/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.4. </b>Data Sharding |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/readwrite-splitting/" title="Readwrite-splitting" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/readwrite-splitting/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.5. </b>Readwrite-splitting |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/data-encryption/" title="Data Encryption" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/data-encryption/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.6. </b>Data Encryption |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/sql-audit/" title="SQL Audit" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/sql-audit/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.7. </b>SQL Audit |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/transaction/" title="Distributed Transaction" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/transaction/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.8. </b>Distributed Transaction |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/governance/" title="Distributed Governance" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/governance/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.9. </b>Distributed Governance |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/scaling/" title="Scaling" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/scaling/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.10. </b>Scaling |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/dev-manual/proxy/" title="Proxy" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/dev-manual/proxy/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| <b>5.11. </b>Proxy |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/downloads/" title="Downloads" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/downloads/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>6. </b>Downloads |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/" title="Others" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/others/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>7. </b>Others |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/faq/" title="FAQ" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/others/faq/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>7.1. </b>FAQ |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/api-change-history/" title="API Change Histories" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/others/api-change-history/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>7.2. </b>API Change Histories |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/api-change-history/shardingsphere-jdbc/" title="ShardingSphere-JDBC" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/others/api-change-history/shardingsphere-jdbc/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg class="icon icon-down" |
| style="display: none;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path> |
| </svg> |
| <svg class="icon icon-right" |
| style="display: inline-block;" |
| viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777"> |
| <path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path> |
| </svg> |
| |
| </i> |
| <b>7.2.1. </b>ShardingSphere-JDBC |
| |
| </a> |
| |
| |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/api-change-history/shardingsphere-jdbc/yaml-configuration/" title="YAML configuration" class="dd-item "> |
| <a href="https://shardingsphere.apache.org/document/current/en/others/api-change-history/shardingsphere-jdbc/yaml-configuration/"> |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| YAML configuration |
| |
| </a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li data-nav-id="/en/others/api-change-history/shardingsphere-proxy/" title="ShardingSphere-Proxy" class="dd-item |
| |
| |
| |
| "> |
| |
| <a href="https://shardingsphere.apache.org/document/current/en/others/api-change-history/shardingsphere-proxy/"> |
| <i class="collapse" style="display:inline; font-family:'courier';"> |
| |
| <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg> |
| |
| </i> |
| <b>7.2.2. </b>ShardingSphere-Proxy |
| |
| </a> |
| |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| |
| </ul> |
| |
| </li> |
| |
| |
| |
| |
| |
| </ul> |
| |
| |
| |
| |
| |
| <section id="prefooter"> |
| <hr/> |
| <ul> |
| |
| <li> |
| <a class="padding"> |
| <i class="fa fa-fw fa-language"></i> |
| <div class="select-style"> |
| <select id="select-language" onchange="location = this.value;"> |
| |
| |
| |
| |
| |
| |
| |
| |
| <option id="en" value="/document/current/en/features/test-engine/performance-test-sysbench/" selected>English</option> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <option id="cn" value="/document/current/cn/features/test-engine/performance-test-sysbench/">简体ä¸æ–‡</option> |
| |
| |
| |
| |
| </select> |
| <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" |
| width="255px" height="255px" viewBox="0 0 255 255" style="enable-background:new 0 0 255 255;" xml:space="preserve"> |
| <g> |
| <g id="arrow-drop-down"> |
| <polygon points="0,63.75 127.5,191.25 255,63.75 " /> |
| </g> |
| </g> |
| </svg> |
| </div> |
| </a> |
| </li> |
| |
| |
| |
| </ul> |
| </section> |
| |
| |
| |
| <hr /> |
| |
| <a class="padding" href="https://shardingsphere.apache.org/pdf/shardingsphere_docs_en.pdf"> |
| <i class="fa fa-fw fa-file-pdf-o" ></i> Download PDF |
| |
| </a> |
| |
| <section id="footer"> |
| <p></p> |
| |
| </section> |
| </div> |
| </nav> |
| |
| |
| |
| |
| |
| <section id="body"> |
| <div id="overlay"></div> |
| <div class="padding highlightable"> |
| |
| <div> |
| <div id="top-bar"> |
| |
| |
| |
| |
| <div id="top-github-link"> |
| <a class="github-link" title='Edit this page' href="https://github.com/apache/shardingsphere/tree/master/docs/document/content/features/test-engine/performance-test-sysbench.en.md" target="blank"> |
| <i class="fa fa-code-fork"></i> |
| <span id="top-github-link-text">Edit this page</span> |
| </a> |
| </div> |
| |
| |
| |
| <div id="breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"> |
| <span id="sidebar-toggle-span"> |
| <a href="#" id="sidebar-toggle" data-sidebar-toggle=""> |
| <i class="fa fa-bars"></i> |
| </a> |
| </span> |
| |
| <span id="toc-menu"><i class="fa fa-list-alt"></i></span> |
| |
| <span class="links"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a href='https://shardingsphere.apache.org/document/current/en/'>ShardingSphere</a> > <a href='https://shardingsphere.apache.org/document/current/en/features/'>Concepts & Features</a> > <a href='https://shardingsphere.apache.org/document/current/en/features/test-engine/'>Test Engine</a> > Performance Test(sysbench) |
| |
| |
| |
| |
| |
| |
| |
| |
| </span> |
| </div> |
| |
| |
| |
| </div> |
| </div> |
| |
| |
| |
| <div id="body-inner"> |
| |
| <h1>Performance Test(sysbench)</h1> |
| |
| |
| |
| |
| |
| <nav id="TableOfContents"> |
| <ul> |
| <li><a href="#environment">Environment</a> |
| <ul> |
| <li></li> |
| </ul> |
| </li> |
| <li><a href="#test-program">Test Program</a> |
| <ul> |
| <li></li> |
| </ul> |
| </li> |
| <li><a href="#testing-process">Testing Process</a> |
| <ul> |
| <li></li> |
| </ul> |
| </li> |
| <li><a href="#sysbench-test-case-describe">sysbench test case describe</a> |
| <ul> |
| <li></li> |
| </ul> |
| </li> |
| <li><a href="#appendix-1">Appendix 1</a> |
| <ul> |
| <li></li> |
| </ul> |
| </li> |
| <li><a href="#appendix-2">Appendix 2</a></li> |
| </ul> |
| </nav> |
| |
| <h2 id="environment">Environment</h2> |
| <h4 id="recommended-hardware">Recommended Hardware</h4> |
| <pre><code>CPU: 32 Cores |
| RAM: 128 GB |
| NIC: 10Gb Ethernet |
| </code></pre><p>At least 5 machines are required:</p> |
| <pre><code>Jenkins * 1: ${host-jenkins} |
| Sysbench * 1: ${host-sysbench} |
| ShardingSphere-Proxy * 1: ${host-proxy} |
| MySQL Server * 2: ${host-mysql-1}, ${host-mysql-2} |
| </code></pre><p>The hardware standards of Jenkins and Sysbench machines can appropriately lower.</p> |
| <h4 id="software-environment">Software Environment</h4> |
| <pre><code>Jenins: The latest version |
| Sysbench: 1.0.20 |
| ShardingSphere-Proxy: package from master branch |
| MySQL Server: 5.7.28 |
| </code></pre><h2 id="test-program">Test Program</h2> |
| <p>According to the above hardware environment, the configuration parameters are as follows, |
| and the parameters should be adjusted according to the changes in the hardware environment.</p> |
| <h4 id="shardingsphere-proxy-configuration">ShardingSphere-Proxy Configuration</h4> |
| <pre><code>Proxy runs on ${host-proxy} |
| Version includes: Master branch, 4.1.1, 3.0.0 |
| Scenarios: config-sharding, config-replica-query, config-sharding-replica-query, config-encrypt |
| Configurations: Refer to Appendix 1 |
| </code></pre><h4 id="mysql-server-configuration">MySQL Server Configuration</h4> |
| <p>Two MySQL instances runs on <code>${host-mysql-1}</code> and <code>${host-mysql-2}</code> machines respectively.</p> |
| <pre><code>Need to create the 'sbtest' database on both instances in advance. |
| Set parameter: max_prepared_stmt_count = 500000 |
| Set parameter: max_connections = 2000 |
| </code></pre><h4 id="jenkins-configuration">Jenkins Configuration</h4> |
| <p>Create 6 Jenkins tasks, and each task calls the next task in turn: (runs on the <code>${host-jenkins}</code> machine).</p> |
| <pre><code>1. sysbench_install: Pull the latest code, package the Proxy compression package |
| </code></pre><p>The following tasks are run on a separate Sysbench pressure generating machine via Jenkins slave: (runs on the <code>{host-sysbench}</code> machine)</p> |
| <pre><code>2. sysbench_sharding: |
| a. Sharding scenarios for remote deployment of various versions of Proxy |
| b. Execute Sysbench command to pressure test Proxy |
| c. Execute Sysbench command to pressure test MySQL Server |
| d. Save Sysbench stress test results |
| e. Use drawing scripts to generate performance curves and tables (see Appendix 2 for drawing scripts) |
| 3. sysbench_master_slave: |
| a. Read and write separation scenarios for remote deployment of various versions of Proxy |
| b. Execute Sysbench command to pressure test Proxy |
| c. Execute Sysbench command to pressure test MySQL Server |
| d. Save Sysbench stress test results |
| e. Use drawing scripts to generate performance curves and tables |
| 4. sysbench_sharding_master_slave: |
| a. Remote deployment of sharding + read-write splitting scenarios of various versions of Proxy |
| b. Execute Sysbench command to pressure test Proxy |
| c. Execute Sysbench command to pressure test MySQL Server |
| d. Save Sysbench stress test results |
| e. Use drawing scripts to generate performance curves and tables |
| 5. sysbench_encrypt: |
| a. Encryption scenarios for remote deployment of various versions of Proxy |
| b. Execute Sysbench command to pressure test Proxy |
| c. Execute Sysbench command to pressure test MySQL Server |
| d. Save Sysbench stress test results |
| e. Use drawing scripts to generate performance curves and tables |
| 6. sysbench_result_aggregation: |
| a. Re-execute the drawing script for the pressure test results of all tasks |
| python3 plot_graph.py sharding |
| python3 plot_graph.py ms |
| python3 plot_graph.py sharding_ms |
| python3 plot_graph.py encrypt |
| b. Use Jenkins "Publish HTML reports" plugin to integrate all images into one HTML page |
| </code></pre><h2 id="testing-process">Testing Process</h2> |
| <p>Take sysbench sharding as an example (other scenarios are similar)</p> |
| <h4 id="enter-the-sysbench-pressure-test-result-directory">Enter the Sysbench pressure test result directory</h4> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">cd /home/jenkins/sysbench_res/sharding |
| </code></pre></div><h4 id="create-the-folder-for-this-build">Create the folder for this build</h4> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">mkdir $BUILD_NUMBER |
| </code></pre></div><h4 id="take-the-last-14-builds-and-save-them-in-a-hidden-file">Take the last 14 builds and save them in a hidden file</h4> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">ls -v | tail -n14 > .build_number.txt |
| </code></pre></div><h4 id="deployment-and-stress-testing">Deployment and stress testing</h4> |
| <p>Step 1: Execute remote deployment script to deploy Proxy to <code>{host-proxy}</code></p> |
| <p>./deploy_sharding.sh</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#75715e">#!/bin/sh |
| </span><span style="color:#75715e"></span> |
| rm -fr apache-shardingsphere-*-shardingsphere-proxy-bin |
| tar zxvf apache-shardingsphere-*-shardingsphere-proxy-bin.tar.gz |
| |
| sh stop_proxy.sh |
| |
| cp -f prepared_conf/mysql-connector-java-5.1.47.jar apache-shardingsphere-*-shardingsphere-proxy-bin/lib |
| cp -f prepared_conf/start.sh apache-shardingsphere-*-shardingsphere-proxy-bin/bin |
| cp -f prepared_conf/config-sharding.yaml prepared_conf/server.yaml apache-shardingsphere-*-shardingsphere-proxy-bin/conf |
| |
| ./apache-shardingsphere-*-shardingsphere-proxy-bin/bin/start.sh |
| |
| sleep <span style="color:#ae81ff">30</span> |
| </code></pre></div><p>Step 2: Execute the sysbench script</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#75715e"># master</span> |
| |
| cd /home/jenkins/sysbench_res/sharding |
| cd $BUILD_NUMBER |
| |
| sysbench oltp_read_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">3600</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --rand-type<span style="color:#f92672">=</span>uniform --range_selects<span style="color:#f92672">=</span>off --auto_inc<span style="color:#f92672">=</span>off cleanup |
| sysbench oltp_read_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">3600</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --rand-type<span style="color:#f92672">=</span>uniform --range_selects<span style="color:#f92672">=</span>off --auto_inc<span style="color:#f92672">=</span>off prepare |
| |
| sysbench oltp_read_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run |
| sysbench oltp_read_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_read_only.master.txt |
| sysbench oltp_point_select --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_point_select.master.txt |
| sysbench oltp_read_write --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_read_write.master.txt |
| sysbench oltp_write_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_write_only.master.txt |
| sysbench oltp_update_index --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_update_index.master.txt |
| sysbench oltp_update_non_index --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_update_non_index.master.txt |
| sysbench oltp_delete --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">30</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">180</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">256</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --range_selects<span style="color:#f92672">=</span>off --rand-type<span style="color:#f92672">=</span>uniform --auto_inc<span style="color:#f92672">=</span>off run | tee oltp_delete.master.txt |
| |
| sysbench oltp_read_only --mysql-host<span style="color:#f92672">=</span><span style="color:#e6db74">${</span>host-proxy<span style="color:#e6db74">}</span> --mysql-port<span style="color:#f92672">=</span><span style="color:#ae81ff">3307</span> --mysql-user<span style="color:#f92672">=</span>root --mysql-password<span style="color:#f92672">=</span><span style="color:#e6db74">'root'</span> --mysql-db<span style="color:#f92672">=</span>sbtest --tables<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --table-size<span style="color:#f92672">=</span><span style="color:#ae81ff">1000000</span> --report-interval<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --time<span style="color:#f92672">=</span><span style="color:#ae81ff">3600</span> --threads<span style="color:#f92672">=</span><span style="color:#ae81ff">10</span> --max-requests<span style="color:#f92672">=</span><span style="color:#ae81ff">0</span> --percentile<span style="color:#f92672">=</span><span style="color:#ae81ff">99</span> --mysql-ignore-errors<span style="color:#f92672">=</span><span style="color:#e6db74">"all"</span> --rand-type<span style="color:#f92672">=</span>uniform --range_selects<span style="color:#f92672">=</span>off --auto_inc<span style="color:#f92672">=</span>off cleanup |
| </code></pre></div><p>4.1.1, 3.0.0, three scenarios of direct connection to MySQL, repeat steps 1 and 2 above.</p> |
| <h4 id="execute-stop-proxy-script">Execute stop proxy script</h4> |
| <p>./stop_proxy.sh</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#75715e">#!/bin/sh |
| </span><span style="color:#75715e"></span> |
| ./3.0.0_sharding-proxy/bin/stop.sh |
| ./4.1.1_apache-shardingsphere-4.1.1-sharding-proxy-bin/bin/stop.sh |
| ./apache-shardingsphere-*-shardingsphere-proxy-bin/bin/stop.sh |
| </code></pre></div><h4 id="generate-pressure-test-curve-picture">Generate pressure test curve picture</h4> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#75715e"># Generate graph</span> |
| |
| cd /home/jenkins/sysbench_res/ |
| python3 plot_graph.py sharding |
| </code></pre></div><h4 id="use-jenkins-publish-html-reports-plugin-to-publish-pictures-to-the-page">Use Jenkins Publish HTML reports plugin to publish pictures to the page</h4> |
| <pre><code>HTML directory to archive: /home/jenkins/sysbench_res/graph/ |
| Index page[s]: 01_sharding.html |
| Report title: HTML Report |
| </code></pre><h2 id="sysbench-test-case-describe">sysbench test case describe</h2> |
| <h4 id="oltp_point_select">oltp_point_select</h4> |
| <pre><code>Prepare Statement (ID = 1): SELECT c FROM sbtest1 WHERE id=? |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_read_only">oltp_read_only</h4> |
| <pre><code>Prepare Statement (ID = 1): 'COMMIT' |
| Prepare Statement (ID = 2): SELECT c FROM sbtest1 WHERE id=? |
| |
| Statement: 'BEGIN' |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_write_only">oltp_write_only</h4> |
| <pre><code>Prepare Statement (ID = 1): 'COMMIT' |
| Prepare Statement (ID = 2): UPDATE sbtest1 SET k=k+1 WHERE id=? |
| Prepare Statement (ID = 3): UPDATE sbtest6 SET c=? WHERE id=? |
| Prepare Statement (ID = 4): DELETE FROM sbtest1 WHERE id=? |
| Prepare Statement (ID = 5): INSERT INTO sbtest1 (id, k, c, pad) VALUES (?, ?, ?, ?) |
| |
| Statement: 'BEGIN' |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 3 |
| Execute Statement: ID = 4 |
| Execute Statement: ID = 5 |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_read_write">oltp_read_write</h4> |
| <pre><code>Prepare Statement (ID = 1): 'COMMIT' |
| Prepare Statement (ID = 2): SELECT c FROM sbtest1 WHERE id=? |
| Prepare Statement (ID = 3): UPDATE sbtest3 SET k=k+1 WHERE id=? |
| Prepare Statement (ID = 4): UPDATE sbtest10 SET c=? WHERE id=? |
| Prepare Statement (ID = 5): DELETE FROM sbtest8 WHERE id=? |
| Prepare Statement (ID = 6): INSERT INTO sbtest8 (id, k, c, pad) VALUES (?, ?, ?, ?) |
| |
| Statement: 'BEGIN' |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 2 |
| Execute Statement: ID = 3 |
| Execute Statement: ID = 4 |
| Execute Statement: ID = 5 |
| Execute Statement: ID = 6 |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_update_index">oltp_update_index</h4> |
| <pre><code>Prepare Statement (ID = 1): UPDATE sbtest1 SET k=k+1 WHERE id=? |
| |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_update_non_index">oltp_update_non_index</h4> |
| <pre><code>Prepare Statement (ID = 1): UPDATE sbtest1 SET c=? WHERE id=? |
| |
| Execute Statement: ID = 1 |
| </code></pre><h4 id="oltp_delete">oltp_delete</h4> |
| <pre><code>Prepare Statement (ID = 1): DELETE FROM sbtest1 WHERE id=? |
| |
| Execute Statement: ID = 1 |
| </code></pre><h2 id="appendix-1">Appendix 1</h2> |
| <h4 id="master-branch-version">Master branch version</h4> |
| <p>server.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">users</span>: |
| - root@%:root |
| - sharding@:sharding |
| |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">max-connections-size-per-query</span>: <span style="color:#ae81ff">10</span> |
| <span style="color:#66d9ef">executor-size</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># Infinite by default.</span> |
| <span style="color:#66d9ef">proxy-frontend-flush-threshold</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># The default value is 128.</span> |
| <span style="color:#75715e"># LOCAL: Proxy will run with LOCAL transaction.</span> |
| <span style="color:#75715e"># XA: Proxy will run with XA transaction.</span> |
| <span style="color:#75715e"># BASE: Proxy will run with B.A.S.E transaction.</span> |
| <span style="color:#66d9ef">proxy-transaction-type</span>: LOCAL |
| <span style="color:#66d9ef">proxy-opentracing-enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">proxy-hint-enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">sql-show</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">check-table-metadata-enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">lock-wait-timeout-milliseconds</span>: <span style="color:#ae81ff">50000</span> <span style="color:#75715e"># The maximum time to wait for a lock</span> |
| </code></pre></div><p>config-sharding.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"> |
| <span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">rules</span>: |
| - !SHARDING |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_1 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_2 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_3 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_4 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_5 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_6 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_7 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_8 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_9 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_10 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: database_inline |
| |
| <span style="color:#66d9ef">shardingAlgorithms</span>: |
| <span style="color:#66d9ef">database_inline</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| <span style="color:#66d9ef">table_inline_1</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_2</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_3</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_4</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_5</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_6</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_7</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_8</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_9</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_10</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerators</span>: |
| <span style="color:#66d9ef">snowflake</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">worker-id</span>: <span style="color:#ae81ff">123</span> |
| </code></pre></div><p>config-replica-query.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">128</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">128</span> |
| |
| <span style="color:#66d9ef">rules</span>: |
| - !READWRITE_SPLITTING |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">pr_ds</span>: |
| <span style="color:#66d9ef">primaryDataSourceName</span>: ds_0 |
| <span style="color:#66d9ef">replicaDataSourceNames</span>: |
| - ds_0 |
| - ds_0 |
| </code></pre></div><p>config-sharding-replica-query.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">primary_ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">primary_ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">rules</span>: |
| - !SHARDING |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_1 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_2 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_3 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_4 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_5 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_6 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_7 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_8 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_9 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: table_inline_10 |
| <span style="color:#66d9ef">keyGenerateStrategy</span>: |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">keyGeneratorName</span>: snowflake |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">standard</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">shardingAlgorithmName</span>: database_inline |
| |
| <span style="color:#66d9ef">shardingAlgorithms</span>: |
| <span style="color:#66d9ef">database_inline</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| <span style="color:#66d9ef">table_inline_1</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_2</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_3</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_4</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_5</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_6</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_7</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_8</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_9</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">table_inline_10</span>: |
| <span style="color:#66d9ef">type</span>: INLINE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">algorithm-expression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerators</span>: |
| <span style="color:#66d9ef">snowflake</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">worker-id</span>: <span style="color:#ae81ff">123</span> |
| |
| - !READWRITE_SPLITTING |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">primaryDataSourceName</span>: primary_ds_0 |
| <span style="color:#66d9ef">replicaDataSourceNames</span>: |
| - primary_ds_0 |
| - primary_ds_0 |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">name</span>: ds_1 |
| <span style="color:#66d9ef">primaryDataSourceName</span>: primary_ds_1 |
| <span style="color:#66d9ef">replicaDataSourceNames</span>: |
| - primary_ds_1 |
| - primary_ds_1 |
| </code></pre></div><p>config-encrypt.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">minPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">rules</span>: |
| - !ENCRYPT |
| <span style="color:#66d9ef">encryptors</span>: |
| <span style="color:#66d9ef">md5_encryptor</span>: |
| <span style="color:#66d9ef">type</span>: MD5 |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptorName</span>: md5_encryptor |
| </code></pre></div><h4 id="411-version">4.1.1 version</h4> |
| <p>server.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">authentication</span>: |
| <span style="color:#66d9ef">users</span>: |
| <span style="color:#66d9ef">root</span>: |
| <span style="color:#66d9ef">password</span>: root |
| <span style="color:#66d9ef">sharding</span>: |
| <span style="color:#66d9ef">password</span>: sharding |
| <span style="color:#66d9ef">authorizedSchemas</span>: sharding_db |
| |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">max.connections.size.per.query</span>: <span style="color:#ae81ff">10</span> |
| <span style="color:#66d9ef">acceptor.size</span>: <span style="color:#ae81ff">256</span> <span style="color:#75715e"># The default value is available processors count * 2.</span> |
| <span style="color:#66d9ef">executor.size</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># Infinite by default.</span> |
| <span style="color:#66d9ef">proxy.frontend.flush.threshold</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># The default value is 128.</span> |
| <span style="color:#75715e"># LOCAL: Proxy will run with LOCAL transaction.</span> |
| <span style="color:#75715e"># XA: Proxy will run with XA transaction.</span> |
| <span style="color:#75715e"># BASE: Proxy will run with B.A.S.E transaction.</span> |
| <span style="color:#66d9ef">proxy.transaction.type</span>: LOCAL |
| <span style="color:#66d9ef">proxy.opentracing.enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">proxy.hint.enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">query.with.cipher.column</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">sql.show</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">allow.range.query.with.inline.sharding</span>: <span style="color:#66d9ef">false</span> |
| </code></pre></div><p>config-sharding.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">shardingRule</span>: |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| </code></pre></div><p>config-master_slave.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">masterSlaveRule</span>: |
| <span style="color:#66d9ef">name</span>: ms_ds |
| <span style="color:#66d9ef">masterDataSourceName</span>: ds_0 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: |
| - ds_0 |
| - ds_0 |
| </code></pre></div><p>config-sharding-master_slave.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">primary_ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">primary_ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">shardingRule</span>: |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">keyGenerator</span>: |
| <span style="color:#66d9ef">type</span>: SNOWFLAKE |
| <span style="color:#66d9ef">column</span>: id |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| |
| <span style="color:#66d9ef">masterSlaveRules</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">masterDataSourceName</span>: primary_ds_0 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: [primary_ds_0, primary_ds_0] |
| <span style="color:#66d9ef">loadBalanceAlgorithmType</span>: ROUND_ROBIN |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">masterDataSourceName</span>: primary_ds_1 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: [primary_ds_1, primary_ds_1] |
| <span style="color:#66d9ef">loadBalanceAlgorithmType</span>: ROUND_ROBIN |
| </code></pre></div><p>config-encrypt.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">connectionTimeoutMilliseconds</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeoutMilliseconds</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetimeMilliseconds</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maxPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">encryptRule</span>: |
| <span style="color:#66d9ef">encryptors</span>: |
| <span style="color:#66d9ef">encryptor_md5</span>: |
| <span style="color:#66d9ef">type</span>: md5 |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">columns</span>: |
| <span style="color:#66d9ef">pad</span>: |
| <span style="color:#66d9ef">cipherColumn</span>: pad |
| <span style="color:#66d9ef">encryptor</span>: encryptor_md5 |
| </code></pre></div><h4 id="300-version">3.0.0 version</h4> |
| <p>server.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">authentication</span>: |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: root |
| |
| <span style="color:#66d9ef">props</span>: |
| <span style="color:#66d9ef">max.connections.size.per.query</span>: <span style="color:#ae81ff">10</span> |
| <span style="color:#66d9ef">acceptor.size</span>: <span style="color:#ae81ff">256</span> <span style="color:#75715e"># The default value is available processors count * 2.</span> |
| <span style="color:#66d9ef">executor.size</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># Infinite by default.</span> |
| <span style="color:#66d9ef">proxy.frontend.flush.threshold</span>: <span style="color:#ae81ff">128</span> <span style="color:#75715e"># The default value is 128.</span> |
| <span style="color:#75715e"># LOCAL: Proxy will run with LOCAL transaction.</span> |
| <span style="color:#75715e"># XA: Proxy will run with XA transaction.</span> |
| <span style="color:#75715e"># BASE: Proxy will run with B.A.S.E transaction.</span> |
| <span style="color:#66d9ef">proxy.transaction.type</span>: LOCAL |
| <span style="color:#66d9ef">proxy.opentracing.enabled</span>: <span style="color:#66d9ef">false</span> |
| <span style="color:#66d9ef">sql.show</span>: <span style="color:#66d9ef">false</span> |
| </code></pre></div><p>config-sharding.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">autoCommit</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">connectionTimeout</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeout</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetime</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maximumPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">autoCommit</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">connectionTimeout</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeout</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetime</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maximumPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">shardingRule</span>: |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| </code></pre></div><p>config-master_slave.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">autoCommit</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">connectionTimeout</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeout</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetime</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maximumPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">masterSlaveRule</span>: |
| <span style="color:#66d9ef">name</span>: ms_ds |
| <span style="color:#66d9ef">masterDataSourceName</span>: ds_0 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: |
| - ds_0 |
| - ds_0 |
| </code></pre></div><p>config-sharding-master_slave.yaml</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-yaml" data-lang="yaml"><span style="color:#66d9ef">schemaName</span>: sbtest |
| |
| <span style="color:#66d9ef">dataSources</span>: |
| <span style="color:#66d9ef">primary_ds_0</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-1</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">autoCommit</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">connectionTimeout</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeout</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetime</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maximumPoolSize</span>: <span style="color:#ae81ff">256</span> |
| <span style="color:#66d9ef">primary_ds_1</span>: |
| <span style="color:#66d9ef">url</span>: jdbc:mysql://${host-mysql<span style="color:#ae81ff">-2</span>}:<span style="color:#ae81ff">3306</span>/sbtest?serverTimezone=UTC<span style="color:#75715e">&useSSL=false</span> |
| <span style="color:#66d9ef">username</span>: root |
| <span style="color:#66d9ef">password</span>: |
| <span style="color:#66d9ef">autoCommit</span>: <span style="color:#66d9ef">true</span> |
| <span style="color:#66d9ef">connectionTimeout</span>: <span style="color:#ae81ff">30000</span> |
| <span style="color:#66d9ef">idleTimeout</span>: <span style="color:#ae81ff">60000</span> |
| <span style="color:#66d9ef">maxLifetime</span>: <span style="color:#ae81ff">1800000</span> |
| <span style="color:#66d9ef">maximumPoolSize</span>: <span style="color:#ae81ff">256</span> |
| |
| <span style="color:#66d9ef">shardingRule</span>: |
| <span style="color:#66d9ef">tables</span>: |
| <span style="color:#66d9ef">sbtest1</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest1_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest1_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest2</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest2_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest2_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest3</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest3_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest3_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest4</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest4_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest4_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest5</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest5_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest5_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest6</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest6_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest6_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest7</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest7_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest7_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest8</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest8_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest8_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest9</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest9_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest9_${id % <span style="color:#ae81ff">100</span>} |
| <span style="color:#66d9ef">sbtest10</span>: |
| <span style="color:#66d9ef">actualDataNodes</span>: ds_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">1</span>}.sbtest10_${<span style="color:#ae81ff">0</span>..<span style="color:#ae81ff">99</span>} |
| <span style="color:#66d9ef">tableStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: sbtest10_${id % <span style="color:#ae81ff">100</span>} |
| |
| <span style="color:#66d9ef">defaultDatabaseStrategy</span>: |
| <span style="color:#66d9ef">inline</span>: |
| <span style="color:#66d9ef">shardingColumn</span>: id |
| <span style="color:#66d9ef">algorithmExpression</span>: ds_${id % <span style="color:#ae81ff">2</span>} |
| |
| <span style="color:#66d9ef">masterSlaveRules</span>: |
| <span style="color:#66d9ef">ds_0</span>: |
| <span style="color:#66d9ef">masterDataSourceName</span>: primary_ds_0 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: [primary_ds_0, primary_ds_0] |
| <span style="color:#66d9ef">loadBalanceAlgorithmType</span>: ROUND_ROBIN |
| <span style="color:#66d9ef">ds_1</span>: |
| <span style="color:#66d9ef">masterDataSourceName</span>: primary_ds_1 |
| <span style="color:#66d9ef">slaveDataSourceNames</span>: [primary_ds_1, primary_ds_1] |
| <span style="color:#66d9ef">loadBalanceAlgorithmType</span>: ROUND_ROBIN |
| </code></pre></div><p>config-encrypt.yaml</p> |
| <pre><code>Unsupported |
| </code></pre><h2 id="appendix-2">Appendix 2</h2> |
| <p>plot_graph.py</p> |
| <div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">import</span> sys |
| <span style="color:#f92672">import</span> matplotlib.pyplot <span style="color:#f92672">as</span> plt |
| <span style="color:#f92672">import</span> numpy <span style="color:#f92672">as</span> np |
| |
| |
| <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">generate_graph</span>(path, case_name): |
| dataset <span style="color:#f92672">=</span> { |
| <span style="color:#e6db74">'build_num'</span>: [], |
| <span style="color:#e6db74">'master_version'</span>: [], |
| <span style="color:#e6db74">'master_xa'</span>: [], |
| <span style="color:#e6db74">'4.1.1_version'</span>: [], |
| <span style="color:#e6db74">'3.0.0_version'</span>: [], |
| <span style="color:#e6db74">'mysql_server'</span>: [] |
| } |
| <span style="color:#66d9ef">with</span> open(path <span style="color:#f92672">+</span> <span style="color:#e6db74">'/.build_number.txt'</span>) <span style="color:#66d9ef">as</span> builds: |
| <span style="color:#66d9ef">for</span> line <span style="color:#f92672">in</span> builds: |
| dataset[<span style="color:#e6db74">'build_num'</span>]<span style="color:#f92672">.</span>append(int(line)) |
| generate_data(path, case_name, dataset) |
| <span style="color:#66d9ef">print</span>(dataset) |
| fig, ax <span style="color:#f92672">=</span> plt<span style="color:#f92672">.</span>subplots() |
| ax<span style="color:#f92672">.</span>grid(True) |
| plt<span style="color:#f92672">.</span>title(case_name) |
| |
| data <span style="color:#f92672">=</span> [dataset[<span style="color:#e6db74">'master_version'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:], dataset[<span style="color:#e6db74">'master_xa'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:], dataset[<span style="color:#e6db74">'4.1.1_version'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:], dataset[<span style="color:#e6db74">'3.0.0_version'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:], dataset[<span style="color:#e6db74">'mysql_server'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:]] |
| columns <span style="color:#f92672">=</span> dataset[<span style="color:#e6db74">'build_num'</span>][<span style="color:#f92672">-</span><span style="color:#ae81ff">7</span>:] |
| rows <span style="color:#f92672">=</span> [<span style="color:#e6db74">'master'</span>, <span style="color:#e6db74">'xa'</span>, <span style="color:#e6db74">'4.1.1'</span>, <span style="color:#e6db74">'3.0.0'</span>, <span style="color:#e6db74">'mysql'</span>] |
| rcolors <span style="color:#f92672">=</span> plt<span style="color:#f92672">.</span>cm<span style="color:#f92672">.</span>BuPu(np<span style="color:#f92672">.</span>full(len(rows), <span style="color:#ae81ff">0.1</span>)) |
| ccolors <span style="color:#f92672">=</span> plt<span style="color:#f92672">.</span>cm<span style="color:#f92672">.</span>BuPu(np<span style="color:#f92672">.</span>full(len(columns), <span style="color:#ae81ff">0.1</span>)) |
| the_table <span style="color:#f92672">=</span> plt<span style="color:#f92672">.</span>table(cellText<span style="color:#f92672">=</span>data, rowLabels<span style="color:#f92672">=</span>rows, colLabels<span style="color:#f92672">=</span>columns, rowColours<span style="color:#f92672">=</span>rcolors, colColours<span style="color:#f92672">=</span>ccolors, |
| loc<span style="color:#f92672">=</span><span style="color:#e6db74">'bottom'</span>, bbox<span style="color:#f92672">=</span>[<span style="color:#ae81ff">0.0</span>, <span style="color:#f92672">-</span><span style="color:#ae81ff">0.50</span>, <span style="color:#ae81ff">1</span>, <span style="color:#f92672">.</span><span style="color:#ae81ff">28</span>]) |
| plt<span style="color:#f92672">.</span>subplots_adjust(left<span style="color:#f92672">=</span><span style="color:#ae81ff">0.15</span>, bottom<span style="color:#f92672">=</span><span style="color:#ae81ff">0.3</span>, right<span style="color:#f92672">=</span><span style="color:#ae81ff">0.98</span>) |
| |
| plt<span style="color:#f92672">.</span>xticks(range(<span style="color:#ae81ff">14</span>)) |
| ax<span style="color:#f92672">.</span>set_xticklabels(dataset[<span style="color:#e6db74">'build_num'</span>]) |
| plt<span style="color:#f92672">.</span>plot(dataset[<span style="color:#e6db74">'master_version'</span>], <span style="color:#e6db74">'o-'</span>, color<span style="color:#f92672">=</span><span style="color:#e6db74">'magenta'</span>, label<span style="color:#f92672">=</span><span style="color:#e6db74">'master_version'</span>) |
| plt<span style="color:#f92672">.</span>plot(dataset[<span style="color:#e6db74">'master_xa'</span>], <span style="color:#e6db74">'o-'</span>, color<span style="color:#f92672">=</span><span style="color:#e6db74">'darkviolet'</span>, label<span style="color:#f92672">=</span><span style="color:#e6db74">'master_xa'</span>) |
| plt<span style="color:#f92672">.</span>plot(dataset[<span style="color:#e6db74">'4.1.1_version'</span>], <span style="color:#e6db74">'r--'</span>, color<span style="color:#f92672">=</span><span style="color:#e6db74">'blue'</span>, label<span style="color:#f92672">=</span><span style="color:#e6db74">'4.1.1_version'</span>) |
| plt<span style="color:#f92672">.</span>plot(dataset[<span style="color:#e6db74">'3.0.0_version'</span>], <span style="color:#e6db74">'r--'</span>, color<span style="color:#f92672">=</span><span style="color:#e6db74">'orange'</span>, label<span style="color:#f92672">=</span><span style="color:#e6db74">'3.0.0_version'</span>) |
| plt<span style="color:#f92672">.</span>plot(dataset[<span style="color:#e6db74">'mysql_server'</span>], <span style="color:#e6db74">'r--'</span>, color<span style="color:#f92672">=</span><span style="color:#e6db74">'lime'</span>, label<span style="color:#f92672">=</span><span style="color:#e6db74">'mysql_server'</span>) |
| plt<span style="color:#f92672">.</span>xlim() |
| plt<span style="color:#f92672">.</span>legend() |
| plt<span style="color:#f92672">.</span>xlabel(<span style="color:#e6db74">'build_num'</span>) |
| plt<span style="color:#f92672">.</span>ylabel(<span style="color:#e6db74">'transactions per second'</span>) |
| plt<span style="color:#f92672">.</span>savefig(<span style="color:#e6db74">'graph/'</span> <span style="color:#f92672">+</span> path <span style="color:#f92672">+</span> <span style="color:#e6db74">'/'</span> <span style="color:#f92672">+</span> case_name) |
| plt<span style="color:#f92672">.</span>show() |
| |
| |
| <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">generate_data</span>(path, case_name, dataset): |
| <span style="color:#66d9ef">for</span> build <span style="color:#f92672">in</span> dataset[<span style="color:#e6db74">'build_num'</span>]: |
| fill_dataset(build, case_name, dataset, path, <span style="color:#e6db74">'master_version'</span>, <span style="color:#e6db74">'.master.txt'</span>) |
| fill_dataset(build, case_name, dataset, path, <span style="color:#e6db74">'master_xa'</span>, <span style="color:#e6db74">'.xa.txt'</span>) |
| fill_dataset(build, case_name, dataset, path, <span style="color:#e6db74">'4.1.1_version'</span>, <span style="color:#e6db74">'.4_1_1.txt'</span>) |
| fill_dataset(build, case_name, dataset, path, <span style="color:#e6db74">'3.0.0_version'</span>, <span style="color:#e6db74">'.3_0_0.txt'</span>) |
| fill_dataset(build, case_name, dataset, path, <span style="color:#e6db74">'mysql_server'</span>, <span style="color:#e6db74">'.mysql.txt'</span>) |
| |
| |
| <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">fill_dataset</span>(build, case_name, dataset, path, version, suffix): |
| <span style="color:#66d9ef">try</span>: |
| <span style="color:#66d9ef">with</span> open(path <span style="color:#f92672">+</span> <span style="color:#e6db74">'/'</span> <span style="color:#f92672">+</span> str(build) <span style="color:#f92672">+</span> <span style="color:#e6db74">'/'</span> <span style="color:#f92672">+</span> case_name <span style="color:#f92672">+</span> suffix) <span style="color:#66d9ef">as</span> version_master: |
| value <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span> |
| <span style="color:#66d9ef">for</span> line <span style="color:#f92672">in</span> version_master: |
| <span style="color:#66d9ef">if</span> <span style="color:#e6db74">'transactions:'</span> <span style="color:#f92672">in</span> line: |
| items <span style="color:#f92672">=</span> line<span style="color:#f92672">.</span>split(<span style="color:#e6db74">'('</span>) |
| value <span style="color:#f92672">=</span> float(items[<span style="color:#ae81ff">1</span>][:<span style="color:#f92672">-</span><span style="color:#ae81ff">10</span>]) |
| dataset[version]<span style="color:#f92672">.</span>append(value) |
| <span style="color:#66d9ef">except</span> FileNotFoundError: |
| dataset[version]<span style="color:#f92672">.</span>append(<span style="color:#ae81ff">0</span>) |
| |
| |
| <span style="color:#66d9ef">if</span> __name__ <span style="color:#f92672">==</span> <span style="color:#e6db74">'__main__'</span>: |
| path <span style="color:#f92672">=</span> sys<span style="color:#f92672">.</span>argv[<span style="color:#ae81ff">1</span>] |
| generate_graph(path, <span style="color:#e6db74">'oltp_point_select'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_read_only'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_write_only'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_read_write'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_update_index'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_update_non_index'</span>) |
| generate_graph(path, <span style="color:#e6db74">'oltp_delete'</span>) |
| </code></pre></div> |
| |
| <footer class=" footline" > |
| |
| </footer> |
| |
| |
| |
| </div> |
| |
| |
| </div> |
| |
| <div id="navigation"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a class="nav nav-prev" href="https://shardingsphere.apache.org/document/current/en/features/test-engine/performance-test/" title="Performance Test"> <i class="fa fa-chevron-left"></i></a> |
| |
| |
| <a class="nav nav-next" href="https://shardingsphere.apache.org/document/current/en/user-manual/" title="User Manual" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a> |
| |
| </div> |
| |
| </section> |
| |
| <div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"> |
| <div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div> |
| </div> |
| <script src="https://shardingsphere.apache.org/document/current/js/clipboard.min.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/perfect-scrollbar.min.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/perfect-scrollbar.jquery.min.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/jquery.sticky.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/featherlight.min.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/html5shiv-printshiv.min.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/highlight.pack.js?1628048580"></script> |
| <script>hljs.initHighlightingOnLoad();</script> |
| <script src="https://shardingsphere.apache.org/document/current/js/modernizr.custom.71422.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/learn.js?1628048580"></script> |
| <script src="https://shardingsphere.apache.org/document/current/js/hugo-learn.js?1628048580"></script> |
| |
| |
| |
| </body> |
| </html> |
| |