Acknowledgments: Yang Qinghua, head of the innovation and incubation team, Sunshine Digital Technology
Sunshine Insurance was established in July 2005 and grew into a fully licensed insurance group in less than three years. The group made it to the list of China's top 500 enterprises within five years after its founding, and has been recognized as one of "China's 500 Most Valuable Brands" by the World Brand Lab for 14 years in a row. It is one of the fastest-growing medium-sized insurance companies in the industry.
By the end of 2023, the total assets of Sunshine Insurance Group (SIG) exceeded CNY 500 billion, with the annual original premium income surpassing CNY 100 billion, over 50,000 employees, and more than 30 million customers. Notably, Sunshine Property and Casualty Insurance, a SIG member company, achieved profitability in less than two years since its founding, and Sunshine Life Insurance, another SIG member company, did so in six years—both breaking industry records. Their growth speed and profitability far outperformed companies of the same age. As a rapidly growing and vigorous top-tier mid-sized insurance company, SIG has always been committed to innovation and social responsibility. With the accelerating trend of digital transformation, SIG decided to upgrade its database system.
Yang Qinghua, the head of Sunshine Digital Technology's innovation and incubation team, revealed that SIG has been upgrading the databases for several general and core business systems, such as the property insurance, life insurance, and asset management systems. So far, the group has built over 20 OceanBase clusters and replaced nearly 400 database instances for more than 200 business systems, accounting for nearly 40% of the total. All upgraded systems are running stably.
In its digital transformation journey, SIG has always focused on empowering business development with technology and promoting technological innovation in house. It has resolutely implemented regulatory requirements, quickly responded to industry trends, and driven continuous upgrades and reforms in its IT architecture. SIG's technological evolution has gone through four main stages.
With the fast business growth and the unceasing technological upgrade, the complex application architecture and business requirements posed new challenges to data systems, including the following challenges to databases:
SIG determined its database upgrade strategy based on three principles:
Based on this strategy, Yang explained why they chose OceanBase Database: "Reliability and cost-effectiveness are the two decisive factors in our database selection. "
When it came to reliability, SIG placed a high value on two factors: Technical reliability: OceanBase Database has advantages in distributed architecture, high performance and availability, and scalability, and its reliability has been demonstrated through successful applications in peer companies in the industry. Service reliability: OceanBase Database is backed by a full-time professional technical support team, who can assist with database deployment and O&M.
As to the cost-effectiveness, SIG also considered three factors: Resource costs: OceanBase Database supports multitenancy, shared resource pools, LSM-tree storage, and advanced compression algorithms, and thus can meet higher business demands. Process costs: OceanBase Database offers a complete migration solution with well-developed tools to ensure a smooth migration. Operational costs: OceanBase Database can be managed with a range of tools, such as OceanBase Cloud Platform (OCP) for cluster management, OceanBase Autonomy Service (OAS) for database diagnostics, and OceanBase Admin Toolkit (OAT) for deployment. These tools help the operations team quickly identify and resolve issues, simplifying routine O&M.
Given these factors, SIG decided to upgrade its database system to OceanBase Database, and had accelerated its database upgrade efforts since 2022.
So far, the group has built over 20 OceanBase clusters and replaced nearly 400 database instances for more than 200 general and core business systems, such as the property insurance, life insurance, and asset management systems, accounting for nearly 40% of the total. All upgraded systems are running stably.
Yang highlighted their experience in implementing the Ultra-Short-Term Insurance system, which handles part of Sunshine Property and Casualty Insurance's internet-based short-term insurance policies. With up to 3 million policies on a daily basis, a single table can contain up to 2 billion data records. Before the company upgraded its database to a distributed architecture, the system relied on physical table sharding for scalability. In a word, the business scenario of the system is characterized by numerous data sources, a high daily transaction volume, large traffic, a low premium per policy, and stringent requirements for policy issuance speed, stability, and cost-effectiveness.
Given this background, the database supporting the Ultra-Short-Term Insurance system must provide high concurrency, low latency, strong consistency, high availability, resource efficiency, and minimal post-migration changes.
Yang showed the four stages of migrating the database supporting the Ultra-Short-Term Insurance system.
Stage 1: Using OceanBase Migration Assessment (OMA), SIG conducted a thorough analysis of the original centralized database to identify incompatible functions and problematic SQL statements. It encountered challenges, such as issues related to stored procedures and global unique IDs, in the assessment. SIG addressed the stored procedure issues by disabling stored procedures at the development level, and implemented a highly available distributed naming service based on Zookeeper for continuous ID generation.
Stage 2: Based on experiences of peer companies and its specific business needs, SIG combed through key database SQL statements to determine the most cost-effective table schemas and partitioning methods. It also investigated table associations and query conditions to determine partitioning keys and table groups. The distributed computing capabilities of OceanBase Database were leveraged to enhance performance and scalability in the case of massive data.
Stage 3: Tables were partitioned as needed. For example, tables with core data were partitioned for optimal performance and scalability, while tables with summary data were not partitioned to reduce costs and complexity. For tables with common basic data, their replicas were created in the new database by using OceanBase Migration Service (OMS) to support data queries. All the three types of tables are handled well in the final solution.
Stage 4: SIG executed data migration. OMS was used to establish batch and real-time synchronization channels, ensuring a smooth migration process.
Yang noted that the distributed architecture of OceanBase Database ensured stability and scalability while improving resource utilization. The LSM-Tree-based data compression strategy helped SIG save over 50% on hardware costs. Additionally, the multitenancy feature significantly simplified database O&M.
Seeing the unstoppable momentum of AI, Yang shared his thoughts on the trends of multi-model data integration and the integration of transaction processing (TP) and analytical processing (AP).
As business needs diversify and AI technologies advance, enterprises must handle increasingly diverse data types, including structured data (like core business data in a relational database), semi-structured data (like JSON and XML data), and unstructured data (like text, images, and videos). Multi-model data presents new challenges for the integration, storage, retrieval, and analysis of data.
To support such a wide range of data types, a conventional data management system requires multiple technology stacks, which increases operational costs and risks. Yang expressed hope that OceanBase Database could provide scenario-specific multi-modal data integration capabilities, so that SIG could effectively integrate and analyze various types of data to help reduce costs, boost efficiency, and encourage business innovation.
SIG's business requires TP and AP integration. Currently, SIG has deployed Oracle Exadata to support this need. If SIG achieves TP and AP integration based on OceanBase Database, it can simplify its IT infrastructure, reduce the total cost of ownership, and enhance business processing efficiency and data insights, thus addressing the changing landscape of data management and moving forward in technological innovation.