This is an automated email from the ASF dual-hosted git repository. zykkk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 12a3cd7e0db Add jdbc catalog jdk version description (#2392) 12a3cd7e0db is described below commit 12a3cd7e0dbe0e067347d50b18ada0998682a8cf Author: zy-kkk <zhongyongk...@selectdb.com> AuthorDate: Wed May 28 15:31:04 2025 +0800 Add jdbc catalog jdk version description (#2392) --- docs/lakehouse/catalogs/jdbc-catalog-overview.md | 4 ++++ .../current/lakehouse/catalogs/jdbc-catalog-overview.md | 4 ++++ .../version-2.1/lakehouse/database/jdbc.md | 4 ++++ versioned_docs/version-2.1/lakehouse/database/jdbc.md | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/docs/lakehouse/catalogs/jdbc-catalog-overview.md b/docs/lakehouse/catalogs/jdbc-catalog-overview.md index d97e0de58c2..c243558a6f7 100644 --- a/docs/lakehouse/catalogs/jdbc-catalog-overview.md +++ b/docs/lakehouse/catalogs/jdbc-catalog-overview.md @@ -28,6 +28,10 @@ JDBC Catalog supports connecting to databases that are compatible with the JDBC This document introduces the general configuration and usage of the JDBC Catalog. For different JDBC sources, please refer to the respective documentation. +:::info Note +The JDBC Catalog feature in Doris relies on the Java layer to read and process data, and its overall performance can be affected by the JDK version. Some internal libraries in older versions of the JDK (such as JDK 8) are less efficient and may lead to higher resource consumption. If higher performance is required, it is recommended to use Doris 3.0, which is compiled with JDK 17 by default and offers better overall performance. +::: + ## Applicable Scenarios The JDBC Catalog is only suitable for data integration, such as importing small amounts of data from a data source into Doris or performing join queries on small tables in a JDBC data source. The JDBC Catalog cannot accelerate queries on the data source or access large amounts of data at once. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/jdbc-catalog-overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/jdbc-catalog-overview.md index f58b13fa553..5d35e3c2dd6 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/jdbc-catalog-overview.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/jdbc-catalog-overview.md @@ -28,6 +28,10 @@ JDBC Catalog 支持通过标准 JDBC 接口连接支持 JDBC 协议的数据库 本文档介绍 JDBC Catalog 的通用配置和使用方法。不同的 JDBC 源请参阅对应的文档。 +:::info 备注 +Doris 的 JDBC Catalog 功能依赖 Java 层读取和处理数据,整体性能在一定程度上会受到 JDK 版本的影响,比如一些内部库的实现在老版本 JDK(如 JDK 8)中效率较低,可能会导致资源消耗偏高。如果对性能有更高要求,推荐使用 Doris 3.0 版本,由于默认使用 JDK 17 编译,整体性能更优。 +::: + ## 适用场景 JDBC Catalog 仅适用于数据集成,如将少量数据从数据源导入到 Doris 中,或对 JDBC 数据源中的小表进行关联查询。JDBC Catalog 无法对数据源进行查询加速,或一次性访问大量数据。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/database/jdbc.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/database/jdbc.md index a350d38eea8..83b1000da9d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/database/jdbc.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/database/jdbc.md @@ -26,6 +26,10 @@ under the License. Doris JDBC Catalog 支持通过标准 JDBC 接口连接不同支持 JDBC 协议的数据库。本文档介绍 JDBC Catalog 的通用配置和使用方法。 +:::info 备注 +Doris 的 JDBC Catalog 功能依赖 Java 层读取和处理数据,整体性能在一定程度上会受到 JDK 版本的影响,比如一些内部库的实现在老版本 JDK(如 JDK 8)中效率较低,可能会导致资源消耗偏高。如果对性能有更高要求,推荐使用 Doris 3.0 版本,由于默认使用 JDK 17 编译,整体性能更优。 +::: + ## 支持的数据库 Doris JDBC Catalog 支持连接以下数据库: diff --git a/versioned_docs/version-2.1/lakehouse/database/jdbc.md b/versioned_docs/version-2.1/lakehouse/database/jdbc.md index 28f66ae4da0..39abdb10fc0 100644 --- a/versioned_docs/version-2.1/lakehouse/database/jdbc.md +++ b/versioned_docs/version-2.1/lakehouse/database/jdbc.md @@ -26,6 +26,10 @@ under the License. Doris JDBC Catalog supports connecting to different databases that support the JDBC protocol through the standard JDBC interface. This document introduces the general configuration and usage of JDBC Catalog. +:::info Note +The JDBC Catalog feature in Doris relies on the Java layer to read and process data, and its overall performance can be affected by the JDK version. Some internal libraries in older versions of the JDK (such as JDK 8) are less efficient and may lead to higher resource consumption. If higher performance is required, it is recommended to use Doris 3.0, which is compiled with JDK 17 by default and offers better overall performance. +::: + ## Supported databases Doris JDBC Catalog supports connecting to the following databases: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org