Solution Overview

More and more enterprises are building their applications in a service-oriented architecture, and the microservice architecture has been integrated with the next-generation architecture in various industries, especially SaaS enterprises. The microservice architecture also brings many challenges to the underlying database, such as resource fragmentation, complex management, resource waste, and poor scalability. Despite the huge cost, this architecture cannot achieve the goal of on-demand scaling.

OceanBase provides native and powerful resource pooling capabilities in a distributed architecture to help enterprises significantly reduce resource and management costs while maintaining excellent performance and availability.

Business Challenges

Instance fragmentation

Multiple different business applications within an enterprise, or the resource isolation needs of SaaS enterprises for different customers, may lead to the need to deploy a large number of database instances, resulting in serious fragmentation. When key business or customer demands surge, it is difficult to scale out flexibly and to guarantee performance and availability.

Resource waste

Due to the fragmented deployment of database resources, an enterprise often reserve an extra portion of resources for an instance for request growth in a short period of time in order to ensure certain performance elasticity. Such resource reservation actually causes huge resource waste from the overall business perspective and raises the cost of enterprise resources.

Complex management

A large number of database instances increases management complexity. It is difficult for the DBA team to put hundreds or even thousands of instances under fine-tuned management. In case of a failure, jitter, or other events, it may take a long time for the DBA team to recover services. As a result, the management costs may rise.

Solution Architecture

  • The multi-tenant solution helps improve resource utilization by integrating database instances of different businesses. With the multi-replica design based on the Paxos protocol, high availability can be ensured for each resource unit.
  • The multi-tenant solution not only applies to large and medium-sized enterprises where resources of different business lines need to be put into a resource pool, but also applies to SaaS enterprises where instances of different specifications need to be provided for different customers, which ensures resource isolation at lower costs.

Benefits

Resource Pooling

OceanBase cluster natively implements resource isolation and virtualization in the multi-tenant solution. Hundreds of database instances can be deployed in one cluster, with data and resources isolated for each instance and computing resources scaled out in seconds.

Flexible Scaling

With the multi-node distributed architecture, you can immediately upgrade a single server, and flexibly scale to multiple servers with auto load balancing. OceanBase Database automatically completes the data migration and multi-dimensional data verification without human intervention.

Unified Management

Instead of managing several hundreds of scattered instances, DBAs now manage clusters in OceanBase. Data loading, alarming, and tuning are performed on a per cluster basis. Minor failures can be automatically recovered, significantly improving maintenance efficiency and emergency response speed.

Cost Effectiveness

Resource pooling improves resource utilization. And the advanced compression algorithm reduces storage costs by 2/3, compared with traditional databases. The total cost of ownership (TCO) can be reduced by about 30% to 50% for large and medium-sized enterprises.