Scenario: Cost-effective archive databases
Lindorm works alongside a relational database to meet requirements such as low storage cost, easy O&M, and elastic scaling. This topic describes the architecture and advantages of this solution.
LTS instances purchased after March 10, 2023 no longer support the cost-effective archive database scenario. LTS instances purchased before March 10, 2023 still support this scenario.
Background information
In the era of highly developed mobile internet, a large volume of business data is generated every day. As time passes and businesses grow, data volumes increase rapidly, while the access frequency of historical data decreases over time. Storing all of this data in a relational database creates a series of problems.
Challenges
Rising storage costs. Storage cost is proportional to data volume. Rapid data growth leads to a rapid increase in storage costs.
Degraded query performance. Once a single instance exceeds 1 TB of storage, query performance drops sharply.
High O&M complexity. Using database and table sharding to solve the performance degradation caused by growing data volume significantly increases O&M and development costs.
Requirements
Controllable storage costs. The storage cost of historical data is one-tenth that of online data.
Elastic scaling. Compute and storage capabilities scale horizontally and automatically, eliminating the need for database and table sharding to solve O&M challenges.
Low schema change cost. Supports fast schema changes or dynamic schemas, solving the issue of long schema-change windows in historical databases.
Low migration cost. Supports SQL-based access.
Real-time query support. For scenarios such as consumption bills and chat records, the query response time for historical data must be close to that of online data.
Support for data analytics. Historical data has low access frequency, but some business scenarios require mining and analysis over the full dataset—such as year-end billing summaries on Alipay.
Lindorm can meet requirements such as low storage cost, simple O&M, elastic scaling, and stable performance. Combined with a relational database, it is the optimal choice for a real-time, cost-effective archive database.
Solution architecture

The LTS data synchronization service connects to relational databases such as MySQL and supports integrated full and incremental data synchronization. It also provides enterprise-grade capabilities such as multi-table migration, data transformation, and DDL awareness, helping users complete data migration simply and efficiently.
Lindorm provides low-cost storage for large volumes of data (0.11 CNY/GB/month), elastic scaling with pay-as-you-go billing, and multi-model, multi-endpoint processing to meet users’ storage needs across various scenarios. It also seamlessly integrates with open source analytics ecosystems such as Spark, Hive, Flink, and Presto to meet complex analysis needs and maximize data value.
Solution advantages
Easy to use
Visual data migration configuration—complete migration setup in minutes.
Combining full and incremental synchronization in one workflow minimizes user effort and cost.
Supports multi-table migration and data transformation, enabling users to merge tables and combine columns with ease.
Comprehensive monitoring and alerting ensure the stability of data synchronization.
Cost-effectiveness
Supports capacity-optimized storage, with costs as low as 0.11 CNY/GB/month. While optimizing storage costs, the built-in buffer acceleration layer helps maintain near-real-time query performance, making it the optimal storage choice for real-time archive databases.
In terms of performance, the Lindorm wide table engine achieves major breakthroughs in throughput and latency. Its benchmark performance is 7x that of open source Apache HBase. For details, see Test results. The Lindorm time series engine incorporates innovative high-performance design features, and its benchmark performance is ranked first in the current rankings of the China Academy of Information and Communications Technology (CAICT).
Supports intelligent hot/cold data separation. For scenarios where data gradually becomes cold over time—such as monitoring, social chat, and transaction bills—Lindorm automatically identifies hot and cold data and separates storage across high-performance and low-cost media (unit costs can differ by as much as 10:1). Read and write access remains completely transparent to users, and hot data access performance is further accelerated.
Supports adaptive compression. Based on data type and characteristics, the system automatically selects hybrid compression algorithms such as dictionary, prefix, delta, and entropy encoding. Compared with widely used industry algorithms, the overall compression ratio is 10% to 30% higher.
Cloud-native elasticity
Based on a storage-compute separation architecture, Lindorm supports independent elastic scaling of compute and storage resources, avoiding resource waste.
Lindorm also provides a Serverless service with on-demand scaling and pay-as-you-go billing. Lindorm Serverless is built on multi-tenant isolation, intelligent scheduling, and an elastic IaaS foundation. It provides enterprise-grade SLA guarantees, meets the availability requirements of most internal business operations, and significantly reduces capacity management overhead for frontline teams, eliminating stability risks caused by traffic fluctuations.
Multi-model and search
Lindorm supports widely used open-source interfaces such as Apache HBase, Apache Phoenix (SQL), and Cassandra (CQL), reducing migration effort. It also supports global secondary indexes, multidimensional search, dynamic columns, and TTL, serving scenarios such as metadata, orders, bills, user profiles, social feeds, and logs.
One-click search engine activation (compatible with the open source Apache Solr standard interface). The engine provides full-text search, aggregations, and complex multidimensional queries to accelerate search and support complex real-time analytics.
Big data ecosystem
Lindorm integrates seamlessly with open-source big data platforms such as Apache Spark, Apache Hive, Apache Flink, and Presto, and supports API access and file-based reads. This provides an efficient way to analyze large volumes of data.
Typical applications

User transaction records are written to MySQL through an app. LTS synchronizes MySQL data to Lindorm in real time. Records with status changes during the past three months are queried from MySQL, while older transaction records are queried from Lindorm. Historical transaction records are stored in capacity-optimized storage, reducing storage costs by more than 90%.
For users’ complex real-time search needs—for example, searches using any combination of timestamp, location, amount, and transaction remarks—the Lindorm search engine provides full-text search, aggregations, and complex multidimensional queries. Users can meet these needs without modifying their applications.
Through LTS, Lindorm billing data can be synchronized to offline computing platforms such as Spark or MaxCompute for computation. Reports are generated based on business needs and then written back to Lindorm for real-time queries.