forked from apache/shardingsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
430 additions
and
727 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,72 +6,58 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<<<<<<< HEAD | ||
<base href="/sharding-jdbc/"/> | ||
<title></title> | ||
<title>Sharding-JDBC</title> | ||
|
||
<link href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
|
||
<link href="css/landing-page.css" rel="stylesheet"> | ||
======= | ||
<title></title> | ||
|
||
<link href="/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<link href="css/landing-page.css" rel="stylesheet"> | ||
|
||
<link href="/css/landing-page.css" rel="stylesheet"> | ||
>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70 | ||
|
||
|
||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> | ||
|
||
<style> | ||
.navbar { | ||
border-color: ; | ||
border-color: #e7e7e7; | ||
} | ||
|
||
.content-section-a, | ||
footer, | ||
.navbar { | ||
background-color: ; | ||
color: ; | ||
background-color: #f8f8f8; | ||
color: #333; | ||
} | ||
|
||
.navbar a:link, | ||
.navbar-default .navbar-nav>li>a { | ||
color: ; | ||
color: #777; | ||
} | ||
|
||
.navbar a:hover, | ||
.navbar-default .navbar-nav>li>a:hover { | ||
color: ; | ||
color: rgb(51, 51, 51); | ||
} | ||
|
||
.content-section-b { | ||
background-color: ; | ||
color: ; | ||
background-color: white; | ||
color: #333; | ||
} | ||
|
||
body { | ||
color: ; | ||
color: rgb(51, 51, 51); | ||
} | ||
|
||
.header-container h1, | ||
.header-container h2, | ||
.header-container h3, | ||
.header-container h4 { | ||
color: ; | ||
color: rgb(51, 51, 51); | ||
} | ||
|
||
</style> | ||
<<<<<<< HEAD | ||
<link href="css/prism.css" rel="stylesheet"> | ||
<link href="css/table.css" rel="stylesheet"> | ||
======= | ||
<link href="/css/prism.css" rel="stylesheet"> | ||
<link href="/css/table.css" rel="stylesheet"> | ||
>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70 | ||
</head> | ||
<body> | ||
|
||
|
@@ -86,19 +72,19 @@ | |
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="page-scroll navbar-brand" href="#intro"></a> | ||
<a class="page-scroll navbar-brand" href="#intro">Sharding-JDBC</a> | ||
</div> | ||
|
||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
<a class="page-scroll" href=>Github</a> | ||
<a class="page-scroll" href=https://github.com/dangdangdotcom/sharding-jdbc>Github</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href=>Docs</a> | ||
<a class="page-scroll" href=http://dangdangdotcom.github.io/sharding-jdbc>Docs</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href=>DangDang</a> | ||
<a class="page-scroll" href=https://github.com/dangdangdotcom>DangDang</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
@@ -116,10 +102,15 @@ | |
<div class="row"> | ||
<div class="intro-image col-md-4"></div> | ||
<div class="intro-message col-md-6"> | ||
<h1></h1> | ||
<h3></h3> | ||
<h1>Sharding-JDBC</h1> | ||
<h3>Sharding-JDBC project.</h3> | ||
|
||
|
||
|
||
|
||
|
||
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=dangdangdotcom&repo=Sharding-JDBC&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> | ||
|
||
|
||
<hr class="intro-divider"> | ||
</div> | ||
|
@@ -152,7 +143,7 @@ <h1 id="主要贡献者:d680e8a854a7cbad6d490c445cba2eba">主要贡献者</h1> | |
<li>岳令 <a href="http://www.dangdang.com/">当当</a> [email protected]</li> | ||
</ul> | ||
|
||
<p><strong>讨论QQ群:</strong>xxx(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p> | ||
<p><strong>讨论QQ群:</strong>532576663(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p> | ||
|
||
<h1 id="简介:d680e8a854a7cbad6d490c445cba2eba">简介</h1> | ||
|
||
|
@@ -322,15 +313,15 @@ <h2 id="使用基于shardingdatasource的jdbc接口:d680e8a854a7cbad6d490c445cba | |
<h2>相关文档</h2> | ||
<ul> | ||
|
||
<li> <a href="/post/user_guide/" target="_blank">使用指南</a></li> | ||
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/" target="_blank">使用指南</a></li> | ||
|
||
<li> <a href="/post/features/" target="_blank">详细功能列表</a></li> | ||
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/features/" target="_blank">详细功能列表</a></li> | ||
|
||
<li> <a href="/post/architecture/" target="_blank">架构图</a></li> | ||
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/" target="_blank">架构图</a></li> | ||
|
||
<li> <a href="/post/restriction/" target="_blank">使用限制</a></li> | ||
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/" target="_blank">使用限制</a></li> | ||
|
||
<li> <a href="/post/roadmap/" target="_blank">未来线路规划</a></li> | ||
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/" target="_blank">未来线路规划</a></li> | ||
|
||
</ul> | ||
</div> | ||
|
@@ -346,16 +337,15 @@ <h2>相关文档</h2> | |
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<p class="copyright text-muted small">Copyright © All Rights Reserved</p> | ||
<p class="copyright text-muted small">Copyright © Sharding-JDBC All Rights Reserved</p> | ||
</div> | ||
<div class="col-md-4"> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<<<<<<< HEAD | ||
<script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script>5 | ||
<script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script> | ||
|
||
|
||
<script src="//cdn.bootcss.com/jquery-easing/1.3/jquery.easing.min.js"></script> | ||
|
@@ -365,21 +355,6 @@ <h2>相关文档</h2> | |
|
||
|
||
<script src="js/prism.js"></script> | ||
======= | ||
<script src="/js/jquery-1.11.0.js"></script> | ||
|
||
|
||
<script src="/js/jquery.easing.min.js"></script> | ||
|
||
|
||
<script src="/js/bootstrap.min.js"></script> | ||
|
||
|
||
<script src="js/landing-page.js"></script> | ||
<script src="/js/prism.js"></script> | ||
|
||
|
||
>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70 | ||
|
||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title></title> | ||
<link>/</link> | ||
<description>Recent content on </description> | ||
<title>Sharding-JDBC</title> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/</link> | ||
<description>Recent content on Sharding-JDBC</description> | ||
<generator>Hugo -- gohugo.io</generator> | ||
<atom:link href="/index.xml" rel="self" type="application/rss+xml" /> | ||
<language>en-us</language> | ||
<atom:link href="http://dangdangdotcom.github.io/sharding-jdbc/index.xml" rel="self" type="application/rss+xml" /> | ||
|
||
<item> | ||
<title></title> | ||
<link>/index/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/index/</link> | ||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> | ||
|
||
<guid>/index/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/index/</guid> | ||
<description> | ||
|
||
<h1 id="主要贡献者:d680e8a854a7cbad6d490c445cba2eba">主要贡献者</h1> | ||
|
@@ -24,7 +25,7 @@ | |
<li>岳令 &nbsp;&nbsp;&nbsp;<a href="http://www.dangdang.com/">当当</a> [email protected]</li> | ||
</ul> | ||
|
||
<p><strong>讨论QQ群:</strong>xxx(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p> | ||
<p><strong>讨论QQ群:</strong>532576663(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p> | ||
|
||
<h1 id="简介:d680e8a854a7cbad6d490c445cba2eba">简介</h1> | ||
|
||
|
@@ -182,10 +183,10 @@ try ( | |
|
||
<item> | ||
<title>使用指南</title> | ||
<link>/post/user_guide/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/</link> | ||
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate> | ||
|
||
<guid>/post/user_guide/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/</guid> | ||
<description> | ||
|
||
<h1 id="使用指南:74c632aa9613b8dd6b95bfab1ba313e2">使用指南</h1> | ||
|
@@ -314,12 +315,7 @@ dataSourceMap.put(&quot;ds_1&quot;, createDataSource(&quot;ds_1& | |
|
||
<h3 id="数据源策略与表策略:74c632aa9613b8dd6b95bfab1ba313e2">数据源策略与表策略</h3> | ||
|
||
<p>&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD</p> | ||
|
||
<h1 id="策略类图-img-strategyclass-900-png:74c632aa9613b8dd6b95bfab1ba313e2"><img src="img/StrategyClass.900.png" alt="策略类图" /></h1> | ||
|
||
<p><img src="/img/StrategyClass.900.png" alt="策略类图" /> | ||
&gt;&gt;&gt;&gt;&gt;&gt;&gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70 | ||
<p><img src="img/StrategyClass.900.png" alt="策略类图" /> | ||
Sharding-JDBC认为对于分片策略存有两种维度 | ||
- 数据源分片策略<code>DatabaseShardingStrategy</code>:数据被分配的目标数据源 | ||
- 表分片策略<code>TableShardingStrategy</code>:数据被分配的目标表,该目标表存在与该数据的目标数据源内。故表分片策略是依赖与数据源分片策略的结果的 | ||
|
@@ -377,13 +373,9 @@ Sharding-JDBC认为对于分片策略存有两种维度 | |
|
||
<h3 id="分片算法:74c632aa9613b8dd6b95bfab1ba313e2">分片算法</h3> | ||
|
||
<p>分片算法接口类图关系如下: | ||
&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD</p> | ||
|
||
<h1 id="算法-img-algorithmclass-900-png:74c632aa9613b8dd6b95bfab1ba313e2"><img src="img/AlgorithmClass.900.png" alt="算法" /></h1> | ||
<p>分片算法接口类图关系如下:</p> | ||
|
||
<p><img src="/img/AlgorithmClass.900.png" alt="算法" /> | ||
&gt;&gt;&gt;&gt;&gt;&gt;&gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70</p> | ||
<p><img src="img/AlgorithmClass.900.png" alt="算法" /></p> | ||
|
||
<h3 id="绑定表:74c632aa9613b8dd6b95bfab1ba313e2">绑定表</h3> | ||
|
||
|
@@ -622,10 +614,10 @@ public Collection&lt;String&gt; doSharding(final Collection&lt;Strin | |
|
||
<item> | ||
<title>详细功能列表</title> | ||
<link>/post/features/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/features/</link> | ||
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate> | ||
|
||
<guid>/post/features/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/features/</guid> | ||
<description> | ||
|
||
<h1 id="详细功能列表:e1ec7fcfd5aa4d3ea3e990d9b707a3b4">详细功能列表</h1> | ||
|
@@ -683,44 +675,32 @@ public Collection&lt;String&gt; doSharding(final Collection&lt;Strin | |
|
||
<item> | ||
<title>架构图</title> | ||
<link>/post/architecture/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/</link> | ||
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate> | ||
|
||
<guid>/post/architecture/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/</guid> | ||
<description> | ||
|
||
<h1 id="架构图:1bf455b3a3c6e1e40be41ef6023b75eb">架构图</h1> | ||
|
||
<p>&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD | ||
<img src="img/architecture.png" alt="整体架构图1" /></p> | ||
<p><img src="img/architecture.png" alt="整体架构图1" /></p> | ||
|
||
<p><img src="img/parse.png" alt="SQL解析" /></p> | ||
|
||
<p><img src="img/route.png" alt="SQL路由" /></p> | ||
|
||
<p><img src="img/execute.png" alt="SQL执行" /></p> | ||
|
||
<h1 id="结果归并-img-merge-png:1bf455b3a3c6e1e40be41ef6023b75eb"><img src="img/merge.png" alt="结果归并" /></h1> | ||
|
||
<p><img src="../img/architecture.png" alt="整体架构图1" /></p> | ||
|
||
<p><img src="../img/parse.png" alt="SQL解析" /></p> | ||
|
||
<p><img src="../img/route.png" alt="SQL路由" /></p> | ||
|
||
<p><img src="../img/execute.png" alt="SQL执行" /></p> | ||
|
||
<p><img src="../img/merge.png" alt="结果归并" /> | ||
&gt;&gt;&gt;&gt;&gt;&gt;&gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70</p> | ||
<p><img src="img/merge.png" alt="结果归并" /></p> | ||
</description> | ||
</item> | ||
|
||
<item> | ||
<title>使用限制</title> | ||
<link>/post/restriction/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/</link> | ||
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate> | ||
|
||
<guid>/post/restriction/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/</guid> | ||
<description> | ||
|
||
<h1 id="使用限制:e136e3f58c4f85ea1188986eb33d0381">使用限制</h1> | ||
|
@@ -803,10 +783,10 @@ public Collection&lt;String&gt; doSharding(final Collection&lt;Strin | |
|
||
<item> | ||
<title>未来线路规划</title> | ||
<link>/post/roadmap/</link> | ||
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/</link> | ||
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate> | ||
|
||
<guid>/post/roadmap/</guid> | ||
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/</guid> | ||
<description> | ||
|
||
<h1 id="未来线路规划:cd4a1b36ed2b93cfc52abf77a7d25d03">未来线路规划</h1> | ||
|
@@ -819,7 +799,9 @@ public Collection&lt;String&gt; doSharding(final Collection&lt;Strin | |
<li>SQL Hint,可指定某SQL在某具体库表执行,基于业务规则而非SQL解析路由</li> | ||
<li>小表广播</li> | ||
<li>HA相关</li> | ||
<li>流量控制</li> | ||
<li>数据库建表工具</li> | ||
<li>数据迁移</li> | ||
<li>复杂SQL解析支持,如子查询,存储过程等</li> | ||
<li>Oracle, SQLServer,DB2支持</li> | ||
<li>配置中心</li> | ||
|
Oops, something went wrong.