Quote

“OceanBase proved to be a strong architectural fit for Trip.com’s large-scale online workloads. Its native multi–data center active-active support, elastic scaling for peak traffic, and low-impact failover addressed key challenges in our existing architecture, while delivering 2× read performance, 3× write performance, and nearly 66% storage savings.”

Yao Chen

Senior Database Engineer at Trip.com

Trip.com is a leading one-stop travel service provider, offering flights, hotels, trains, and other travel services to users worldwide. The company operates in 24 languages across 39 countries and regions, with a global network spanning more than 1.7 million hotels and flights from over 600 airlines.

As Trip.com’s always-on services expanded, its legacy MySQL architecture hit a wall. Schema changes dragged on, replication risks threatened stability, and bloated tables ate into storage and compute resources. To break through these bottlenecks, Trip.com migrated to OceanBase, building a distributed database foundation that drastically improved performance, slashed storage costs, and fortified system resilience.

The Challenge

As Trip.com's business modules migrated onto MySQL running on commodity PC servers, the architecture that once served the platform's early growth began to crack under the pressure of global-scale operations:

  • High-Risk schema changes: Adding columns or indexes to large production tables in MySQL required multi-week operations that consumed more than 120% of storage capacity during execution. For a platform where millions of users depend on uninterrupted service, every schema change carried real stability risk.
  • Data consistency across multi-node: Binlog-based replication introduced inconsistencies between primary and standby nodes, even with RAID 10 disk arrays in place. This creates an operational risk that required constant manual vigilance. When failovers occurred, the team could not guarantee that replicas held identical data.
  • Storage limits at the table level. The IM system’s group message table alone was nearing single-table storage ceilings, creating a bottleneck with no clean MySQL-native path to resolve. Meanwhile, standard resource allocation across business modules meant that some workloads were over-provisioned while others were starved — a pattern that worsened as traffic patterns diverged across Trip.com’s growing product portfolio.

The Solution

Trip.com needed a unified platform that delivered massive scalability without the operational tax of fragmented workarounds. OceanBase’s native distributed architecture, combined with multitenancy and advanced compression, provided the exact mix of high availability and efficiency the team required.

  • Frictionless online DDL: OceanBase transformed schema changes from weeks-long ordeals into seconds-long tasks. For instance, adding a new field to the massive IM group message table now happens instantly, with zero impact on live traffic.
  • Bulletproof consistency & automated failover: By moving away from legacy replication protocols, OceanBase simplified leader/follower management. Built-in distributed consensus ensures strict data consistency and automates failover, eliminating manual panic during node failures.
  • Dramatic storage compression: OceanBase’s advanced encoding algorithms fundamentally changed Trip.com’s storage economics. For example, a table that previously hogged 800 GB in MySQL shrank to just 200 GB.
  • Granular Resource Control: With native multitenancy, Trip.com can now pool resources in a shared cluster while isolating business modules into distinct tenants. This allows them to scale individual workloads on demand, maximizing hardware utilization.
  • Unified Workloads: Consolidating transactional and analytical workloads into a single database environment cut down on replication lag and enabled smarter, real-time data processing.

Trip.com migrated from MySQL to OceanBase using OceanBase Migration Service (OMS), which supported both full and incremental data synchronization to ensure consistency and zero downtime during the transition. The migration preserved business continuity throughout with no data loss or service interruption.

Business Impact

After migrating to OceanBase, Trip.com achieved measurable improvements in performance, efficiency, and operational stability.

Higher performance for large-scale online services

After migrating to OceanBase, Trip.com measured a 3x improvement in write throughput and a 2x improvement in read performance across production workloads, directly translating to faster response times for the millions of users querying hotel availability, booking tickets, and exchanging messages daily.

66% storage reduction for higher capacity efficiency

OceanBase's encoding and compression reduced Trip.com's storage footprint by roughly two-thirds compared to MySQL, with standout results on the largest tables (800 GB → 200 GB on the IM group message table). The savings lowered infrastructure costs while simultaneously improving query performance on compressed data.

Zero-downtime operations during change and maintenance

Online schema changes, node scaling, and data center maintenance now execute without service impact. Leader/follower switchover became fully automated, and OceanBase's distributed architecture supports dynamic node scaling during peak travel periods without resource contention.

Better infrastructure efficiency with operational simplicity

By using multitenancy and OceanBase's hybrid transactional/analytics processing (HTAP) architecture, Trip.com was able to run real-time analytics running alongside transaction processing without separate ETL, independent scaling per business module, and a migration path that proved the viability of replacing MySQL at scale without business disruption.

Looking Ahead

For a global travel platform like Trip.com, infrastructure limits directly translate to business limits. By replacing an overburdened MySQL setup with OceanBase, Trip.com didn't just solve immediate operational pains—they built a resilient, highly efficient data foundation fully prepared to handle the next era of global travel.

Explore more success stories

View all stories
Haidilao

Founded in 1994, Haidilao International Holding Ltd. (Haidilao) has been listed on the Main Board of the Hong Kong Stock Exchange since 2018. As one of the Fortune 500 companies in China, Haidilao is the most valuable catering chain in China, boasting an annual income of more than CNY 10 billion. Haidilao also ranked 60th in the Brand Z™ Top 100 Most Valuable Chinese Brands 2022 list, making it the only catering brand to achieve this ranking.

Read more
POP MART

Founded in 2010, POP MART is a leading pop culture and entertainment company. Over the past decade, POP MART has expanded its business globally, focusing on artist mining, product incubation and operation, consumer outreach, cultural promotion, business model innovation, and investment. The company has successfully built an all-round operational platform that integrates the entire supply chain of the trendy toy industry. As of December 31, 2021, POP MART has 295 brick-and-mortar chain stores and 1,611 roboshops in 103 cities across the Chinese Mainland

Read more
Kwai

Kwai is a short video mobile application. Formerly known as GIF Kuaishou, the application was first released in 2011, transformed into a short video community in 2012, and rebranded as Kwai in 2014. Kwai Technology has been listed on the main board of the Hong Kong Stock Exchange since 2021. As of the end of 2021, Kwai boasted an average of 308 million daily active users and 544 million monthly active users, making it a tier-1 short video platform.

Read more
Lichu Business Service

Founded in 2011, Wuhan Lichu Business Service is one of leading companies of aggregate payment technologies in China. In 2016, the company released Saobei, the fourth-party payment middle platform, to provide an overall payment solution. As a digital business service provider for merchants, Lichu works with merchants to promote their digital operation through a combination of payment and value-added services.

Read more

Transform your data infra with OceanBase