All Products
Search
Document Center

Time Series Database:Advantages over OpenTSDB

Last Updated:Mar 28, 2026

Lindorm Time Series Database (TSDB) is highly compatible with OpenTSDB protocols, so existing OpenTSDB pipelines work without modification. As a managed service, TSDB eliminates the operational overhead of self-hosted OpenTSDB clusters while delivering higher performance, richer features, and lower storage costs.

Feature comparison

OpenTSDB is an open-source time series database built on Apache HBase. TSDB builds on the same OpenTSDB protocol compatibility while using proprietary indexing, data models, and streaming aggregation developed by Alibaba Cloud.

The following table compares TSDB and OpenTSDB across operations, features, cost, and stability.

DimensionOpenTSDBTSDB
Operations and administration
Service availabilityDepends on your cluster setup and component dependencies99.9%
Data durabilityDepends on your cluster setup and component dependencies99.9999%
Software and hardware costsHigh database server costsNo hardware deployment; pay for what you use
MaintenanceMust hire database administrators (DBAs)Fully managed; no DBA required
Deployment and scalingRequires hardware procurement, data center hosting, and server setupActivated in a few clicks; scale within minutes
Component dependenciesMust manage AsyncHBase and HBase dependenciesNo operations and maintenance (O&M) required
Parameter tuningManual configuration of salt, connections, synchronous flushing, and compactionPreconfigured based on best practices
Table creationManual O&M on static table creation statementsManaged transparently by TSDB
Monitoring and alertingRequires external toolsBuilt-in monitoring system included
Features
Data modelsSingle-value model onlyMulti-value and single-value models
SDKOpen source; query not supportedTSDB SDK for Java with robust and stable features
Data typesNumeric onlyNumeric, Boolean, and string
SQL queriesNot supportedSupported
Management consoleBasic graph displayMultidimensional visualization, data management, and time series insights
Character supportLetters onlyLetters and Chinese characters
Tags parameterRequiredOptional
Tag keys per metricUp to 8Up to 16
Ecosystem integrationLimited to open-source toolsIntegrates with Flink and IoT Platform
Costs
Data compressionGeneral-purpose algorithms; low compression ratioTime-series-specific algorithm; high compression ratio
Stability
Read/write isolationCoupled reads and writes; connection exhaustion increases failure riskSeparate thread pools for reads and writes; stable performance
AggregationIn-memory aggregation; susceptible to out of memory errorsStreaming aggregation with fine-grained memory management

OpenTSDB protocol compatibility

TSDB is compatible with most OpenTSDB HTTP API endpoints for data ingestion and querying. However, because TSDB's underlying architecture differs significantly from OpenTSDB's, some O&M-oriented endpoints are not supported.

Note: For the full OpenTSDB HTTP API reference, see HTTP API.

Supported and unsupported endpoints

API endpointCompatibleNotes
/api/aggregatorsYes
/api/configYes
/api/putYesCore write endpoint
/api/queryYesCore query endpoint
/api/query/lastYes
/api/search/lookupYes
/api/serializersYes
/api/statsYes
/api/suggestYes
/api/versionYes
/sNoStatic file serving; not applicable to a managed service
/api/annotationNoAnnotation management is not supported
/api/dropcachesNoCache management is handled internally
/api/rollupNoUse TSDB's SQL query interface for rollup-equivalent queries
/api/histogramNoNot supported
/api/treeNoTree-based metadata management is not supported
/api/uidNoUID management is handled internally

TSDB-specific endpoints

TSDB extends the OpenTSDB protocol with additional endpoints for multi-value data and lifecycle management.

EndpointDescription
/api/mputWrites multi-value data
/api/mqueryQueries multi-value data
/api/query/mlastQueries the most recent data points from time series using the multi-value model
/api/dump_metaQueries tag values paired with a tag key
/api/ttlSets the time to live (TTL) for data
/api/delete_dataDeletes data
/api/delete_metaDeletes a time series

Performance comparison

In benchmark tests against a 2,160,000,000-data-point dataset, TSDB significantly outperformed OpenTSDB on equivalent hardware:

  • Write throughput: TSDB sustained approximately 4,200 transactions per second (TPS) across all write scenarios — roughly 4x higher than OpenTSDB's peak of approximately 1,094 TPS.

  • Query performance (5-minute range): TSDB handled single-tag queries at 3,831 TPS with an average response time (RT) of 44 ms. OpenTSDB peaked at approximately 2 TPS with an average RT exceeding 77 seconds — a difference of ~1,900x in throughput.

  • Query performance (3-hour range): TSDB completed large-dataset queries across 1,000 tag combinations at 11.76 TPS. OpenTSDB became unavailable for all 3-hour range scenarios, even when query concurrency was reduced from 5,000 to 1.

The detailed test data is provided in the sections below.

Test environment

ComponentSpecification
Write server2 cores, 8 GB memory
Query server64 cores, 256 GB memory
ApsaraDB for HBase (OpenTSDB backend)8 cores, 16 GB memory × 5 servers
OpenTSDB versionV2.3.2 with ApsaraDB for HBase V1.5.0.1
TSDB versionV2.4.2

Dataset

ParameterValue
Total time series2,000,000
Collection interval10 seconds over 3 consecutive hours
Total data points2,160,000,000
Metric valuesRandom integers from 1 to 100

Five tag key-value pairs were used. The first four (zone, cluster, group, app) generate 2,000,000 unique time series (10 × 20 × 100 × 100). The fifth (ip) has 2,000,000 unique values.

Stress test configuration

ItemValue
Duration3 minutes
ModeFixed concurrency
Stress testers5
TPS per tester1,000
Calling methodSynchronous
Connection timeout600,000 ms
Query timeout600,000 ms

Each test run starts with a database restart and a preloading pass to eliminate cold-start effects.

Write performance

Scenarios use a 10-second or 60-second collection interval with 1 or 10 concurrent metrics, all with 4 tag keys × 2,500 tag values.

TSDB write results

ScenarioInterval (s)MetricsTPSAvg RT (ms)Min RTMax RT80th percentile RT95th percentile RT99th percentile RT
11014,194.23149.9136.91,808.0210.42239.11250.38
210104,223.09148.437.2474.22209.74238.32248.52
36014,225.24150.3737.09645.57211.22239.01249.88
460104,227.01148.6137.4888.72209.93238.68249.38

OpenTSDB write results

ScenarioInterval (s)MetricsTPSAvg RT (ms)Min RTMax RT80th percentile RT95th percentile RT99th percentile RT
11011,008.12832.6847.191,310.561,158.441,255.661,283.67
210101,094.4770.8243.641,469.041,078.781,238.061,281.69
3601804.821,047.59132.181,297.711,188.121,269.821,281.32
460101,039.72807.2944.431,421.031,110.461,242.021,281.76

Query performance

Each scenario queries 1 metric over a 5-minute or 3-hour time range with 1 to 1,000 tag pairs. Scenarios 5–8 query the full dataset over a 3-hour window.

TSDB query results

ScenarioTagsTime rangeTPSAvg RT (ms)Min RTMax RT80th percentile RT95th percentile RT99th percentile RT
115 min3,831.844.1436.94416.9844.5146.7375.5
2105 min1,148.22657.77105.961,054.96715.5745.87796.8
31005 min215.963,522.96557.814,067.143,679.53,786.293,854.57
41,0005 min39.3719,692.531,784.9322,370.1---
513 hours2,856.1262.7641.29847.01296.99443.52489.4
6103 hours446.541,684.1567.752,161.851,802.81,898.01,959.02
71003 hours69.2511,237.91,873.5512,776.5611,917.0512,133.6112,316.79
81,0003 hours11.7665,615.455,742.1286,952.76---

OpenTSDB query results

ScenarioTagsTime rangeTPSAvg RT (ms)Min RTMax RT
115 min1.9777,842.6710,486.16109,650.51
2105 min1.9578,062.612,723.96119,911.53
31005 min1.9678,865.0215,942.89141,365.75
41,0005 min1.9777,331.917,780.02113,582.65
513 hoursN/AN/AN/AN/A
6103 hoursN/AN/AN/AN/A
71003 hoursN/AN/AN/AN/A
81,0003 hoursN/AN/AN/AN/A
Note: OpenTSDB became unavailable in scenarios 5–8. Reducing query concurrency from 5,000 to 500, 50, 5, or 1 did not restore availability. N/A indicates the service was unavailable.