Full Author List
Alexey Temnikov, VP of Consulting at Improving
Daniel Frankcom, Senior Consultant at Improving
Karen Chen, Principal Consultant at Improving
Victor Tsang, Senior Consultant at Improving
This study was commissioned by Amazon Web Services (AWS). AWS chose the systems compared, reviewed the results, and built the cost model, including the engineer-hour estimates in it. ClickHouse was tested as open-source version 26.10.5.57 on 3 × r8g.4xlarge Amazon EC2 instances; Amazon OpenSearch Service was tested as OpenSearch 3.9.0 with the columnar engine on 3 × or2.4xlarge.search data nodes and 3 × m7g.large.search cluster manager nodes, with pricing as of November 26, 2026. Results reflect the tested configurations and dataset and may differ for other workloads.
When production breaks, the on-call engineer does two jobs back to back. First comes the search: an error message, a fragment of an ID, the trace of one failed request. Then comes the counting: how many customers were affected, which service slowed down, whether the fix held. For years those jobs belonged to different kinds of systems. Search engines grew up finding the needle; columnar databases grew up aggregating the haystack.
That line has blurred from both sides. ClickHouse, a columnar database, made its full-text text index generally available in version 26.2 in 2026. Amazon OpenSearch Service, which started as a search engine, launched a columnar engine in July 2026 that stores logs and traces as columns with a search index alongside them. Since then the engine has added OpenTelemetry trace support, distributed joins, and publishing of older data to Amazon S3 Tables as Apache Iceberg tables.
So we asked how close the two now are. On 20 queries we selected to represent an on-call engineer's day, run against 1 billion logs and 1 billion spans, all 20 together took 4.27 seconds on OpenSearch Service and 2.88 seconds on ClickHouse. ClickHouse was faster on 16 of them, by a median of 2.1 times. OpenSearch Service was faster on two, a case-insensitive substring search and an error-rate breakdown by service version, and the remaining two were within the run's noise. On OpenSearch Service, 16 of the 20 came back in under 200 ms and 18 in under 0.6 seconds.
Performance is one of three things teams weigh when they choose a system for logs and traces. We also priced a production deployment at 10 TB a day and counted the engineering work each system leaves to the team.
Three dimensions at a glance

Performance. ClickHouse leads: the 20-query day took 1.48 times as long on OpenSearch Service. The container-log benchmark, whose query shapes come from a third party, shows a similar gap at 1.61 times.
Total cost of ownership. At 10 TB a day, infrastructure costs about the same on both, slightly less on ClickHouse. The difference is engineer time. With our estimate of the hours each system needs, self-managed ClickHouse costs 1.27 times as much a month; sized at the low-memory end of ClickHouse's own guidance, self-managed ClickHouse costs 6% less.
Time. On OpenSearch Service, encryption, TLS, access control, durability, monitoring, and tiering are part of the service. On self-managed ClickHouse they are work the team takes on: by our estimate, about 120 hours to reach production against 24, and 75 hours a month against 16 at 10 TB a day.
1. Performance
The two benchmarks
Both systems ran on the same hardware: 16 vCPU and 128 GiB per data node, with identical gp3 volumes, in eu-west-1, measured on November 28, 2026 (UTC). OpenSearch Service also had three dedicated cluster manager nodes.
The OpenTelemetry workload. 20 queries over OpenTelemetry logs and spans in two tables, at 10 million, 100 million, and 1 billion logs, each with as many spans. Improving's harness runs 44 queries on this workload, and the repository's results page reports all of them; this post reports the 20 we selected to represent an on-call day. Over all the queries scored at 1 billion logs, a typical query took 2.31 and 2.40 times as long on OpenSearch Service on the two copies of the setup described below (geometric mean of the per-query ratios). Two of the 44 are left out of that score because OpenSearch Service returned errors or hit the 60-second limit on them at that size. The queries, schemas, and data generators are in our benchmark repository.
The container-log benchmark. 19 queries over one table of container logs, at 1 million, 100 million, and 1 billion rows, each reading the whole data range: lookups by trace ID, span ID, pod, or request ID, the newest matching rows, and counts per hour. The query shapes come from the comparison OpenObserve published with ClickHouse (benchmark repository). OpenObserve competes with ClickHouse; we wrote our own data generator.
A day on call, in 20 queries
The 20 queries follow one engineer through a day in the order they would run them. Four come at the start of the shift, three while a deploy rolls out, eight when an alert fires, two after the fix, and three in the weekly review.

Figure 1. Median query time at 1 billion logs and 1 billion spans, log scale, first copy of the setup. The appendix has every number, including the second copy.
Through the shift, the first 17 questions in figure 1, neither system kept the engineer waiting: both answered each one in under 0.6 seconds. The deploy check went to OpenSearch Service, which broke the error rate down by service version in 68 ms against 112 ms. When the alert fires, the eight-question investigation took 0.57 seconds in total on OpenSearch Service and 0.47 seconds on ClickHouse. ClickHouse answered six of the eight faster, including the three that open the investigation; OpenSearch Service answered the case-insensitive substring search in 73 ms against 215 ms.
The weekly review is where ClickHouse pulled furthest ahead in time. Its three 7-day scans gave ClickHouse its widest margins, 0.25 to 0.43 seconds each, and the slowest of them, a 7-day log volume report, took 1.04 seconds on OpenSearch Service.
Counted query by query, ClickHouse was faster on 16 of the 20, by a median of 2.1 times, though by less than 100 ms on 13 of them. OpenSearch Service was faster beyond the run's noise on two, the error rate by service version and the substring search. Two more had lower medians on OpenSearch Service but fell within the noise on this copy of the setup. They were the phrase search (58 ms against 82 ms) and the 7-day request trend after the fix (544 ms against 588 ms). On the second copy, all four were beyond it.
The container-log benchmark
The second benchmark asks a different kind of question: find the records that match an ID, a pod, or a word anywhere in a large table, the query shapes OpenObserve chose for its comparison with ClickHouse. At 1 billion rows, the 19 queries took 2.31 seconds in total on OpenSearch Service and 1.44 seconds on ClickHouse, 1.61 times as long, and OpenSearch Service answered 15 of the 19 in under 100 ms.

Figure 2. Median query time at 1 billion rows, log scale, sorted by gap (the ratio of the two medians).
ClickHouse was faster on 17 of the 19, OpenSearch Service on one, and one was a tie at 0.2 ms. The ID lookups were close: they took 13 to 22 ms on OpenSearch Service and 8 to 17 ms on ClickHouse. OpenSearch Service was faster at counting rows per hour across the whole range, 228 ms against 410 ms. ClickHouse's largest lead in time came on rows per hour for a common word, 983 ms against 413 ms, and its largest relative lead on the top 10 namespaces by rows, 388 ms against 101 ms.
Does the gap grow with the data?
Teams keep more data every month, so a result at one size matters only if it holds at the next. It held. The 20 OpenTelemetry queries took 1.67, 1.45, and 1.48 times as long in total on OpenSearch Service at 10 million, 100 million, and 1 billion logs (first copy of the setup). The 19 container-log queries took 1.53, 1.75, and 1.61 times as long at 1 million, 100 million, and 1 billion rows. Individual queries moved more than the totals did.
The totals also repeat. At 100 million and 1 billion we ran the OpenTelemetry workload twice, each time on a fresh copy of the setup. The ratio of the 20-query totals differed between the two copies by 2.3% at both sizes. Most of the day doesn't grow with retention either. Thirteen of the 20 queries read a fixed window of 10 minutes to 24 hours, so their work tracks the ingestion rate, which retention doesn't change.
Storage
Disk is the part of the bill that grows every day a team keeps its data. On the container-log benchmark, OpenSearch Service used slightly less: 392 GB against 397 GB at 1 billion rows, and 39.3 GB against 39.8 GB at 100 million. On the OpenTelemetry workload ClickHouse used less: at 1 billion logs and 1 billion spans, 271 to 284 GB on OpenSearch Service against 193 GB on ClickHouse, 1.41 to 1.47 times, and 1.28 to 1.29 times at 100 million. At 1 billion, part of OpenSearch Service's figure was space no live segment used when the run read it, 20.8 GB on the first copy and 33.7 GB on the second; counting live segments only, it used 1.30 times as much on both. Both systems keep columns and search indexes on one copy of the data; ClickHouse's 193 GB includes 75 GB of text indexes. All figures are primary data with no replicas.

Figure 3. Disk used at the largest size, primary data, no replicas.
2. Total cost of ownership
The benchmark hardware answers how fast; a production bill depends on retention, redundancy, and the people who run the system. The cost model prices a deployment at 10 TB of log and trace data a day, kept 7 days hot, 23 days warm, and 90 more days in Amazon S3 Tables. The setup survives the loss of an Availability Zone and keeps a replica of every hot day on both systems. OpenSearch Service runs Multi-AZ without Standby, across three zones, with a 99.9% service level agreement. Self-managed ClickHouse runs two replicas across two zones and a three-node ClickHouse Keeper cluster across three. Prices are us-east-1 On-Demand list prices as of November 26, 2026.
Each system follows its own sizing rule, and ClickHouse's rule moves the result. The model sizes OpenSearch Service for its storage and for peak ingest at 1.5 times the daily average, and ClickHouse at 1:60 memory to storage, the ratio of the logging deployment ClickHouse describes in its sizing guide. Its guide also gives 1:100 to 1:130 for long retention and high volume, which needs less memory. We report the 1:60 case and show the range.

Figure 4. Monthly cost at 10 TB/day relative to OpenSearch Service, at 1:60 sizing for ClickHouse. The appendix lists every line.
Infrastructure is close. At 1:60, it costs $14,976 a month on OpenSearch Service and $13,966 on self-managed ClickHouse. OpenSearch Service spends more on its warm tier and on gp3 storage, which costs more on the service than on EC2. ClickHouse spends more on items the service folds in: replication traffic between Availability Zones, backups in Amazon S3, and an export job that rewrites older data as Parquet. On OpenSearch Service, traffic between nodes, hourly automated snapshots, and publishing to S3 Tables carry no separate charge. At 1:100 and 1:130, ClickHouse's infrastructure falls to $9,838 and $8,462 a month.
Engineer time decides the total. We estimate 75 hours a month to run self-managed ClickHouse at this scale and 16 for OpenSearch Service, priced at $93.27 an hour, a fully loaded cost based on US Bureau of Labor Statistics wage data. The hours cover upgrades and host patching, ClickHouse Keeper, resharding as data grows, TLS and key rotation, access control for each tenant, backups and restore drills, monitoring, and the export to S3 Tables. They are estimates, not measurements, and they are the assumption to test against your own team. With them, self-managed ClickHouse costs $20,943 a month against $16,468, or 1.27 times as much. At 1:100 sizing the totals are $16,814 against $16,468 (1.02 times), and at 1:130, $15,438 against $16,468 (0.94 times). At 1:60, OpenSearch Service costs less as long as running ClickHouse takes more than about 27 engineer hours a month.
The model leaves out support contracts, S3 Tables request and compaction fees, and client traffic. The benchmark itself held about 0.26 TB of raw data a day; we didn't measure query latency at 10 TB a day on either system.
3. Time: time to value and operational overhead
Every item below exists on both systems. What differs is who sets it up before the first production query, and who keeps it running after.
Encryption at rest. On OpenSearch Service it is a domain setting, with keys in AWS KMS. On self-managed ClickHouse, the team turns on encryption for every EBS volume and S3 bucket, or configures ClickHouse's encrypted disks.
TLS, client and node to node. OpenSearch Service enforces HTTPS and encrypts traffic between nodes. On self-managed ClickHouse, TLS is off by default; the team issues, deploys, and rotates certificates.
Access control for many tenants. OpenSearch Service offers fine-grained access control with index-, document-, and field-level security, and sign-in through IAM and IAM Identity Center. Self-managed ClickHouse has users, roles, row policies, and column grants; the team designs them for each tenant and maps them to its identity provider.
Durability and recovery. OpenSearch Service copies data to Amazon S3 as it arrives, restores a failed node's data from Amazon S3 automatically, and takes hourly snapshots kept for 14 days. On self-managed ClickHouse, the team runs the replicas, the Keeper cluster, backups, and restore drills. A Keeper cluster that loses quorum turns replicated tables read-only until it recovers.
Monitoring. OpenSearch Service publishes domain and node metrics to Amazon CloudWatch. ClickHouse exposes metrics, system tables, and a built-in dashboard; the team hosts the collection, alerting, and dashboards for ClickHouse and Keeper.
Upgrades. AWS applies service software updates in the off-peak window and runs version upgrades as blue/green deployments. On self-managed ClickHouse, the team tests each release, rolls it through the replicas, patches the hosts, and upgrades Keeper.
Older data. On OpenSearch Service, one Index State Management (ISM) policy moves an index from hot to warm and then publishes it to Amazon S3 Tables as Apache Iceberg tables in your own account, where Amazon Athena, Amazon Redshift, Amazon EMR, Amazon SageMaker Lakehouse, DuckDB, or any Iceberg v3-compatible engine reads them; OpenSearch Service doesn't query those tables back. ClickHouse queries Iceberg tables directly, and its Iceberg writes are in beta, so the team builds tiering rules and a scheduled export.
By our estimate, this work takes about 24 hours of one-time setup on OpenSearch Service and about 120 on self-managed ClickHouse, roughly three working days against three working weeks for one engineer. After that, it is about 16 hours a month against 75 at 10 TB a day. The cost model above prices these same hours; they aren't counted twice. We didn't time a production setup on either system.
Beyond the stopwatch
ClickHouse is the faster engine on these workloads: on the queries it won, a median of 2.1 times faster, and the 20-question day took 1.48 times as long on OpenSearch Service. What has changed is how small that difference has become for the work an on-call engineer does. On OpenSearch Service, the 17 questions asked during the shift each came back in under 0.6 seconds, the whole day's 20 in 4.27 seconds, and every answer matched ClickHouse's. The service also handled the encryption, durability, scaling, monitoring, and tiering that a self-managed cluster leaves to its team.
At 10 TB a day, the infrastructure bill is close either way. The number that settles the comparison is how many engineer hours a team spends running its database.
Open-source ClickHouse fits teams that need the lowest query latency and have engineers who want to run a distributed database.
Amazon OpenSearch Service fits teams that want search and analytics on their logs and traces at a comparable infrastructure cost, with AWS running the service, queries in PPL, SQL, or OpenSearch Query DSL, and older data kept as open Iceberg tables in their own account.
About the systems
Amazon OpenSearch Service. Amazon OpenSearch Service is a managed service from AWS for running OpenSearch, the open-source search and analytics engine used for log analytics, application monitoring, and search. AWS provisions the cluster, replaces failed nodes, and runs software updates and configuration changes, and teams scale it from the console or with one API call. OR instances, the family we used, copy data to Amazon S3 as it arrives, and the service restores missing data from Amazon S3 automatically. For logs and traces, the Observability stack sets up OpenTelemetry ingestion, storage, and the OpenSearch UI together.
The columnar engine. Amazon OpenSearch Service launched its columnar engine in July 2026. It stores logs and traces as Apache Parquet columns and keeps a Lucene index beside them for the fields teams choose to search, so one query can start as a full-text search and end as an aggregation. Analytical query execution runs in Rust on Apache DataFusion; full-text search runs on Lucene. Teams write queries in PPL, SQL, or OpenSearch Query DSL. Since November 2026, the engine also stores and queries OpenTelemetry traces, runs distributed joins, and publishes older indexes to Amazon S3 Tables as Apache Iceberg tables in the customer's AWS account.
ClickHouse. ClickHouse is an open-source, column-oriented database for real-time analytics, released under the Apache 2.0 license. It stores each column separately and sorted, which compresses telemetry well and lets queries read only the columns they need. Its text index, generally available since version 26.2, brings full-text search to the same tables. For logs and traces, ClickStack, released under the MIT license, packages ClickHouse with an OpenTelemetry collector and a UI.
How we ran the tests
Amazon OpenSearch Service | ClickHouse | |
|---|---|---|
Software | OpenSearch 3.9.0 with the columnar engine (service software OpenSearch_3_9_R20261119-P2) | ClickHouse 26.10.5.57, open source, self-managed on Amazon EC2, pinned for the campaign |
Data nodes | 3 × or2.4xlarge.search (16 vCPU, 128 GiB each) | 3 × r8g.4xlarge (16 vCPU, 128 GiB each) |
Other nodes | 3 × m7g.large.search dedicated cluster manager nodes | None |
Storage per data node | gp3, 1,000 GiB, 9,000 IOPS, 1,000 MiB/s | Same |
Schema | Index mappings with the same fields as the ClickHouse tables; Improving's report lists where indexing differs, mostly attribute indexes only ClickHouse builds | The ClickStack schema for OpenTelemetry data, and one table for the container-log benchmark |
Query language | PPL | SQL |
Location | eu-west-1, Availability Zone ID euw1-az2 | Same |
Data: the OpenTelemetry workload loaded 19,982,629 rows at the smallest size, 200,085,620 at the middle size, and 2,001,683,408 at the largest, split evenly between logs and spans. The container-log benchmark loaded 1,000,000, 100,000,000, and 1,000,000,000 rows. Both systems loaded the same rows, and the harness checked row counts on both.
Two copies of the setup: at the middle and largest sizes, we ran the OpenTelemetry workload twice, each time on a fresh copy of the same setup, and report both.
Timing: each query ran on its own, in a shuffled order, timed end to end at the load client with the full response read. After 10 warm-up runs, it ran up to 20 timed runs (at least 5, within 120 seconds), rotating through 12 parameter sets, the same on both systems. The reported number is the median.
Answers: on the container-log benchmark, every answer matched exactly at every size. On the OpenTelemetry workload, all 20 queries matched at every size, exactly or within the tolerance for approximate percentiles, across the 12 parameter sets.
Settings: on OpenSearch Service, every domain held three persistent cluster settings:
analytics.query.distributed_enginetrue,search.concurrent.max_slice_count16, andcluster.ignore_dot_indexestrue. ClickHouse ran its release defaults apart from its cache settings below; Improving's report lists every setting.Caches: both OpenSearch index caches (the node query cache and the shard request cache) were off on every index. On ClickHouse, every timed query ran with the query result cache and the query condition cache off; the query logs show no cache hits.
Load: we measured load times but don't report them, because a benchmark load through a single harness doesn't reflect a production ingestion pipeline.
Scope of the tests
What we measured: warm, single-query latency, each query run alone, up to 1 billion logs and 1 billion spans. We also timed each query's first run on fresh parameters, one run per query: at 1 billion rows, the 20 OpenTelemetry queries took 2.16 to 2.21 times as long in total on OpenSearch Service, and the 19 container-log queries 1.66 times.
Outside this test: concurrent users or agents, cold reads, petabyte scale, metrics, materialized views or projections on ClickHouse, and query latency at the 10 TB-a-day scale used in the cost model.
These schemas: other table designs, indexes, or settings give different numbers on either system.
Resources
Improving's benchmark repository: the data generators, schemas, all 44 and 19 queries, the runner, and the results page for this run, with its licence and attributions in the NOTICE file
Amazon OpenSearch Service: What is Amazon OpenSearch Service?, the July 2026 engine announcement, traces, distributed joins, publishing to S3 Tables
ClickHouse: sizing and hardware recommendations, ClickStack on GitHub, ClickStack documentation
Disclaimers
The disclosure at the top of this post applies to every result here.
OpenSearch, ClickHouse, ClickStack, OpenTelemetry, OpenObserve, Apache Parquet, Apache Iceberg, Apache DataFusion, Apache Lucene, DuckDB, Prometheus, and Grafana are trademarks of their respective owners. Their use in this post identifies the software tested or discussed and doesn't imply endorsement by their owners.
Appendix. A day on call, the numbers behind figure 1
First copy of the setup at 1 billion logs and 1 billion spans, median milliseconds, OpenSearch Service / ClickHouse: start of shift 395 / 209, watching a deploy 341 / 225, an alert fires 568 / 465, after the fix 739 / 686, weekly review 2,230 / 1,300, the whole day 4,272 / 2,884.
Appendix. The OpenTelemetry workload, every query at every size
Median milliseconds, OpenSearch Service / ClickHouse. Queries are numbered in the order of figure 1.
Query | 10M logs + 10M spans | 100M + 100M, first copy | 100M + 100M, second copy | 1B + 1B, first copy | 1B + 1B, second copy |
|---|---|---|---|---|---|
1. Errors by service, last hour | 26.8 / 13.6 | 31.6 / 15.2 | 28.7 / 15.8 | 43.2 / 20.6 | 41.4 / 20.3 |
2. Apdex per service, last hour | 46.1 / 21.9 | 54.8 / 24.2 | 49.2 / 24.4 | 101 / 33.0 | 90.1 / 34.3 |
3. p50/p95/p99 duration by service and span name, last hour | 48.2 / 21.6 | 55.0 / 32.5 | 52.2 / 31.8 | 120 / 58.9 | 108 / 60.3 |
4. Requests, errors, and duration per service, 15-minute buckets over 6 hours | 55.1 / 25.3 | 69.1 / 52.6 | 65.4 / 52.0 | 130 / 96.0 | 120 / 96.2 |
5. Error rate by service version for one service, last 24 hours | 34.6 / 26.1 | 40.9 / 49.6 | 37.0 / 52.0 | 68.3 / 112 | 70.3 / 110 |
6. Live tail: newest 100 WARN+ logs of one service, last 15 minutes | 40.3 / 16.2 | 50.6 / 17.6 | 48.2 / 18.6 | 111 / 19.9 | 119 / 18.2 |
7. Newest 1,000 logs, all fields | 99.5 / 46.8 | 131 / 56.7 | 116 / 58.3 | 162 / 92.9 | 164 / 91.0 |
8. Error timeline of one service, 1-minute buckets over 6 hours | 27.2 / 16.1 | 34.9 / 18.4 | 33.9 / 19.4 | 56.7 / 23.5 | 52.4 / 22.7 |
9. Count of a full-text term, last hour | 23.1 / 13.3 | 26.0 / 14.7 | 24.5 / 15.0 | 43.7 / 21.0 | 45.6 / 20.5 |
10. Full-text term in one service, 5-minute buckets over 24 hours | 36.4 / 20.0 | 51.9 / 26.2 | 50.6 / 28.5 | 137 / 46.0 | 140 / 45.5 |
11. Newest 100 logs matching a phrase, last 24 hours | 39.5 / 37.5 | 46.8 / 63.4 | 46.3 / 62.0 | 58.3 / 82.2 | 60.0 / 113 |
12. Newest 100 logs with a case-insensitive substring | 43.8 / 39.4 | 47.7 / 69.8 | 48.8 / 67.0 | 73.0 / 215 | 74.1 / 186 |
13. All logs of one trace | 35.4 / 18.8 | 40.2 / 22.1 | 38.8 / 21.2 | 53.1 / 26.3 | 56.3 / 25.3 |
14. Checkout spans in the last 10 minutes | 22.6 / 12.0 | 25.3 / 11.4 | 23.0 / 11.8 | 33.3 / 15.0 | 35.6 / 14.5 |
15. Slowest 100 requests of an endpoint, last 24 hours | 64.4 / 22.7 | 73.9 / 26.6 | 81.5 / 27.1 | 113 / 36.2 | 123 / 35.2 |
16. Daily request count and mean duration by service over 7 days | 45.7 / 32.2 | 93.4 / 93.3 | 96.2 / 95.6 | 544 / 588 | 510 / 580 |
17. Hourly p99 of one endpoint over 7 days | 60.5 / 33.7 | 74.9 / 54.3 | 96.3 / 53.7 | 195 / 97.6 | 194 / 93.3 |
18. Top 20 pods by error log count over 7 days | 41.2 / 29.3 | 91.0 / 60.0 | 90.9 / 60.5 | 695 / 263 | 640 / 262 |
19. Log volume by service, 6-hour buckets over 7 days | 43.4 / 49.0 | 143 / 119 | 142 / 118 | 1,045 / 793 | 1,034 / 787 |
20. Total and error log count over 7 days | 31.7 / 23.8 | 86.1 / 46.1 | 76.8 / 46.3 | 490 / 244 | 463 / 244 |
All 20 | 865 / 519 | 1,268 / 874 | 1,246 / 879 | 4,272 / 2,884 | 4,139 / 2,859 |
Appendix. The container-log benchmark, every query
Median milliseconds, OpenSearch Service / ClickHouse. Every query reads the whole data range.
Query | 1 million | 100 million | 1 billion |
|---|---|---|---|
W01 Rows with one trace ID | 10.6 / 7.5 | 10.6 / 9.2 | 13.8 / 8.2 |
W02 Rows with one span ID | 10.5 / 7.2 | 10.8 / 9.2 | 14.1 / 8.1 |
W03 Rows with a request ID (a rare token) | 12.4 / 7.0 | 13.0 / 9.3 | 16.4 / 8.1 |
W04 Rows with a common token | 12.8 / 7.0 | 12.8 / 9.2 | 13.3 / 8.1 |
W05 Rows with a container and a trace ID | 14.5 / 9.9 | 16.7 / 13.7 | 22.4 / 17.1 |
W06 Rows with a container and a request ID | 16.8 / 9.4 | 18.1 / 13.8 | 22.3 / 17.5 |
W07 Rows with a common token and a request ID | 14.5 / 9.1 | 15.5 / 13.1 | 16.6 / 16.3 |
W08 Rows of one pod | 12.7 / 7.3 | 12.7 / 9.3 | 13.4 / 8.1 |
W09 Rows per hour | 18.2 / 9.0 | 66.1 / 48.1 | 228 / 410 |
W10 Top 10 namespaces by rows | 15.8 / 8.1 | 52.8 / 20.9 | 388 / 101 |
W11 Rows per hour with a common token | 21.5 / 10.9 | 119 / 52.3 | 983 / 413 |
W12 Newest 100 rows with one trace ID | 29.7 / 21.2 | 57.0 / 27.7 | 66.7 / 53.2 |
W13 Newest 100 rows with one span ID | 29.7 / 19.3 | 56.3 / 28.1 | 68.9 / 47.0 |
W14 Newest 100 rows with a request ID | 29.5 / 20.6 | 54.8 / 26.9 | 66.9 / 48.9 |
W15 Newest 100 rows with a common token | 39.1 / 20.7 | 36.6 / 28.1 | 62.8 / 26.4 |
W16 Newest 100 rows with a container and a trace ID | 30.5 / 24.0 | 57.7 / 34.4 | 70.8 / 60.3 |
W17 Newest 100 rows with a container and a request ID | 33.9 / 26.5 | 63.6 / 34.7 | 72.1 / 61.5 |
W18 Newest 100 rows with a common token and a request ID | 28.2 / 24.0 | 55.3 / 33.7 | 67.8 / 52.9 |
W19 Newest 100 rows of one pod | 38.3 / 26.0 | 71.4 / 37.0 | 108 / 70.5 |
All 19 | 419 / 275 | 801 / 459 | 2,315 / 1,436 |
Appendix. Total cost of ownership at 10 TB/day, every line
us-east-1, On-Demand list prices as of November 26, 2026. Stored size per raw TB from the OpenTelemetry workload at 1 billion logs and 1 billion spans: 106 GB on ClickHouse and 149 GB on OpenSearch Service, both on disk. A raw TB is 1 TB of uncompressed log and span data (910 bytes per event). Both systems keep a replica of every hot day, with 20% free disk and a 5% Linux reserve. ClickHouse memory is sized at 1:60. Engineer hours are our estimate, at $93.27 an hour.
ClickHouse sizing (memory to storage) | OpenSearch Service, monthly | Self-managed ClickHouse, monthly | ClickHouse ÷ OpenSearch Service |
|---|---|---|---|
1:60 (ClickHouse's logging example) | $16,468 | $20,943 | 1.27 |
1:100 | $16,468 | $16,814 | 1.02 |
1:130 | $16,468 | $15,438 | 0.94 |
Amazon OpenSearch Service, 10 TB/day
Infrastructure line | Monthly |
|---|---|
Hot data nodes: 3 x or2.4xlarge.search (3 AZs; peak ingest needs 44 of 48 vCPU) | $3,504 |
Dedicated cluster manager nodes: 3 x m7g.large.search | $296 |
Hot EBS gp3: 27,439 GB (primary + replica for all 7 hot days; 5% Linux reserve; 20% free, the same rule as ClickHouse) | $3,347 |
Managed storage, hot primary data: 10,427 GB | $250 |
Warm nodes: 6 x oi2.2xlarge.search | $5,111 |
Managed storage, warm: 34,259 GB | $822 |
S3 Tables, days 31-120: 62,084 GB (the engine copies its existing Parquet files; no OpenSearch Service charge for publishing) | $1,645 |
Traffic between AZs | $0 |
Automated snapshots (hourly, kept 14 days) | $0 |
Monitoring: domain and node metrics in Amazon CloudWatch, out of the box | $0 |
Infrastructure | $14,976 |
Operations line (hours a month, assumption) | Hours |
|---|---|
Index templates and domain settings, including one ISM policy that moves data hot to warm to S3 Tables | 6 |
Upgrades and patching: AWS applies service software updates in the off-peak window and runs version upgrades as blue/green deployments; the team schedules and verifies | 1 |
Monitoring and capacity (adding nodes or storage in place) | 5 |
Access control per tenant (fine-grained access control role mapping) | 2 |
One-time setup, spread over 12 months | 2 |
Operations at $93.27/hour | 16 h = $1,492 |
Self-managed ClickHouse, 10 TB/day
Infrastructure line | Monthly |
|---|---|
ClickHouse nodes: 2 shard(s) x 2 replicas x r8g.12xlarge (384 GiB each; 31,789 GB served per replica at 1:60 needs 530 GiB) | $8,257 |
ClickHouse Keeper: 3 x t4g.medium in 3 AZs, 20 GB gp3 each | $78 |
EBS gp3: 24,394 GB (hot on both replicas; 5% Linux reserve; 20% free for merges; plus S3-disk cache) | $1,952 |
S3, warm data on both replicas: 48,744 GB | $1,121 |
S3 Tables, days 31-120: 62,084 GB | $1,645 |
Export to Iceberg: re-encodes each day's data to Parquet, about 44 node-hours a month on an r8g.4xlarge-equivalent (assumed 200 MB/s) | $42 |
Backups in S3: 7,418 GB | $171 |
Traffic between AZs (replication): 31,789 GB | $636 |
Monitoring: self-hosted Prometheus and Grafana, 2 x t4g.medium with 100 GB gp3 each | $65 |
Infrastructure | $13,966 |
Operations line (hours a month, assumption) | Hours |
|---|---|
Upgrades and patching (quarterly rolling upgrade) | 6 |
Monitoring, tuning, on-call for the database | 16 |
Capacity planning, adding shards, moving data by hand | 12 |
ClickHouse Keeper operations | 2 |
Backups and restore drills | 4 |
TLS certificate and encryption key rotation | 2 |
Access control per tenant (roles, row policies, identity-provider mapping) | 8 |
Tiering policies and the job that writes older data to S3 Tables | 4 |
Upgrade testing on a staging cluster before each ClickHouse release | 4 |
OS and security patching of the EC2 hosts (ClickHouse and Keeper) | 3 |
Rolling restarts for configuration changes and security fixes outside upgrades, with replica catch-up checks | 2 |
Keeper version upgrades (separate from day-to-day Keeper operations) | 1.8 |
One-time setup, spread over 12 months | 10 |
Operations at $93.27/hour | 74.8 h = $6,977 |


