You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/08/21 02:25:29 UTC

[iotdb] branch rel/0.12 updated: [To rel/0.12]claim current JDBC is not suitable for high throughput operations in document (#3782)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new fb40695  [To rel/0.12]claim current JDBC is not suitable for high throughput operations in document (#3782)
fb40695 is described below

commit fb406955b1f39834fb67058db371796ea5b78d36
Author: Xiangdong Huang <hx...@apache.org>
AuthorDate: Sat Aug 21 10:24:54 2021 +0800

    [To rel/0.12]claim current JDBC is not suitable for high throughput operations in document (#3782)
    
    Co-authored-by: xiangdong huang <sa...@gmail.com>
    Co-authored-by: Haonan <hh...@outlook.com>
---
 docs/UserGuide/API/Programming-JDBC.md    |  4 ++++
 docs/zh/UserGuide/API/Programming-JDBC.md |  3 +++
 site/src/main/.vuepress/config.js         | 16 ++++++++--------
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/docs/UserGuide/API/Programming-JDBC.md b/docs/UserGuide/API/Programming-JDBC.md
index f8eebda..1c4425f 100644
--- a/docs/UserGuide/API/Programming-JDBC.md
+++ b/docs/UserGuide/API/Programming-JDBC.md
@@ -23,6 +23,10 @@
 
 ## JDBC
 
+*NOTICE: CURRENTLY, JDBC IS USED FOR CONNECTING SOME THIRD-PART TOOLS. 
+IT CAN NOT PROVIDE HIGH THROUGHPUT FOR WRITE OPERATIONS. 
+PLEASE USE [JAVA NATIVE API](https://iotdb.apache.org/UserGuide/V0.12.x/API/Programming-Native-API.html) INSTEAD*
+
 ### Dependencies
 
 * JDK >= 1.8
diff --git a/docs/zh/UserGuide/API/Programming-JDBC.md b/docs/zh/UserGuide/API/Programming-JDBC.md
index c50f0e5..97914df 100644
--- a/docs/zh/UserGuide/API/Programming-JDBC.md
+++ b/docs/zh/UserGuide/API/Programming-JDBC.md
@@ -23,6 +23,9 @@
 
 ## JDBC
 
+*注意: 目前的JDBC实现仅是为与第三方工具连接使用的。使用JDBC(尤其是执行插入语句时)无法提供高性能吞吐。
+对于Java应用,我们推荐使用[JAVA NATIVE API](https://iotdb.apache.org/zh/UserGuide/V0.12.x/API/Programming-Native-API.html)*
+
 ### 依赖
 
 * JDK >= 1.8
diff --git a/site/src/main/.vuepress/config.js b/site/src/main/.vuepress/config.js
index a59f10a..a243ffa 100644
--- a/site/src/main/.vuepress/config.js
+++ b/site/src/main/.vuepress/config.js
@@ -551,10 +551,10 @@ var config = {
 					{
 						title: 'API',
 						children: [
-							['API/Programming-JDBC','JDBC'],
 							['API/Programming-Native-API','Native API'],
 							['API/Programming-Other-Languages','Other Languages'],
-							['API/Programming-TsFile-API','TsFile API']
+							['API/Programming-TsFile-API','TsFile API'],
+							['API/Programming-JDBC','JDBC (Not Recommend)']
 						]
 					},
 					{
@@ -696,10 +696,10 @@ var config = {
 					{
 						title: 'API',
 						children: [
-							['API/Programming-JDBC','JDBC'],
 							['API/Programming-Native-API','Native API'],
 							['API/Programming-Other-Languages','Other Languages'],
-							['API/Programming-TsFile-API','TsFile API']
+							['API/Programming-TsFile-API','TsFile API'],
+							['API/Programming-JDBC','JDBC (Not Recommend)']
 						]
 					},
 					{
@@ -1357,10 +1357,10 @@ var config = {
 					{
 						title: '应用编程接口',
 						children: [
-							['API/Programming-JDBC','JDBC'],
 							['API/Programming-Native-API','Java 原生接口'],
 							['API/Programming-Other-Languages','其他语言原生接口'],
-							['API/Programming-TsFile-API','TsFile API']
+							['API/Programming-TsFile-API','TsFile API'],
+							['API/Programming-JDBC','JDBC (不推荐)']
 						]
 					},
 					{
@@ -1496,10 +1496,10 @@ var config = {
 					{
 						title: '应用编程接口',
 						children: [
-							['API/Programming-JDBC','JDBC'],
 							['API/Programming-Native-API','Java 原生接口'],
 							['API/Programming-Other-Languages','其他语言原生接口'],
-							['API/Programming-TsFile-API','TsFile API']
+							['API/Programming-TsFile-API','TsFile API'],
+							['API/Programming-JDBC','JDBC (不推荐)']
 						]
 					},
 					{