[Open Source] An Enterprise-Grade Distributed HTAP Open-Source Database Featuring High Scalability and Multi-Level Disaster Recovery
![[Open Source] An Enterprise-Grade Distributed HTAP Open-Source Database Featuring High Scalability and Multi-Level Disaster Recovery](https://yy123.ink/api/img/1782607716111-alp9k2.jpg)
1. Project Overview

OpenTenBase is an enterprise-grade distributed HTAP open-source database featuring high scalability, compatibility with commercial database syntax, a distributed HTAP engine, multi-level disaster recovery, and multi-dimensional resource isolation. It has been successfully deployed in core business systems across industries such as finance, healthcare, and aerospace.
2. Open Source License
Licensed under the BSD 3-Clause Open Source License
3. Screenshots

4. Feature Overview
OpenTenBase is an enterprise-grade distributed HTAP open-source database developed by the Tencent Cloud Database team based on PostgreSQL. It combines high scalability, extensive SQL compatibility, full distributed transaction support, multi-level disaster recovery capabilities, and multi-dimensional resource isolation. It has been successfully deployed in core business systems across industries such as finance, government, telecommunications, and healthcare.
OpenTenBase is a relational database cluster platform that provides write reliability and multi-primary-node data synchronization. You can configure OpenTenBase on one or multiple hosts, with data stored across multiple physical hosts. Tables can be stored using two methods: distributed or replicated. When a query SQL statement is sent to OpenTenBase, it automatically sends the query to the data nodes and retrieves the final results.
5. Tech Stack
OpenTenBase adopts a distributed cluster architecture (as shown below). This architecture follows a share-nothing distributed model, where nodes operate independently and each processes its own data. The processed results may be aggregated at a higher level or transferred between nodes. Processing units communicate through network protocols, providing better parallel processing and scalability. This also means that an OpenTenBase database cluster can be deployed using simple x86 servers.

OpenTenBase Architecture Diagram
Below is a brief overview of the three main modules of OpenTenBase.
● Coordinator (CN)
The business access entry point, responsible for data distribution and query planning. Multiple nodes are peers, and each provides the same database view. Functionally, CN nodes store only global system metadata and do not store actual business data.
● Datanode (DN)
Each node also stores a partition of the business data. Functionally, DN nodes are responsible for executing the requests distributed by the coordinator nodes.
● GTM: Global Transaction Manager
Responsible for managing cluster transaction information and global cluster objects, such as sequences.
OpenTenBase vs. PostgreSQL: Architecture and Key Technology Comparison

Core Advantages of OpenTenBase

OpenTenBase Ecosystem Overview

OpenTenBase combines complex and diverse internal business scenarios with external enterprise-level commercial requirements. By bringing together upstream and downstream industry partners to build foundational capabilities, it adheres to the philosophy of "Open Source, Open Collaboration, and Collective Innovation." Together with upstream and downstream users, developers, and industry partners, it aims to build an open and thriving database ecosystem, lower the barrier to adoption, and deliver innovative value to users. In December 2023, at the 2023 OpenAtom Developer Conference, Tencent Cloud officially donated OpenTenBase to the OpenAtom Foundation and it entered the incubation stage. Through open-source collaboration, OpenTenBase works with the upstream and downstream industry chain and developers to build a thriving database technology ecosystem. In February 2024, OpenTenBase launched the OpenTenBase Open Source Core Contribution Challenge in the Basic Software track of the OpenAtom Open Source Competition, inviting developers to actively participate in building the open-source database community.