{"id":11485,"date":"2023-02-20T16:58:39","date_gmt":"2023-02-21T00:58:39","guid":{"rendered":"https:\/\/tdengine.com\/?p=11485"},"modified":"2025-11-03T08:16:37","modified_gmt":"2025-11-03T16:16:37","slug":"devops-performance-comparison-influxdb-and-timescaledb-vs-tdengine","status":"publish","type":"post","link":"https:\/\/tdengine.com\/devops-performance-comparison-influxdb-and-timescaledb-vs-tdengine\/","title":{"rendered":"DevOps Performance Comparison: InfluxDB and TimescaleDB vs. TDengine"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>An in-depth look at the performance of key time-series databases<\/em><\/p>\n\n\n\n<p><em>For a quick overview, see <a href=\"https:\/\/content.tdengine.com\/hubfs\/Downloads\/TSBS%20DevOps%20Performance%20Infographic.pdf\">our infographic<\/a> or watch a <a href=\"#video\">video<\/a><\/em><\/p>\n<\/blockquote>\n\n\n\n<p>The sheer volume and complex nature of time-series data has given rise to the purpose-built <a href=\"https:\/\/tdengine.com\/what-is-a-time-series-database\/\">time series database<\/a> (TSDB). While performance is crucial for all databases, the scale and complexity of time-series data makes performance, precision, and scalability especially important.<\/p>\n\n\n\n<p>The performance of your TSDB doesn\u2019t just impact your ability to ingest, store, and analyze large amounts of data; it directly affects your <a href=\"https:\/\/tdengine.com\/reduce-tco\/\">total cost of ownership<\/a> (TCO). Better ingestion rates, query response times and compression ratios mean your system consumes fewer resources to process the same amount of data. To demonstrate TDengine&#8217;s <a href=\"https:\/\/tdengine.com\/high-performance\/\">robust performance<\/a>, we evaluated the platform against two key players in this space: InfluxDB and TimescaleDB.<\/p>\n\n\n\n<p>The findings clearly show that <em>TDengine offers significant advantages over both InfluxDB and TimescaleDB<\/em> in terms of data ingestion, compression, and query performance. In addition, TDengine uses fewer server-side CPU resources than either competing time series DB to process identical datasets.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-980cbcc1 gb-headline-text\">Objective Evaluation via the Time Series Benchmark Suite<\/h2>\n\n\n\n<p>To ensure an even playing field, we used the open source Time Series Benchmark Suite (TSBS) framework and ran the tests on identical systems in AWS. TSBS is designed for objective database evaluations and generates datasets for a range of recommended ingestion and query scenarios. TSBS is used by other database providers, including VictoriaMetrics and Timescale, to perform evaluations similar to the one described here.<\/p>\n\n\n\n<p>TSBS is an open and independent framework, meaning the test procedures and datasets generated aren&#8217;t designed to benefit any database platform, and allows anyone to conduct an objective evaluation.<\/p>\n\n\n\n<p>This evaluation applied the TSBS DevOps dataset, which includes small and large-scale scenarios, each with ten metrics, ten tags, and a microsecond-precision timestamp. For detailed information, see the official <a href=\"https:\/\/github.com\/timescale\/tsbs\" rel=\"noopener\">TSBS repository in GitHub<\/a>.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-04fde1d2 gb-headline-text\">Performance Comparison<\/h2>\n\n\n\n<h3 class=\"gb-headline gb-headline-c6e9a99a gb-headline-text\">Ingestion Performance<\/h3>\n\n\n\n<p>Time series databases need to ingest massive amounts of data, and <em>TDengine achieves the fastest ingestion speeds across all TSBS scenarios<\/em>, ranging from 1.5 to 10.6 times the speed of the other products.<\/p>\n\n\n\n<figure class=\"gb-block-image gb-block-image-a8cb3fc9\"><a href=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&sharp=1&w=2560\"><img decoding=\"async\" width=\"984\" height=\"648\" class=\"gb-image gb-image-a8cb3fc9\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-01-ingestion.png?strip=all&amp;sharp=1&amp;w=450 450w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a>\n<figcaption class=\"gb-headline gb-headline-282541b5 gb-headline-text\">TDengine ingests data significantly faster than TimescaleDB or InfluxDB<\/figcaption>\n<\/figure>\n\n\n\n<h3 class=\"gb-headline gb-headline-8a54a431 gb-headline-text\">Resource Consumption<\/h3>\n\n\n\n<p>In addition, <em>TDengine uses less processing power than InfluxDB or TimescaleDB<\/em> to ingest the datasets. At its peak, InfluxDB&#8217;s CPU usage exceeds 90% during the ingestion process, while TDengine remains under 15%. Although TimescaleDB used a similar amount of CPU resources to TDengine, it spent far more time to compress and order the data after writing it to the database.<\/p>\n\n\n\n<figure class=\"gb-block-image gb-block-image-6b20cd30\"><a href=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&sharp=1&w=2560\"><img decoding=\"async\" width=\"984\" height=\"648\" class=\"gb-image gb-image-6b20cd30\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-02-server-cpu.png?strip=all&amp;sharp=1&amp;w=450 450w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a>\n<figcaption class=\"gb-headline gb-headline-59419e0e gb-headline-text\">TDengine has low CPU usage, while InfluxDB demands significant processing resources<\/figcaption>\n<\/figure>\n\n\n\n<h3 class=\"gb-headline gb-headline-03351178 gb-headline-text\">Query Performance<\/h3>\n\n\n\n<p>As performance can differ based on a number of factors, the TSBS framework covers a wide range of query types. <em>TDengine provided the fastest query response across all scenarios<\/em>, confirming that organizations dependent on real-time analytics are best served with this purpose-built platform.<\/p>\n\n\n\n<figure class=\"gb-block-image gb-block-image-f4079381\"><a href=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&sharp=1&w=2560\"><img decoding=\"async\" width=\"984\" height=\"648\" class=\"gb-image gb-image-f4079381\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-03-query-1.png?strip=all&amp;sharp=1&amp;w=450 450w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a>\n<figcaption class=\"gb-headline gb-headline-ff698dad gb-headline-text\">For simpler queries, TDengine&#8217;s response time was 1.9 to 12.1 times faster than InfluxDB and TimescaleDB<\/figcaption>\n<\/figure>\n\n\n\n<p>More complex queries allowed TDengine to show off its processing power, reaching 24.3 times the performance of TimescaleDB and 34.3 times the performance of InfluxDB in the most challenging scenario: <em>double-groupby-all<\/em>. This demonstrates that TDengine is best prepared to handle the most performance-intensive queries without slowing down.&nbsp;<\/p>\n\n\n\n<figure class=\"gb-block-image gb-block-image-e3087d36\"><a href=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&sharp=1&w=2560\"><img decoding=\"async\" width=\"984\" height=\"648\" class=\"gb-image gb-image-e3087d36\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-04-query-2.png?strip=all&amp;sharp=1&amp;w=450 450w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a>\n<figcaption class=\"gb-headline gb-headline-10e90c68 gb-headline-text\">TDengine processes queries significantly faster than InfluxDB or TimescaleDB, especially for complex scenarios<\/figcaption>\n<\/figure>\n\n\n\n<p>The performance of TDengine in the other TSBS query categories was as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Aggregates: Up to 6.9x faster than InfluxDB and 6.1x faster than TimescaleDB<\/li>\n\n\n\n<li>Thresholds: Up to 15.1x faster than InfluxDB and 1.9x faster than TimescaleDB<\/li>\n\n\n\n<li>Complex queries: Up to 21.1x faster than InfluxDB and 8.4x faster than TimescaleDB<\/li>\n<\/ul>\n\n\n\n<h3 class=\"gb-headline gb-headline-6e38c77c gb-headline-text\">Disk Storage<\/h3>\n\n\n\n<p>In smaller-scale scenarios, TDengine and InfluxDB took up a similar amount of disk space. When the datasets increased to one million or ten million devices, however, the benefits of TDengine&#8217;s storage design and architecture came into play; for large-scale datasets, <em>TDengine uses less than one-fourth the storage resources that InfluxDB requires<\/em>.<\/p>\n\n\n\n<p>TimescaleDB on the other hand, had a significantly higher disk footprint across all scenarios. The clearest example was in the ten million device scenario, where <em>data processed by TimescaleDB occupied more than 26 times the disk space used by TDengine<\/em>.<\/p>\n\n\n\n<figure class=\"gb-block-image gb-block-image-19586109\"><a href=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&sharp=1&w=2560\"><img decoding=\"async\" width=\"984\" height=\"648\" class=\"gb-image gb-image-19586109\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.093-05-disk-usage.png?strip=all&amp;sharp=1&amp;w=450 450w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a>\n<figcaption class=\"gb-headline gb-headline-a12e55c3 gb-headline-text\">When processing data from 10 million devices, TDengine consumes 26.9 times less disk space than TimescaleDB and 4.6 times less than InfluxDB<\/figcaption>\n<\/figure>\n\n\n\n<h2 class=\"gb-headline gb-headline-df8d1f19 gb-headline-text\">Conclusion<\/h2>\n\n\n\n<p><em>Across all key test metrics for ingestion, compression, and querying, TDengine clearly emerges as the highest-performing time series database<\/em>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ingestion: TDengine writes the test data between 1.5 to 6.7 times faster than TimescaleDB, and 3.0 to 10.6 times faster than InfluxDB, with significantly lower CPU overhead.<\/li>\n\n\n\n<li>Compression: Due to its efficient data storage and compression features, TDengine consumes 26.9 times less disk space than TimescaleDB, and 4.5 times less than InfluxDB.<\/li>\n\n\n\n<li>Queries: TDengine has the fastest query response time across all scenarios. For the most complex query type, TDengine responds 28.6 times faster than TimescaleDB and a whopping 37.0 times faster than InfluxDB.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"gb-headline gb-headline-0e098625 gb-headline-text\">Purpose-Built Design<\/h3>\n\n\n\n<p>Unlike all-purpose databases like MySQL or PostgreSQL (which is used by TimescaleDB), TDengine was designed from the ground up to simplify and scale time series data management. The platform\u2019s innovative storage engine makes full use of the unique <a href=\"https:\/\/tdengine.com\/characteristics-of-time-series-data\/\">characteristics of time series data<\/a>, with novel concepts like a single table for each data collection point, which enables better ingestion, and data compression, and <a href=\"https:\/\/tdengine.com\/supertable\/\">supertables<\/a>, which speed up aggregation operations.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-b68b12ab gb-headline-text\">Best in Class TSDB<\/h3>\n\n\n\n<p>The performance advantages shown by this evaluation indicate that TDengine excels at time-series data processing, especially with larger datasets and more complex queries. TDengine also requires fewer resources, significantly reducing the TCO of data operations. <em>These advantages, combined with its <\/em><a href=\"https:\/\/tdengine.com\/comprehensive-solution\/\"><em>comprehensive feature set<\/em><\/a><em> and ease of use, make TDengine the best option for growing enterprises to scale their data pipelines.<\/em><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-3a77a72d gb-headline-text\" id=\"video\">Video<\/h2>\n\n\n<div class=\"gb-container gb-container-dba01212\">\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Time Series Database Performance Comparison Overview\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/_HYPJIGKEhE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>TSBS DevOps test results show that TDengine outperforms InfluxDB and TimescaleDB in data ingestion, compression, and query performance.<\/p>\n","protected":false},"author":81,"featured_media":12519,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[265],"tags":[],"ppma_author":[167],"class_list":["post-11485","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-influxdb"],"authors":[{"term_id":167,"user_id":81,"is_guest":0,"slug":"chait","display_name":"Chait Diwadkar","avatar_url":{"url":"https:\/\/tdengine.com\/wp-content\/uploads\/29.03-05-cdiwadkar.jpg","url2x":"https:\/\/tdengine.com\/wp-content\/uploads\/29.03-05-cdiwadkar.jpg"},"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts\/11485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/comments?post=11485"}],"version-history":[{"count":19,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts\/11485\/revisions"}],"predecessor-version":[{"id":29469,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts\/11485\/revisions\/29469"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/media\/12519"}],"wp:attachment":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/media?parent=11485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/categories?post=11485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/tags?post=11485"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/ppma_author?post=11485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}