{"id":14101,"date":"2024-07-03T15:05:00","date_gmt":"2024-07-03T22:05:00","guid":{"rendered":"https:\/\/tdengine.com\/?p=14101"},"modified":"2025-11-03T08:03:59","modified_gmt":"2025-11-03T16:03:59","slug":"iot-performance-comparison-influxdb-and-timescaledb-vs-tdengine","status":"publish","type":"post","link":"https:\/\/tdengine.com\/iot-performance-comparison-influxdb-and-timescaledb-vs-tdengine\/","title":{"rendered":"IoT Performance Comparison: InfluxDB and TimescaleDB vs. TDengine"},"content":{"rendered":"\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 &#8211; InfluxDB and TimescaleDB &#8211; in an IoT scenario.<\/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 TDengine achieves the fastest ingestion speeds across all TSBS scenarios, ranging from 1.04 to 16 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.111-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.111-01-ingestion.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-01-ingestion.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-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 even reaches 100% during the ingestion process, while TDengine remains under 17%. 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.111-02-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.111-02-cpu.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-cpu.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-02-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.111-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.111-03-query-1.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-03-query-1.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-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.03 to 80.5 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 87.1 times the performance of TimescaleDB in the <em>long-daily-sessions<\/em> scenario and 132 times the performance of InfluxDB in the <em>stationary-trucks<\/em> scenario. 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.111-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.111-04-query-2.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-04-query-2.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-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<h3 class=\"gb-headline gb-headline-6e38c77c gb-headline-text\">Disk Storage<\/h3>\n\n\n\n<p>In smaller-scale scenarios, all three database products 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 half the storage resources that InfluxDB requires<\/em>.<\/p>\n\n\n\n<p>TimescaleDB had a significantly higher disk footprint in the two largest scenarios. The clearest example was in the ten million device scenario, where <em>data processed by TimescaleDB occupied more than 12 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.111-05-disk.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.111-05-disk.png?strip=all&sharp=1\" alt=\"\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk.png?strip=all&amp;sharp=1 984w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk-300x198.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk-768x506.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk.png?strip=all&amp;sharp=1&amp;w=196 196w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk.png?strip=all&amp;sharp=1&amp;w=393 393w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk.png?strip=all&amp;sharp=1&amp;w=590 590w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/22.111-05-disk.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 12 times less disk space than TimescaleDB and 2.8 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.04 to 3.3 times faster than TimescaleDB, and 1.8 to 16 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 up to 12 times less disk space than TimescaleDB, and 2.8 times less than InfluxDB.<\/li>\n\n\n\n<li>Queries: TDengine has the fastest query response time across all scenarios. For this use case, TDengine responds up to 13.6 times faster than TimescaleDB and up to 426 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, 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","protected":false},"excerpt":{"rendered":"<p>TSBS IoT test results show that TDengine offers significant advantages over InfluxDB and TimescaleDB in data ingestion, compression, and query performance.<\/p>\n","protected":false},"author":81,"featured_media":14115,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[265],"tags":[],"ppma_author":[167],"class_list":["post-14101","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\/14101","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=14101"}],"version-history":[{"count":23,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts\/14101\/revisions"}],"predecessor-version":[{"id":29443,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/posts\/14101\/revisions\/29443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/media\/14115"}],"wp:attachment":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/media?parent=14101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/categories?post=14101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/tags?post=14101"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/ppma_author?post=14101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}