RDBMSとNoSQLのメリットを併せ持つクラウドネイティブなNewSQLデータベース
「TiDB」をKubernetesで動かしてみよう!Open Source Conference 2022 Online/Spring RDBMSとNoSQLのメリットを併せ持つクラウドネイティブなNewSQLデータベース 「TiDB」をKubernetesで動かしてみよう! Executive Technical Advisor / Makoto Hasegawa 2 Makoto Hasegawa Working at // PingCAP(JP) Online/Spring 3 について Open Source Conference 2022 Online/Spring 4 NewSQL製品「TiDB」を主に開発 ワールドワイドにビジネスを展開中 (1600社以上の採用実績) CNCF に「TiKV」及び「Chaos Mesh」を寄与 Open Source Conference 2022 Online/Spring 5 TiKV は現在「Incubating」ステータスとなっています Open Source Conference 2022 Online/Spring 6 2021年4月に日本法人が発足しました ??? Open Source Conference 2022 Online/Spring 7 ? 本日のアジェンダ? TiDB について理解しよう Kubernetes で TiDB を構築する際のポイント0 码力 | 71 页 | 6.65 MB | 1 年前3
TiDB v6.1 中文手册应用程序 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 106 4.3.2 使用 Spring Boot 构建 TiDB 应用程序 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3.2 使用 Spring Boot 构建 TiDB 应用程序 本教程向你展示如何使用 TiDB 构建 Spring Boot Web 应用程序。使用 Spring Data JPA 模块作为数据访问能力的框 架。此示例应用程序的代码仓库可在 Github 下载。 这是一个较为完整的构建 Restful API 的示例应用程序,展示了一个使用 TiDB 作为数据库的通用 Spring Boot 后端 goods。且每个玩家都拥有一个字 段 id,作为玩家的唯一标识。玩家在金币数和货物数充足的情况下,可以自由的交易。 你可以以此示例为基础,构建自己的应用程序。 建议: 在云原生开发环境中尝试 Spring Boot 构建 TiDB 应用程序。预配置完成的环境,自动启动 TiDB 集群,获取和运行代码,只需要一个链接。 现在就试试 4.3.2.1 第 1 步:启动你的 TiDB 集群 本节将介绍0 码力 | 3572 页 | 84.36 MB | 1 年前3
TiDB v6.1 Documentationwith TiDB and Golang · · · · · · · · · · · · · · · · · 145 4.3.2 Build a TiDB Application Using Spring Boot · · · · · · · · · · · · · · · · · · · · · · 163 4.3.3 Build a Simple CRUD App with TiDB and Expected Output 4.3.2 Build a TiDB Application Using Spring Boot This tutorial shows you how to build a Spring Boot web application using TiDB. The Spring Data JPA module is used as the framework for data application from GitHub. This is a sample application for building a RESTful API, which shows a generic Spring Boot backend service using TiDB as the database. The following process was designed to recreate a0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v6.5 Documentationstatements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions. Connect to TiDB with Spring Boot TiDB is a MySQL-compatible database, and Spring is a popular open-source container framework for Java. This document uses Spring Boot as the way to use Spring. In this tutorial along with Spring Data JPA and Hiber- nate as the JPA provider to accomplish the following tasks: • Set up your environment. 156 • Connect to your TiDB cluster using Hibernate and Spring Data JPA. •0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v7.1 Documentationstatements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions. Connect to TiDB with Spring Boot TiDB is a MySQL-compatible database, and Spring is a popular open-source container framework for Java. This document uses Spring Boot as the way to use Spring. In this tutorial TiDB along with Spring Data JPA and Hiber- nate as the JPA provider to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using Hibernate and Spring Data JPA. • Build0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v7.6 Documentationstatements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions. Connect to TiDB with Spring Boot TiDB is a MySQL-compatible database, and Spring is a popular open-source container framework for Java. This document uses Spring Boot as the way to use Spring. In this tutorial TiDB along with Spring Data JPA and Hiber- nate as the JPA provider to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using Hibernate and Spring Data JPA. • Build0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentationstatements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions. Connect to TiDB with Spring Boot TiDB is a MySQL-compatible database, and Spring is a popular open-source container framework for Java. This document uses Spring Boot as the way to use Spring. In this tutorial TiDB along with Spring Data JPA and Hiber- nate as the JPA provider to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using Hibernate and Spring Data JPA. • Build0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v7.1 中文手册手动管理数据库事务 105 • 手动将数据行映射为数据对象 建议仅在需要编写复杂的 SQL 语句时使用驱动程序。其他情况下,建议使用 ORM 框架进行开发,例如Hibernate、 MyBatis 或Spring Data JPA。ORM 可以帮助你: • 减少管理连接和事务的模板代码 • 使用数据对象代替大量 SQL 语句来操作数据 4.3.1.1.5 下一步 • 关于 MySQL Connector/J 如果在开发的过程中遇到问题,可以在 AskTUG 上进行提问,寻求帮助。 4.3.1.4 使用 Spring Boot 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。Spring 是当前比较流行的开源 Java 容器框架,本文选择 Spring Boot 作为使用 Spring 的方式。 本文档将展示如何使用 TiDB 和 Spring Data JPA 及 Hibernate 作为 JPA 提供者来完成以下任务: 提供者来完成以下任务: • 配置你的环境。 • 使用 Spring Data JPA 与 Hibernate 连接到 TiDB 集群。 • 构建并运行你的应用程序。你也可以参考示例代码片段,完成基本的 CRUD 操作。 注意 本文档适用于 TiDB Serverless、TiDB Dedicated 和本地部署的 TiDB。 4.3.1.4.1 前置需求 • 推荐 Java Development0 码力 | 4369 页 | 98.92 MB | 1 年前3
TiDB v8.1 Documentationstatements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions. Connect to TiDB with Spring Boot TiDB is a MySQL-compatible database, and Spring is a popular open-source container framework for Java. This document uses Spring Boot as the way to use Spring. In this tutorial TiDB along with Spring Data JPA and Hiber- nate as the JPA provider to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using Hibernate and Spring Data JPA. • Build0 码力 | 6321 页 | 107.46 MB | 1 年前3
TiDB v6.5 中文手册手动管理数据库事务 108 • 手动将数据行映射为数据对象 建议仅在需要编写复杂的 SQL 语句时使用驱动程序。其他情况下,建议使用 ORM 框架进行开发,例如Hibernate、 MyBatis 或Spring Data JPA。ORM 可以帮助你: • 减少管理连接和事务的模板代码 • 使用数据对象代替大量 SQL 语句来操作数据 4.3.1.1.5 下一步 • 关于 MySQL Connector/J 如果在开发的过程中遇到问题,可以在 AskTUG 上进行提问,寻求帮助。 4.3.1.4 使用 Spring Boot 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。Spring 是当前比较流行的开源 Java 容器框架,本文选择 Spring Boot 作为使用 Spring 的方式。 本文档将展示如何使用 TiDB 和 Spring Data JPA 及 Hibernate 作为 JPA 提供者来完成以下任务: 提供者来完成以下任务: • 配置你的环境。 • 使用 Spring Data JPA 与 Hibernate 连接到 TiDB 集群。 • 构建并运行你的应用程序。你也可以参考示例代码片段,完成基本的 CRUD 操作。 注意 本文档适用于 TiDB Serverless、TiDB Dedicated 和本地部署的 TiDB。 4.3.1.4.1 前置需求 • 推荐 Java Development0 码力 | 4049 页 | 94.00 MB | 1 年前3
共 32 条
- 1
- 2
- 3
- 4













