{"id":433,"date":"2024-11-26T16:39:07","date_gmt":"2024-11-26T15:39:07","guid":{"rendered":"https:\/\/www.systemdeveloper.nl\/tech\/?p=433"},"modified":"2024-11-26T17:33:20","modified_gmt":"2024-11-26T16:33:20","slug":"the-hidden-costs-of-ignoring-database-compression","status":"publish","type":"post","link":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/","title":{"rendered":"The Hidden Costs of Ignoring Database Compression"},"content":{"rendered":"<ol class=\"wp-block-list wp-block-list\"><\/ol>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">When optimizing databases, many focus on indexing, query optimization, and scaling infrastructure. While these are essential, one often-overlooked factor can silently drain resources and increase costs: compression&mdash;or the lack of it.<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">For databases like InfluxDB, which handle time-series data or datasets with repetitive patterns, ignoring compression can lead to bloated storage, degraded performance, and unnecessary expenses. Let&rsquo;s explore why compression is crucial and how to implement it effectively.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<h4 class=\"wp-block-heading\" id=\"why-compression-matters\"><strong>Why Compression Matters<\/strong><\/h4>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">Time-series databases, like InfluxDB, collect data at high frequencies, often resulting in billions of records over time. Without compression:<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>\n<strong>Storage Costs Skyrocket:<\/strong>&nbsp;<br>Uncompressed data consumes more disk space, increasing costs for storage, backups, and replication.<\/li>\n\n\n\n<li>\n<strong>Decreased Performance:<\/strong>&nbsp;<br>Larger datasets slow down queries, making dashboards and analytics sluggish.<\/li>\n\n\n\n<li>\n<strong>Longer Backup Times:<\/strong>&nbsp;<br>Backing up uncompressed data can strain both network and disk resources.<\/li>\n\n\n\n<li>\n<strong>Environmental Impact:<\/strong>&nbsp;<br>More storage and compute resources equal higher energy consumption, which is bad for the environment&mdash;and your budget.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<h4 class=\"wp-block-heading\" id=\"how-influxdb-handles-compression\"><strong>How InfluxDB Handles Compression<\/strong><\/h4>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">InfluxDB uses&nbsp;<strong>TSM (Time-Structured Merge)<\/strong>&nbsp;files to store data efficiently. By default, it employs compression techniques tailored to time-series data:<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>\n<strong>Run-Length Encoding (RLE):<\/strong>&nbsp;<br>Groups consecutive identical values.<\/li>\n\n\n\n<li>\n<strong>Delta Encoding:<\/strong>&nbsp;<br>Stores only the difference between consecutive points.<\/li>\n\n\n\n<li>\n<strong>Gorilla Encoding:<\/strong>&nbsp;<br>Optimized bit-packing for float data.<\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">However, understanding and fine-tuning these mechanisms can unlock even greater efficiency.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<h4 class=\"wp-block-heading\" id=\"tips-for-optimizing-compression-in-influxdb\"><strong>Tips for Optimizing Compression in InfluxDB<\/strong><\/h4>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Downsampling Data<\/strong>&nbsp;<br>Not all data needs to be stored at high granularity forever. Use continuous queries to downsample older data:<\/p>\n\n\n<pre class=\"wp-block-code\"><div class=\"copy-to-clipboard\">\n<span>Copied!<\/span><button class=\"click-to-copy-button\" title=\"Copy to clipboard\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"24\" height=\"24\" fill=\"none\">\n  <path d=\"M12.9975 10.7499L11.7475 10.7499C10.6429 10.7499 9.74747 11.6453 9.74747 12.7499L9.74747 21.2499C9.74747 22.3544 10.6429 23.2499 11.7475 23.2499L20.2475 23.2499C21.352 23.2499 22.2475 22.3544 22.2475 21.2499L22.2475 12.7499C22.2475 11.6453 21.352 10.7499 20.2475 10.7499L18.9975 10.7499Z\"><\/path>\n  <path d=\"M17.9975 12.2499L13.9975 12.2499C13.4452 12.2499 12.9975 11.8022 12.9975 11.2499L12.9975 9.74988C12.9975 9.19759 13.4452 8.74988 13.9975 8.74988L17.9975 8.74988C18.5498 8.74988 18.9975 9.19759 18.9975 9.74988L18.9975 11.2499C18.9975 11.8022 18.5498 12.2499 17.9975 12.2499Z\"><\/path>\n  <path d=\"M13.7475 16.2499L18.2475 16.2499\"><\/path>\n  <path d=\"M13.7475 19.2499L18.2475 19.2499\"><\/path>\n<\/svg><\/button><textarea>CREATE CONTINUOUS QUERY cq_downsample ON mydb\nBEGIN\n    SELECT mean(value) AS avg_value INTO mydb.rp_downsampled.measurement\n    FROM mydb.autogen.measurement\n    GROUP BY time(1h)\nEND<\/textarea>\n<\/div><code>CREATE CONTINUOUS QUERY cq_downsample ON mydb\nBEGIN\n    SELECT mean(value) AS avg_value INTO mydb.rp_downsampled.measurement\n    FROM mydb.autogen.measurement\n    GROUP BY time(1h)\nEND<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">This reduces the volume of data stored without losing long-term insights.<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Enable Data Retention Policies<\/strong>&nbsp;<br>Retention policies automatically delete old, unused data, saving storage:<\/p>\n\n\n<pre class=\"wp-block-code\"><div class=\"copy-to-clipboard\">\n<span>Copied!<\/span><button class=\"click-to-copy-button\" title=\"Copy to clipboard\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"24\" height=\"24\" fill=\"none\">\n  <path d=\"M12.9975 10.7499L11.7475 10.7499C10.6429 10.7499 9.74747 11.6453 9.74747 12.7499L9.74747 21.2499C9.74747 22.3544 10.6429 23.2499 11.7475 23.2499L20.2475 23.2499C21.352 23.2499 22.2475 22.3544 22.2475 21.2499L22.2475 12.7499C22.2475 11.6453 21.352 10.7499 20.2475 10.7499L18.9975 10.7499Z\"><\/path>\n  <path d=\"M17.9975 12.2499L13.9975 12.2499C13.4452 12.2499 12.9975 11.8022 12.9975 11.2499L12.9975 9.74988C12.9975 9.19759 13.4452 8.74988 13.9975 8.74988L17.9975 8.74988C18.5498 8.74988 18.9975 9.19759 18.9975 9.74988L18.9975 11.2499C18.9975 11.8022 18.5498 12.2499 17.9975 12.2499Z\"><\/path>\n  <path d=\"M13.7475 16.2499L18.2475 16.2499\"><\/path>\n  <path d=\"M13.7475 19.2499L18.2475 19.2499\"><\/path>\n<\/svg><\/button><textarea>CREATE RETENTION POLICY rp_30d ON mydb DURATION 30d REPLICATION 1 DEFAULT;<\/textarea>\n<\/div><code>CREATE RETENTION POLICY rp_30d ON mydb DURATION 30d REPLICATION 1 DEFAULT;<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Optimize Shard Duration<\/strong>&nbsp;<br>The shard duration determines how data is segmented. Smaller shards can reduce query overhead, while larger shards optimize compression:<\/p>\n\n\n<pre class=\"wp-block-code\"><div class=\"copy-to-clipboard\">\n<span>Copied!<\/span><button class=\"click-to-copy-button\" title=\"Copy to clipboard\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"24\" height=\"24\" fill=\"none\">\n  <path d=\"M12.9975 10.7499L11.7475 10.7499C10.6429 10.7499 9.74747 11.6453 9.74747 12.7499L9.74747 21.2499C9.74747 22.3544 10.6429 23.2499 11.7475 23.2499L20.2475 23.2499C21.352 23.2499 22.2475 22.3544 22.2475 21.2499L22.2475 12.7499C22.2475 11.6453 21.352 10.7499 20.2475 10.7499L18.9975 10.7499Z\"><\/path>\n  <path d=\"M17.9975 12.2499L13.9975 12.2499C13.4452 12.2499 12.9975 11.8022 12.9975 11.2499L12.9975 9.74988C12.9975 9.19759 13.4452 8.74988 13.9975 8.74988L17.9975 8.74988C18.5498 8.74988 18.9975 9.19759 18.9975 9.74988L18.9975 11.2499C18.9975 11.8022 18.5498 12.2499 17.9975 12.2499Z\"><\/path>\n  <path d=\"M13.7475 16.2499L18.2475 16.2499\"><\/path>\n  <path d=\"M13.7475 19.2499L18.2475 19.2499\"><\/path>\n<\/svg><\/button><textarea>ALTER RETENTION POLICY rp_30d ON mydb DURATION 30d SHARD DURATION 7d;<\/textarea>\n<\/div><code>ALTER RETENTION POLICY rp_30d ON mydb DURATION 30d SHARD DURATION 7d;<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Identify and Handle Sparse Data<\/strong>&nbsp;<br>Sparse datasets&mdash;where many fields have null values&mdash;waste space. Restructure your schema to minimize unused fields or use tags instead of fields where appropriate.<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Reduce Tag Cardinality<\/strong>&nbsp;<br>High cardinality (many unique tag values) can bloat metadata indexes. Use normalized tags and avoid unnecessary values like timestamps in tags.<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Monitor Compression Ratios<\/strong>&nbsp;<br>Use the&nbsp;<code>influx_inspect<\/code>&nbsp;tool to check your current compression ratios and identify opportunities for improvement:<\/p>\n\n\n<pre class=\"wp-block-code\"><div class=\"copy-to-clipboard\">\n<span>Copied!<\/span><button class=\"click-to-copy-button\" title=\"Copy to clipboard\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"24\" height=\"24\" fill=\"none\">\n  <path d=\"M12.9975 10.7499L11.7475 10.7499C10.6429 10.7499 9.74747 11.6453 9.74747 12.7499L9.74747 21.2499C9.74747 22.3544 10.6429 23.2499 11.7475 23.2499L20.2475 23.2499C21.352 23.2499 22.2475 22.3544 22.2475 21.2499L22.2475 12.7499C22.2475 11.6453 21.352 10.7499 20.2475 10.7499L18.9975 10.7499Z\"><\/path>\n  <path d=\"M17.9975 12.2499L13.9975 12.2499C13.4452 12.2499 12.9975 11.8022 12.9975 11.2499L12.9975 9.74988C12.9975 9.19759 13.4452 8.74988 13.9975 8.74988L17.9975 8.74988C18.5498 8.74988 18.9975 9.19759 18.9975 9.74988L18.9975 11.2499C18.9975 11.8022 18.5498 12.2499 17.9975 12.2499Z\"><\/path>\n  <path d=\"M13.7475 16.2499L18.2475 16.2499\"><\/path>\n  <path d=\"M13.7475 19.2499L18.2475 19.2499\"><\/path>\n<\/svg><\/button><textarea>influx_inspect report -detailed \/var\/lib\/influxdb\/data<\/textarea>\n<\/div><code>influx_inspect report -detailed \/var\/lib\/influxdb\/data<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><strong>Upgrade to InfluxDB Enterprise or Cloud<\/strong>&nbsp;<br>If you&rsquo;re running an older version of InfluxDB, consider upgrading. Newer versions often include better compression algorithms and optimizations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<h4 class=\"wp-block-heading\" id=\"the-results-of-proper-compression\"><strong>The Results of Proper Compression<\/strong><\/h4>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">After implementing compression strategies, you can expect:<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>\n<strong>Storage Savings:<\/strong>&nbsp;<br>Compression can reduce disk usage by up to 90% for repetitive datasets.<\/li>\n\n\n\n<li>\n<strong>Faster Queries:<\/strong>&nbsp;<br>Smaller data footprints mean faster scan times and lower latency.<\/li>\n\n\n\n<li>\n<strong>Cost Efficiency:<\/strong>&nbsp;<br>Less storage means reduced costs for infrastructure and backups.<\/li>\n\n\n\n<li>\n<strong>Improved Scalability:<\/strong>&nbsp;<br>Efficient data handling allows you to scale without overhauling your hardware.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">Ignoring database compression isn&rsquo;t just a missed opportunity&mdash;it&rsquo;s a costly mistake. With simple tweaks and a better understanding of your database&rsquo;s compression capabilities, you can save storage, boost performance, and cut costs.<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">Ready to optimize your database and infrastructure? <\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\">What are you waiting for? Compress your way to success!<\/p>\n\n\n<p class=\"wp-block-paragraph wp-block-paragraph\" style=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When optimizing databases, many focus on indexing, query optimization, and scaling infrastructure. While these are essential, one often-overlooked factor can silently drain resources and increase costs: compression&mdash;or the lack of it. For databases like InfluxDB, which handle time-series data or datasets with repetitive patterns, ignoring compression can lead to bloated storage, degraded performance, and unnecessary &hellip;<\/p>\n","protected":false},"author":1,"featured_media":434,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL\" \/>\n<meta property=\"og:description\" content=\"When optimizing databases, many focus on indexing, query optimization, and scaling infrastructure. While these are essential, one often-overlooked factor can silently drain resources and increase costs: compression&mdash;or the lack of it. For databases like InfluxDB, which handle time-series data or datasets with repetitive patterns, ignoring compression can lead to bloated storage, degraded performance, and unnecessary &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/\" \/>\n<meta property=\"og:site_name\" content=\"SystemDeveloper.NL\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/quan.tora.16\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-26T15:39:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T16:33:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"John Timmer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Timmer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/\"},\"author\":{\"name\":\"John Timmer\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#\\\/schema\\\/person\\\/5760c2ed5300c56d8ef01dfb00a9763b\"},\"headline\":\"The Hidden Costs of Ignoring Database Compression\",\"datePublished\":\"2024-11-26T15:39:07+00:00\",\"dateModified\":\"2024-11-26T16:33:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/\"},\"wordCount\":524,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp\",\"articleSection\":[\"Database\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/\",\"name\":\"The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp\",\"datePublished\":\"2024-11-26T15:39:07+00:00\",\"dateModified\":\"2024-11-26T16:33:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp\",\"contentUrl\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp\",\"width\":1024,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/the-hidden-costs-of-ignoring-database-compression\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Hidden Costs of Ignoring Database Compression\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#website\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/\",\"name\":\"www.systemdeveloper.nl\",\"description\":\"NextGen IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#organization\",\"name\":\"www.systemdeveloper.nl\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/qt-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/qt-logo.png\",\"width\":1346,\"height\":1230,\"caption\":\"www.systemdeveloper.nl\"},\"image\":{\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/quan.tora.16\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/#\\\/schema\\\/person\\\/5760c2ed5300c56d8ef01dfb00a9763b\",\"name\":\"John Timmer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg\",\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg\",\"caption\":\"John Timmer\"},\"sameAs\":[\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\"],\"url\":\"https:\\\/\\\/www.systemdeveloper.nl\\\/tech\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/","og_locale":"en_US","og_type":"article","og_title":"The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL","og_description":"When optimizing databases, many focus on indexing, query optimization, and scaling infrastructure. While these are essential, one often-overlooked factor can silently drain resources and increase costs: compression&mdash;or the lack of it. For databases like InfluxDB, which handle time-series data or datasets with repetitive patterns, ignoring compression can lead to bloated storage, degraded performance, and unnecessary &hellip;","og_url":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/","og_site_name":"SystemDeveloper.NL","article_publisher":"https:\/\/www.facebook.com\/quan.tora.16","article_published_time":"2024-11-26T15:39:07+00:00","article_modified_time":"2024-11-26T16:33:20+00:00","og_image":[{"width":1024,"height":768,"url":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp","type":"image\/webp"}],"author":"John Timmer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Timmer","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#article","isPartOf":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/"},"author":{"name":"John Timmer","@id":"https:\/\/www.systemdeveloper.nl\/tech\/#\/schema\/person\/5760c2ed5300c56d8ef01dfb00a9763b"},"headline":"The Hidden Costs of Ignoring Database Compression","datePublished":"2024-11-26T15:39:07+00:00","dateModified":"2024-11-26T16:33:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/"},"wordCount":524,"commentCount":0,"publisher":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/#organization"},"image":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp","articleSection":["Database"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/","url":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/","name":"The Hidden Costs of Ignoring Database Compression - SystemDeveloper.NL","isPartOf":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#primaryimage"},"image":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp","datePublished":"2024-11-26T15:39:07+00:00","dateModified":"2024-11-26T16:33:20+00:00","breadcrumb":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#primaryimage","url":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp","contentUrl":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/e3f4eb43-0a60-4347-b5f4-e82cd20bcbbb-e1732635539343.webp","width":1024,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/www.systemdeveloper.nl\/tech\/the-hidden-costs-of-ignoring-database-compression\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.systemdeveloper.nl\/tech\/"},{"@type":"ListItem","position":2,"name":"The Hidden Costs of Ignoring Database Compression"}]},{"@type":"WebSite","@id":"https:\/\/www.systemdeveloper.nl\/tech\/#website","url":"https:\/\/www.systemdeveloper.nl\/tech\/","name":"www.systemdeveloper.nl","description":"NextGen IT","publisher":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.systemdeveloper.nl\/tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/www.systemdeveloper.nl\/tech\/#organization","name":"www.systemdeveloper.nl","url":"https:\/\/www.systemdeveloper.nl\/tech\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.systemdeveloper.nl\/tech\/#\/schema\/logo\/image\/","url":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/qt-logo.png","contentUrl":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/qt-logo.png","width":1346,"height":1230,"caption":"www.systemdeveloper.nl"},"image":{"@id":"https:\/\/www.systemdeveloper.nl\/tech\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/quan.tora.16"]},{"@type":"Person","@id":"https:\/\/www.systemdeveloper.nl\/tech\/#\/schema\/person\/5760c2ed5300c56d8ef01dfb00a9763b","name":"John Timmer","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg","url":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg","contentUrl":"https:\/\/www.systemdeveloper.nl\/tech\/wp-content\/uploads\/2024\/11\/cropped-D6E27035-6864-4270-8D72-0D8C0C59F370-96x96.jpeg","caption":"John Timmer"},"sameAs":["https:\/\/www.systemdeveloper.nl\/tech"],"url":"https:\/\/www.systemdeveloper.nl\/tech\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":3,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":438,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/posts\/433\/revisions\/438"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/media\/434"}],"wp:attachment":[{"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.systemdeveloper.nl\/tech\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}