diff --git a/docs/user_manual/quick_starts/en-US/chapter_01_overview_of_the_oceanbase_database/01_overview.md b/docs/user_manual/quick_starts/en-US/chapter_01_overview_of_the_oceanbase_database/01_overview.md index 5e8bed73c..3a1a85fe5 100755 --- a/docs/user_manual/quick_starts/en-US/chapter_01_overview_of_the_oceanbase_database/01_overview.md +++ b/docs/user_manual/quick_starts/en-US/chapter_01_overview_of_the_oceanbase_database/01_overview.md @@ -5,7 +5,7 @@ weight: 2 # 1.1 OceanBase Database -This topic outlines the core features of OceanBase Database, the differences between its community and enterprise editions, and changes in the system tables and system views in its key versions such as V4.x and V3.x. +This topic highlights the key features of OceanBase Database, explores the differences between the Community and Enterprise editions, and dives into the evolution of system tables and views across major versions like V3.x and V4.x. > **Note** > @@ -13,13 +13,13 @@ This topic outlines the core features of OceanBase Database, the differences bet ## Overview -OceanBase Database is a native, distributed database developed independently by the OceanBase team. It has successfully served the Double 11 promotion season for 11 consecutive years, and introduces a new region-level disaster recovery standard known as "Five IDCs across Three Regions". It is the only native, distributed database that has set new world records in both TPC-C and TPC-H benchmark tests. Based on the self-developed integrated architecture, OceanBase Database incorporates the scalability of a distributed architecture and the performance benefits of a centralized architecture. This enables the database to support transaction processing (TP) and analytical processing (AP) with one engine, and ensures its strong data consistency, high availability, high performance, online scalability, high compatibility with Oracle/MySQL, transparency to applications, and high cost-effectiveness. OceanBase Database has been making in-depth exploration in a wide range of core scenarios for 14 years, helping more than 1,000 enterprises from industries such as finance, government services, telecommunication, retail, and Internet in upgrading their key business systems. +OceanBase Database is a native, distributed database developed independently by the OceanBase team. It has successfully served the Singles' Day Shopping Festival for 11 consecutive years, and introduces a new region-level disaster recovery standard known as "Five IDCs across Three Regions". It is the only native, distributed database that has set new world records in both TPC-C and TPC-H benchmark tests. Based on the self-developed integrated architecture, OceanBase Database incorporates the scalability of a distributed architecture and the performance benefits of a centralized architecture. This enables the database to support transaction processing (TP) and analytical processing (AP) with one engine, and ensures its strong data consistency, high availability, high performance, online scalability, high compatibility with Oracle/MySQL, transparency to applications, and high cost-effectiveness. OceanBase Database has been making in-depth exploration in a wide range of core scenarios for 14 years, helping more than 1,000 enterprises from industries such as finance, government services, telecommunication, retail, and Internet in upgrading their key business systems. ### Core features #### High availability -OceanBase Database pioneers the "Five IDCs across Three Regions" disaster recovery solution, setting a new standard for lossless disaster recovery in the financial industry. It supports multi-active IDCs deployed across multiple regions for zone- and geo-disaster recovery, which meets the Level 6 disaster recovery requirements of the financial industry with a recovery point objective (RPO) of 0 and a recovery time objective (RTO) of less than 8 seconds. +OceanBase Database pioneers the "Five IDCs across Three Regions" disaster recovery solution, setting a new standard for lossless disaster recovery in the financial industry. It supports disaster recovery in the same region or across different regions, enabling multi-site active-active deployment. This meets the Level 6 disaster recovery requirements of the financial industry with a recovery point objective (RPO) of 0 and a recovery time objective (RTO) of less than 8 seconds. #### High compatibility @@ -31,7 +31,7 @@ OceanBase Database supports rapid transparent horizontal scaling in response to #### Low costs -OceanBase Database adopts a storage engine based on the log-structured merge-tree (LSM-tree), which can achieve a high compression ratio and reduce storage costs by 70% to 90%. OceanBase Database also supports the multi-tenant architecture, which means that the same cluster can serve multiple business lines with the data of one tenant isolated from that of others. This reduces deployment and O&M costs. +OceanBase Database adopts a storage engine based on the log-structured merge-tree (LSM-tree), which can achieve a high compression ratio and reduce storage costs by 70% to 90%. OceanBase Database also supports the multi-tenant architecture, which means that the same cluster can serve multiple business lines with the data of one tenant isolated from that of others. This reduces the deployment and operation and maintenance (O&M) costs. #### Real-time HTAP @@ -47,15 +47,15 @@ OceanBase Database Community Edition uses the MulanPubL-2.0 license. You can cop ### Core features of OceanBase Database Community Edition -OceanBase Database Community Edition supports all core features of OceanBase Database Enterprise Edition, including: +OceanBase Database Community Edition supports all the core features of OceanBase Database Enterprise Edition, including: * Multi-replica high availability and strong synchronization -* Multitenancy +* Multi-tenancy * Online elastic scaling -* Geo-disaster recovery and active geo-redundancy (including three IDCs across two regions and five IDCs across three regions) +* Cross-region disaster recovery and active-active capability (including three IDCs across two regions and five IDCs across three regions) * Table partitioning and replication @@ -75,7 +75,7 @@ OceanBase Database Community Edition supports all core features of OceanBase Dat ### Supported operating systems -For more information, see [Software and hardware requirements](https://en.oceanbase.com/docs/common-oceanbase-database-10000000001375950). +For more information, see [Software and hardware requirements](https://en.oceanbase.com/docs/common-oceanbase-database-10000000001971619). ### Differences from a MySQL database @@ -83,336 +83,122 @@ For more information, see [Software and hardware requirements](https://en.oceanb * Compared with MySQL, OceanBase Database employs a storage engine that achieves a higher compression ratio and reduces storage costs by 70% to 90%. -* OceanBase Database is a distributed database cluster. By default, the production environment comprises three replicas that use the Paxos protocol to synchronize transaction logs. The synchronization process is not asynchronous or semi-synchronous. An OceanBase cluster can be deployed across IDCs and regions. When a server or IDC fails, an automatic replica failover is performed without data loss. Therefore, OceanBase Database is naturally suitable for the deployment mode of three IDCs across two regions to achieve geo-disaster recovery and active geo-redundancy. +* OceanBase Database is a distributed database cluster product. In production environments, it defaults to three replicas, and the synchronization protocol among these replicas is not asynchronous or semi-synchronous. Instead, it uses the Paxos protocol to synchronize transaction logs. An OceanBase cluster can be deployed across IDCs and regions. When a server or IDC fails, an automatic replica failover is performed without data loss. Therefore, OceanBase Database is naturally suitable for the deployment mode of three IDCs across two regions to achieve the cross-region disaster recovery and active-active capability. -* An OceanBase cluster supports multiple tenants (also known as instances) that are allocated with resources on demand, elastic scaling, and high availability, and is similar to a cloud database service. O&M engineers only need to maintain a few OceanBase clusters to provide many instances for business systems, which means OceanBase Database is easy to use. +* An OceanBase cluster supports multiple tenants (also called instances) that are allocated resources on demand, enabling elastic scaling and high availability, much like a cloud database service. O&M engineers only need to manage a few OceanBase clusters to provide numerous instances for business applications, making OceanBase Database easy to use. -* OceanBase Database supports horizontal splitting (partitioned tables), without the need for database and table sharding. SQL statements and transactions are fully transparent to business systems without limitations on features. Partitioned tables demonstrate good linear scalability. Among the known cases by now, a single tenant can contain up to 1,500 nodes. +* OceanBase Database supports horizontal splitting (partitioned tables), without the need for database and table sharding. SQL statements and transactions are fully transparent to business systems without any functional limitations. Partitioned tables demonstrate good linear scalability. The largest known single-tenant deployment currently consists of 1,500 nodes. -* The SQL engine of OceanBase Database is more powerful than that of MySQL. It supports the caching of execution plans, avoiding the overhead caused by repeated generation of the same execution plan for the same SQL statement; allows you to use hints and outlines to intervene the form of SQL execution plans; and supports plan generation and SQL computing in distributed and complicated scenarios. In addition, OceanBase Database supports hybrid OLTP and OLAP (or HTAP) requirements. +* The SQL engine of OceanBase Database is more powerful than that of MySQL: it supports caching of execution plans to reduce the overhead of repeatedly generating the same plan for identical SQL statements; it allows intervention in the form of SQL execution plans through hints and outlines; and it supports plan generation and SQL computing in distributed and complex scenarios. Additionally, OceanBase Database supports hybrid workloads combining OLTP and OLAP (or HTAP). ### Applicable business scenarios of OceanBase Database Community Edition -* Scenario 1: MySQL 5.6/5.7 instances are large in scale. +* Scenario 1: Large-scale MySQL 5.6/5.7 instances - When MySQL instances are large in scale, an automatic O&M platform is needed. When the automatic O&M platform handles problems of failover upon server breakdown and inconsistency between the primary and standby clusters, the DBA may need to intervene. High availability and strong consistency are the pain points of MySQL, which can be resolved based on the multitenancy, high availability, and strong consistency capabilities of OceanBase Database. + In scenarios where MySQL instances are large and require automated operation and maintenance platforms, handling unexpected MySQL crashes and primary-standby inconsistencies probably requires DBA intervention. High availability and strong consistency pose inherent risks for MySQL. OceanBase Database's multi-tenant architecture, high availability, and strong consistency capabilities can completely address these pain points. -* Scenario 2: MySQL 5.6/5.7 stores a large amount of data at high costs. +* Scenario 2: Large data volume and high storage costs in MySQL 5.6/5.7 - When the business data volume of a MySQL instance grows to the TB level, the query and read/write performance may decrease and DDL operations on large tables take longer, increasing the risks. The disk capacity of a single server may also reach the scaling bottleneck in this case. The online DDL operations and high data compression ratio of MySQL tenants of OceanBase Database can resolve these pain points. + When MySQL business data volume grows to several terabytes, the query and read/write performance may decrease and DDL operations on large tables take longer, increasing risks. The disk capacity of a single server may reach the expansion bottleneck in this case. The online DDL operations and high data compression ratio of MySQL tenants of OceanBase Database can resolve these pain points. -* Scenario 3: Business access is featured with high stress and great uncertainty. +* Scenario 3: High or fluctuating business access pressure - The distributed database middleware restructured based on MySQL can share the business stress and storage space stress to a certain extent. However, strong consistency queries across nodes are not supported, the distributed transaction middleware is needed to coordinate transactions, and logical data splitting (database and table sharding) may be needed during scale-out, leading to high O&M costs and risks. MySQL tenants of OceanBase Database support horizontal splitting of partitioned tables and provide native SQL and transaction capabilities that are transparent to business systems. Online scaling and data migration can be performed asynchronously in OceanBase Database to ensure high availability, enabling it to resolve the preceding pain points during scaling. + Distributed database middleware products built on MySQL can alleviate some business load and storage pressure. However, they often lack strong consistency for queries across nodes and require distributed transaction middleware to coordinate transactions. Scaling out may also involve logical data splitting (database and table sharding), which leads to high O&M costs and increased risks. OceanBase Database's MySQL tenants offer a horizontal partitioning solution using partitioned tables, providing native SQL and transaction capabilities that are transparent to the business. Additionally, OceanBase Database supports online scaling in and out with asynchronous internal data migration and built-in high availability, ensuring no service disruptions during scaling operations. This effectively addresses the challenges mentioned above. -* Scenario 4: Complex queries are made in transaction databases. +* Scenario 4: Complex queries on transactional databases - A transaction database has a few complex query scenarios that involve a large amount of data. In conventional solutions, data is synchronized to the data warehouse to process such queries. The SQL engine of OceanBase Database applies to both OLTP and OLAP scenarios. The engine adopts the advanced SQL optimizer technology that has been tested in complex Oracle business scenarios to support complex SQL statement optimization and efficient execution. This way, complex queries can be directly performed in the transaction database, reducing unnecessary data synchronization. Moreover, OceanBase Database provides different read/write splitting technologies to control the impact of complex queries on transactions. + Transactional databases sometimes experience a small number of complex queries over large amounts of data. Conventional solutions involve synchronizing data to a data warehouse for these queries. The SQL engine of OceanBase Database caters to both OLTP and OLAP scenarios, employing advanced SQL optimizer technology proven in complex Oracle business scenarios and supporting complex SQL statement optimization and efficient execution. This allows complex queries to run directly on the transaction database, reducing unnecessary data synchronization. Moreover, OceanBase Database provides different read/write splitting technologies to control the impact of complex queries on transactions. -* Click [here](https://en.oceanbase.com/blog#customer_stories) for case studies. +* For more scenarios, click [here](https://en.oceanbase.com/blog#customer_stories). ## Differences between the Enterprise Edition and Community Edition -OceanBase Database Community Edition differs from OceanBase Database Enterprise Edition in that the latter comprises more advanced features such as advanced compatibility modes, operation audit, and data encryption. The following table uses V4.2.2 as an example to compare the support for features by the two editions. - -
| Category | -Feature | -Enterprise Edition | -Community Edition | -
|---|---|---|---|
| Core components | -Integrated SQL engine | -Supported | -Supported | -
| Integrated transaction engine | -Supported | -Supported | -|
| Integrated storage engine | -Supported | -Supported | -|
| Cluster scheduling service | -Supported | -Supported | -|
| Cluster proxy service | -Supported | -Supported | -|
| Client, C driver, and Java driver | -Supported | -Supported | -|
| High availability | -Multi-replica | -Supported | -Supported | -
| Five IDCs across three regions | -Supported | -Supported | -|
| Transparent horizontal scaling | -Supported | -Supported | -|
| Multi-tenant management | -Supported | -Supported | -|
| Data backup and restore | -Supported | -Supported | -|
| Resource isolation | -Supported | -Supported | -|
| Physical Standby Database solution | -Supported | -Supported | -|
| Arbitration service | -Supported | -Not supported | -|
| Compatibility | -Compatibility with MySQL syntax and protocols | -Supported | -Supported | -
| Data types and functions | -Supported | -Supported | -|
| Stored procedures and packages | -Supported | -Supported | -|
| Complex character sets | -Supported | -Supported | -|
| Compatibility with Oracle syntax | -Supported | -Not supported | -|
| XA transactions | -Supported | -Not supported | -|
| Table locks | -Supported | -Not supported | -|
| Function-based indexes | -Supported | -Supported | -|
| High performance | -Cost-based optimizer | -Supported | -Supported | -
| Optimization and rewriting of complex queries | -Supported | -Supported | -|
| Parallel execution engine | -Supported | -Supported | -|
| Vectorized engine | -Supported | -Supported | -|
| Advanced SQL plan management (SPM) | -Supported | -Not supported | -|
| Minimum specifications | -Supported | -Supported | -|
| Paxos-based log transmission | -Supported | -Supported | -|
| Distributed strong-consistency transactions, complete atomicity, consistency, isolation, and durability (ACID), and multi-version support | -Supported | -Supported | -|
| Data partitioning (RANGE, HASH, and LIST) | -Supported | -Supported | -|
| Global indexes | -Supported | -Supported | -|
| Advanced compression | -Supported | -Supported | -|
| Dynamic sampling | -Supported | -Supported | -|
| Auto degree of parallelism (DOP) | -Supported | -Supported | -|
| Cross-data source access | -Read-only external tables (in the CSV format) | -Supported | -Supported | -
| DBLink | -Supported | -Supported | -|
| Multimodel | -TableAPI | -Supported | -Supported | -
| HBaseAPI | -Supported | -Supported | -|
| JSON | -Supported | -Supported | -|
| Geographic information system (GIS) | -Supported | -Supported | -|
| XML | -Supported | -Not supported | -|
| Security | -Audit | -Supported | -Not supported | -
| Privilege management | -Supported | -Supported | -|
| Communication encryption | -Supported | -Supported | -|
| Advanced security scaling | -Supported | -Not supported OceanBase Database Community Edition does not support transparent data encryption (TDE) for row-level labels, data, and logs. |
- |
| O&M management | -End-to-end diagnostics | -Supported | -Supported | -
| O&M components (liboblog and ob_admin) | -Supported | -Supported | -|
| OBLOADER & OBDUMPER | -Supported | -Supported | -|
| GUI-based development and management tools | -Supported | -Supported OceanBase Database Community Edition supports GUI-based development and management tools such as OceanBase Cloud Platform (OCP), OceanBase Migration Service (OMS), and OceanBase Developer Center (ODC). You can download these tools for free. However, OceanBase Migration Assessment (OMA) is a paid service. |
- |
| Support and services | -Technical consultation (on products) | -Supported | -OceanBase Database Community Edition provides only community-based technical consultation on products. No commercial expert team is provided for technical consultation. | -
| Service acquisition (channels for obtaining technical support) | -Commercial expert team | -OceanBase Database Community Edition provides online service consultation only on its official website or in its official community and does not provide commercial expert teams. | -|
| Expert services (planning, implementation, inspection, fault recovery, and production assurance) | -On-site services by commercial experts | -OceanBase Database Community Edition does not provide expert assurance services. | -|
| Response to faults | -24/7 services | -OceanBase Database Community Edition does not provide emergency troubleshooting services. | -