benchANT Homepage
benchANT Homepage
Database
Ranking

New on the Market: How Edelbyte Compares to Snowflake, BigQuery and ClickHouse on 1 TB of Logs

Dr. Jörg Domaschka · 1 December 2026

How many errors occurred in the last few hours? Which requests failed? Which component slows things down? Teams that operate services, devices and pipelines ask such questions of their logs every day and expect answers within seconds. Answering them requires a data platform that is fast and cheap to run. Choosing one is a long-term commitment as migration is costly and the data keeps growing. Edelbyte, a new company, commissioned benchANT to compare its new data platform against Snowflake, Google BigQuery and ClickHouse Cloud. The comparison measures speed and cost on Microsoft's Telemetry Benchmark, 19 typical log queries over 1 TB of generated cloud-service logs.

It covers all four systems in their vanilla configuration and, for Edelbyte's competitors Snowflake, BigQuery and ClickHouse, also after tuning. Vanilla is the table a team would set up on day one with each system's standard features. Tuning means sorting or clustering the data on selected columns, adding indexes for specific filters, and rewriting queries.

Vanilla set-up, time per pass over the 19 queries: Edelbyte 3.2 s, Snowflake 57.5 s, ClickHouse Cloud 71.1 s, Google BigQuery 145.8 s

Figure 1: Time per pass over the 19 queries, in vanilla set-up. Snowflake, BigQuery and ClickHouse have a text index on every text column.

Key Findings

  • In the vanilla set-up, Edelbyte is 18 to 46 times faster than its competitors Snowflake, BigQuery and ClickHouse. One pass over the 19 queries takes 3.2 seconds on Edelbyte, 57.5 seconds on Snowflake, 71.1 seconds on ClickHouse and 145.8 seconds on BigQuery (Figure 1).
  • Tuning closes much of the gap. We spent three full working days tuning each system and measured 107 configurations in total. Tuned tables, indexes and queries bring one pass to 10.9 seconds on BigQuery, 12.8 on ClickHouse and 17.9 on Snowflake. This is 13, 5.5 and 3.2 times faster than their vanilla set-ups.
  • Edelbyte works out of the box. With Edelbyte, we only loaded the data and ran the queries as written. This untuned set-up was the fastest in the entire study: 18 to 46 times faster than the vanilla competitors and still 3 to 6 times faster than their best tuned configurations.
  • Tuning has a cost. When tuning the systems, a large part of the improvements comes from storing the rows sorted by specific columns. This sorting takes extra compute. Further, finding suitable configurations requires effort from the operations teams. Both aspects add to the overall costs.
  • Tuning breaks when the queries change. After tuning, the three competitors were 3 to 6 times slower than Edelbyte on the 19 benchmark queries. On four further queries, similar in kind but not considered during tuning, they took 5.9 to 42.6 seconds, which is 26 to 185 times as long as Edelbyte's 0.23 seconds. Tuning pays off for the queries it targets; when the queries change, the work has to start again. Tuning is therefore a weak strategy when the queries are not known in advance, as we expect for agent-driven workloads.
  • Edelbyte also leads on first runs. The first time each query runs, one pass takes 3.9 seconds on Edelbyte, compared with 60.3 seconds on Snowflake, 161.5 seconds on BigQuery and 172.4 seconds on ClickHouse in their vanilla set-ups. The other systems take 15 to 44 times as long as Edelbyte, whose first pass is only 0.7 seconds slower than its steady-state pass.
  • Price-performance follows the same pattern. At list prices, 1,000 passes of all 19 queries cost $2.6 on Edelbyte, and in the vanilla set-up $55.8 on ClickHouse, $84 on Snowflake and $158 on BigQuery. After tuning, 1,000 passes of all queries on ClickHouse, BigQuery and Snowflake cost $10, $12 and $26 respectively. This is still 3.9 to 10 times the cost of Edelbyte.

Sponsored study. Edelbyte commissioned and funded this study. The full disclosure is at the end of the article.

What We Did

We ran the 19 queries of Microsoft's Telemetry Benchmark on 1 TB of generated cloud-service logs (4.1 billion events) against four systems: Snowflake, Google BigQuery, ClickHouse Cloud and Edelbyte. Edelbyte is a newcomer with a KQL and an SQL interface.

All four systems ran on clusters of comparable size: the same number of cores where a service lets us choose them, otherwise a similar price. We kept each cluster for the entire study. All systems answered semantically equivalent queries on the same data set.

We worked in two steps. First, we brought each system into its vanilla configuration: columns use the system's native types, including JSON, and every text column has a text index. Second, we spent three working days per system tuning tables, indexes and queries for Snowflake, BigQuery and ClickHouse.

Edelbyte was not tuned: as sponsor, Edelbyte did not consider it necessary, and the study had no budget for it.

Systems Under Test and Methodology

Hardware configurations

Edelbyte sized its own cluster to 12 cores. This sizing comes with 300 GB free (25 GB per core) of NVMe-based hot data storage, which fits all benchmark data. For the other three services, we first looked for a configuration with the same number of cores. Where a service does not let us choose cores, we picked a configuration in a similar price range instead and, where only more expensive options were available, the cheapest configuration offered. We use this three-step rule because the business and pricing models differ: BigQuery bills by compute slots, Snowflake by warehouse size and ClickHouse by replica size.

Table 1 lists the resulting configurations and their list prices.

Table 1: Configurations and list prices per month
SystemConfigurationRegionList price per month (730 h)
SnowflakeGen2 X-Small warehouse, Enterprise EditionAWS Frankfurt$3,843
Google BigQueryReservation of 50 Enterprise slotsGoogle Cloud Frankfurt$2,850
ClickHouse CloudEnterprise tier, 3 replicas with 4 cores and 16 GiB eachAWS Frankfurt$2,063
Edelbyte12 cores shipping with 300 GB of hot data storageAWS Frankfurt$2,089

For ClickHouse, we chose three replicas, the default for a new cluster, with 4 cores and 16 GiB each. With 12 cores in total, it matches Edelbyte's cluster in size. BigQuery and Snowflake do not let us choose cores, so for them we fell back to price. The configurations chosen for them are more expensive than the other two, yet they are the cheapest each service offers.

For BigQuery we ended up with an Enterprise reservation of 50 slots, the smallest reservation size BigQuery offers; for Snowflake, with an X-Small Gen2 warehouse, the smallest size offered for Gen2. Gen1 warehouses bill at a lower credit rate, but according to Snowflake, Gen2 adds faster hardware and query-side software optimizations. Gen2 is also the default for new standard warehouses in AWS Frankfurt.

All prices are list prices for the Frankfurt regions (Table 1). Cheaper regions are available for some of the services.

How we measure

Our main metric is the time per pass, i.e. the time a system needs to run all 19 queries once. We take each execution time from the system's own query history, so network latency and the transfer of results do not count. Each query runs 20 times in a row; we discard the first ten runs as warm-up and average the last ten. The time per pass is the sum of these 19 averages. We ran the full pass at least twice on every set-up, vanilla or tuned, Edelbyte's included, and report the fastest pass.

Caches that return a stored result for a repeated query are switched off on every system. For price-performance, we multiply the hourly list price by the time per pass and report the cost per 1,000 passes. The Annex describes the methodology in detail.

Result 1: The Vanilla Set-up

The vanilla set-up uses a low-effort configuration. The schema maps the column types of the input data (timestamps, strings, JSON) to their respective database types. We also set up a text index on all columns of type String. Column types follow each system's own recommendations (the Annex lists the column types per system).

For ClickHouse, the schema uses partitioning by day and for BigQuery it uses partitioning per hour, each following its documentation (during tuning, we also tested partitioning by day for BigQuery; without clustering, partitioning per hour performed better; the technical companion article reports both). The Properties column carrying a JSON-encoded string is mapped to the systems' respective JSON type (dynamic with a shredding schema for Edelbyte, JSON for BigQuery, VARIANT for Snowflake and JSON for ClickHouse).

Figure 1 shows the time each system requires for one pass over all 19 queries: Edelbyte completes one in 3.2 seconds. The three other data platforms need 18 to 46 times as long: Snowflake 57.5 seconds, ClickHouse 71.1 seconds (about a quarter longer than Snowflake) and BigQuery 145.8 seconds.

Price-performance

Taking the price into account changes the ranking (Figure 2). The figure shows the cost per system for 1,000 passes of all 19 queries. Among the three competitors, ClickHouse is the cheapest per pass, at $55.8 per 1,000 passes, followed by Snowflake at $84 and BigQuery at $158. Edelbyte quotes the cluster at $2,089 per month in Frankfurt. At this price, 1,000 passes cost $2.6 for Edelbyte, less than a twentieth of ClickHouse's cost.

Vanilla set-up, cost per 1,000 passes at list prices: Edelbyte $2.6, ClickHouse Cloud $55.8, Snowflake $84.0, Google BigQuery $158.0

Figure 2: Cost per 1,000 passes at list prices, vanilla set-up.

The cost covers only the time the queries run; minimum billing periods, idle time, storage and one-time costs such as building indexes are not included. Edelbyte's price for the cluster was provided by the company, which has not yet published its pricing.

Per-query analysis

Table 2 shows the latency per query. On Snowflake, ClickHouse and BigQuery, a few queries take most of the time, and they differ between the systems. On Snowflake, the search for a rare term among all error messages (Q02) takes almost half of the pass. On BigQuery, the six slowest queries (Q02, Q10, Q15 and Q17 to Q19), all of which read several days or the whole data set, take 85% of it, and on ClickHouse, the four slowest queries (Q15 and Q17 to Q19), all of which accumulate several days of a single source, take 59%. On Edelbyte, no single query takes longer than half a second.

Table 2: Latency per query, vanilla set-up, in seconds
QueryWhat it asks (time window)EdelbyteSnowflakeClickHouseBigQuery
Q01Warnings that mention a term (12 h)0.155.902.815.96
Q02Errors that mention a rare term (all data)0.0427.790.2621.86
Q03Events per component whose message contains a text fragment (1 h)0.032.760.510.36
Q04The 1,000 latest events with a term in any column (1 h)0.023.612.123.42
Q05Events of eight given requests (all data)0.030.460.050.50
Q06Events of four sources per log type (10 days)0.030.611.363.42
Q07The most frequent exception types among errors (1 h)0.390.601.530.79
Q08Events per severity level (6 h)0.100.691.200.39
Q09The 50 most frequent combinations of level and component (6 h)0.081.143.210.53
Q10One source: the ten requests with most “downloaded” events (3 days)0.382.134.4811.83
Q11Events per level of the ten nodes with most errors (6 h)0.080.954.031.42
Q12Requests with errors per hour (6 h)0.070.432.680.88
Q13Row counts and duration percentiles from the JSON column, twelve sources (6 h)0.222.012.393.53
Q14The ten sources with the highest download rate, from the JSON column (1 h)0.220.421.600.33
Q15One source: CPU time per five minutes of its ten busiest nodes (5 days)0.292.019.9420.05
Q16First and last error per source; the five sources with most errors (3 h)0.090.270.790.48
Q17One source: ingestion commands joined with their completions; top ten tables (3 days)0.271.8010.9618.60
Q18As Q17, per data format (3 days)0.281.7810.9519.47
Q19One source: file paths shared by different requests (3 days)0.472.1010.2032.00
Total [s]3.257.571.1145.8

Result 2: The Impact of Tuning

In the vanilla set-up, Edelbyte is 18 to 46 times faster than its competitors. Any team that runs one of those services will ask how much of the gap tuning can close. For Snowflake, BigQuery and ClickHouse, we searched for the fastest set-up their features allow within the rules detailed in the Annex. We gave ourselves a fixed budget of three full working days for each of the three systems and measured 107 configurations in total.

Where possible, we ran the full pass on each configuration at least twice to gauge run-to-run variation. Configurations that took very long ran only once; those whose first two passes were far apart ran more often. For each system, we report the faster pass of its fastest configuration. The technical companion article discusses this in detail. In total, this works out to more than 72,000 query executions.

Table 3 presents the best configuration we found for each system (we do not claim these are the best configurations possible). Edelbyte was not tuned.

Table 3: Results after tuning
SystemWhat we changedTime per passFaster than vanillaCost per 1,000 passes
Google BigQuerypartitioning moved from hourly to daily; rows clustered by level, source and timestamp; search index on request IDs; rewritten queries10.9 s13×$11.8
ClickHouse Cloudrows sorted by level, source and hour and loaded in time order; text index on messages; rewritten queries12.8 s5.5×$10.0
Snowflakerows clustered by day, level, source and hour; search optimization; rewritten queries17.9 s3.2×$26.2
Edelbytenot tuned3.2 sn/a$2.6

After tuning, the competitors need between 10.9 s and 17.9 s per pass, with BigQuery ahead of ClickHouse and Snowflake. Tuning cut the time per pass by a factor of 13 on BigQuery, a factor of 5.5 on ClickHouse and a factor of 3.2 on Snowflake. Even without tuning, Edelbyte remains 3 to 6 times faster than the tuned competitors.

For all three tuned services, a large part of the gain comes from storing the rows sorted by the columns most of the queries filter on, namely Level, Source and Timestamp, though the best exact ordering differed per system (see Table 3). This helps pruning and enables a query to read only the blocks it needs. Indexes chosen for specific filters and rewritten queries added the rest. The best-performing schemas are listed in the Annex. The technical companion article and per-system articles document the tuning steps and discuss results in more detail (see Further Reading).

While it improves performance for a known set of queries, storing the rows sorted by specific columns comes with two drawbacks. First, sorting rows takes extra compute when data is loaded. We did not measure this cost, but in production it adds to the operational costs, so enabling it requires a cost-benefit analysis. Second, as shown in the next section, the schema may make the system less suited for queries that filter or aggregate on other columns.

Result 3: Tuning Breaks With Other Queries

The 19 benchmark queries were known before we tuned anything, and every tuned set-up was fitted to them. In this section we ask what happens on a tuned system when queries come in that were not considered during tuning. For that purpose, we introduced four more queries. Only one of them has entirely new characteristics, while the other three are variations of queries from the original benchmark.

The queries

The four queries were written in KQL, which Edelbyte runs unchanged, and translated for the SQL services under the same rules as the 19 queries. The list below describes what each query asks for; the Annex lists their KQL versions:

  1. Live tail: the 100 newest events of the whole table, as a log viewer shows them when it opens (no time window). This is an entirely new query.
  2. Trace one request: all events of one request, in time order. This is a variation of Q05, which counts the events of eight given requests.
  3. Search box: the 1,000 newest events in a one-hour window that contain a given word in any column. This is Q04 with a different one-hour window.
  4. Request volume of one component: the number of distinct requests per hour that downloaded files (6-hour window). This is a variation of Q12: same 6-hour window and the same distinct count per hour, but filtered on one component (as in Q14) instead of on errors.

Results

After tuning for the 19 benchmark queries (see Result 2), the competitors are 3 to 6 times slower than Edelbyte on those queries. Yet, as can be seen in Table 4, the impact of tuning does not consistently carry over to new queries. On these four queries, the tuned systems need 5.9 s to 42.6 s. This is 26 to 185 times as long as Edelbyte's 0.23 s.

Table 4: Queries not considered during tuning, on the tuned set-ups: mean of executions 11 to 20, in seconds
Query (time window)EdelbyteSnowflakeClickHouse (parallel query execution)BigQuery
1. Live tail: the 100 newest events (no window)0.030.477.3439.06
2. Trace one request (one request)0.020.258.130.71
3. Search box: one word in any column (1 h)0.034.531.641.88
4. Requests per hour of one component (6 h)0.150.651.100.91
Total0.235.918.242.6

Although they were tuned for the same 19 queries, the tuned set-ups suffer differently from the new queries and degrade on different queries outside that set: BigQuery loses most of its time on the live tail; Snowflake on the search box; ClickHouse is slow on the live tail and the request trace.

Where a tuned set-up falls behind depends on the layout chosen for it and cannot be predicted from its results on the tuned queries alone. Edelbyte, without tuning, is the fastest on every query.

For ClickHouse, Table 4 shows the set-up with parallel query execution enabled for all queries. Without it, ClickHouse needs about 30% longer for these four queries (23.5 s instead of 18.2 s). On the 19 benchmark queries, however, parallel query execution made the pass slower, which is why the tuned set-up in Result 2 runs without it. The technical companion article reports both variants.

What This Means for Decision Makers

Benchmark the vanilla configuration and tune with care. Tuning can make a service several times faster, and the gains are specific to the queries it was tuned for. A proof of concept should therefore start from the vanilla configuration, which shows how a service handles questions nobody anticipated. Sorting the data on selected columns and non-trivial query optimization should be applied with caution: teams rarely know in advance which queries the system will have to answer, and a layout tuned for one set of queries does not necessarily help others.

Tuning is tailored to the questions. The tuned layouts sort the data by the columns that the 19 benchmark queries filter on. Queries with other filters do not necessarily benefit, and a new set of questions may call for a different layout or new indexes. Result 3 shows the effect: on four queries the tuning did not target, the tuned set-ups took 26 to 185 times as long as Edelbyte. Tuning is therefore not a one-off task but part of operating the service.

The first query can be much slower than the twentieth. This article mostly focuses on the steady-state performance, with warm caches, which is what, for example, a dashboard that repeats the same queries sees. An ad-hoc investigation that asks a question for the first time may see something else. The table below lists the latency per pass on vanilla, for the steady state (see Result 1) and when only considering the first query:

Time per pass in the vanilla set-ups: steady state vs. first query
Vanilla set-upSteady stateFirst queryDifference
Edelbyte3.2 s3.9 s0.7 s / +22%
Snowflake57.5 s60.3 s2.8 s / +5%
BigQuery145.8 s161.5 s15.7 s / +11%
ClickHouse71.1 s172.4 s101.3 s / +142%

Edelbyte has the largest relative but smallest absolute difference, and its 3.9 s is by far the smallest first-query latency. The other systems require 15 to 44 times as long.

A reason is Edelbyte's hot data storage, which, as Edelbyte describes it, keeps newer data on local NVMe storage close to compute instead of streaming it from slower storage such as S3.

The impact of concurrent users. The study evaluates the performance of a full pass over 19 queries issued by a single client. So far, no experiments have been carried out that use more than one user, so we cannot reliably state how each of the systems will perform under increasing load. Assuming that each system scales linearly with the CPU time its queries consume, we expect Edelbyte will be able to support the highest concurrency. We have not validated this yet and plan to do so in future work. For ClickHouse, the result also depends on how queries are parallelized across replicas: in our tuned set-up, enabling parallel execution for all queries made the pass slower. This is in line with ClickHouse's documentation, which says there is overhead for short-running queries. The technical companion article presents the different approaches to parallelism and their effects.

Summary

In this study, we compared Edelbyte with Snowflake, BigQuery and ClickHouse on the 19 queries of Microsoft's Telemetry Benchmark and a 1 TB log data set. In the vanilla configuration, Edelbyte was about 18 to 46 times faster and cost 22 to 62 times less per 1,000 passes.

Tuning made the other services 3 to 13 times faster, yet Edelbyte, without any tuning, remained 3 to 6 times faster and cost 3.9 to 10 times less per 1,000 passes. Tuning is an involved process that targets a predefined set of queries and does not necessarily help when queries change or new ones are added: on four queries not considered during tuning, the tuned set-ups took 26 to 185 times as long as Edelbyte. Tuning can also add CPU overhead when data is loaded, which this study did not measure.

The first time a query ran, Edelbyte was still the fastest: one pass took 3.9 seconds, 15 to 44 times faster than the vanilla competitors and only 0.7 seconds slower than in steady state. A reason is Edelbyte's hot data storage, which keeps newer data close to compute.

Overall, Edelbyte required the least effort from us: it ran without any tuning, whereas we spent around three full working days tuning each of the other services. It was also the fastest and the most cost-effective platform in this benchmark, and the best suited to varied queries over the telemetry data set used here. This matters for today's ways of working, which mix repeated and ad-hoc investigations. Agentic workloads are likely to consist of many more and largely unpredictable queries. In these scenarios, performance that does not depend on query-specific tuning matters even more.

Further Reading

  • Technical companion article: the full method, every configuration, the results per query and a detailed discussion of all limits.
  • Tuning step by step: one article each for Snowflake, Google BigQuery and ClickHouse, with every intermediate set-up and its measurements.
  • Code and raw results: the benchmark harness, all queries, schemas and load scripts, and the raw result files of every measurement in this article are published on GitHub, so anyone can repeat or extend the study.
  • The benchmark: Microsoft's Telemetry Logs Generator and Benchmark, with the data generator and the original KQL queries (archived and read-only since June 2026).
  • The earlier study: Log and Telemetry Analytics Performance Benchmark by GigaOm, which used the same benchmark at 100 TB on ADX, BigQuery and Snowflake (2022).

Disclosure: Sponsored Study

Performance is one criterion among many when selecting a data platform. This article is a point-in-time measurement of one workload: the 19 queries of Microsoft's Telemetry Benchmark on 1 TB of generated log data, issued by a single client. It does not assess administration, integration, workload management, behavior under ingestion load and concurrent users, reliability, support or the maturity of a vendor, all of which matter in a purchase decision. Managed cloud services change continuously. Server versions changed during our measurement period (September to November 2026), and the same tests may give different results later.

This is a sponsored study. Edelbyte commissioned and funded it and selected the competitors and the workload, which is native to KQL, the query language of Edelbyte and Azure Data Explorer. Edelbyte also chose the structure of the comparison, with each service measured in vanilla configuration and after tuning, and defined what counts as vanilla. It also held that settings such as ClickHouse's parallel query execution should be enabled for all queries or for none, not selectively per query; the results in this article follow that rule. Edelbyte further requested that every service be priced at a tier that includes single sign-on (SSO); for ClickHouse Cloud, this is the more expensive Enterprise tier.

Edelbyte is a new product that became publicly available on 11 November 2026; we started our work on a pre-release version, but all results in this article come from a production version. Edelbyte sized and provisioned the cluster on which its platform was tested; we have no insight into how that cluster was created and how it is configured. Edelbyte also provided a data loader together with the parameters for loading the data from S3 into the database.

benchANT carried out everything else. We selected configurations for Snowflake, BigQuery and ClickHouse comparable to Edelbyte's cluster: the same number of cores where a service lets us choose them (ClickHouse), otherwise a configuration in a similar price range (BigQuery, Snowflake). We loaded the data into all four systems, checked the queries against the KQL originals and corrected deviations, ported the queries to ClickHouse, tuned Snowflake, BigQuery and ClickHouse under the same rules (Edelbyte was not tuned), ran all benchmarks, and analyzed and compared the results. benchANT wrote this article; Edelbyte reviewed it and approved its publication.

Choosing comparable configurations across different cloud services involves judgment. We describe our decisions and their known effects in the technical companion article, and the code, queries, schemas and raw results are publicly available on GitHub, so that readers can repeat the measurements and judge the fairness of the comparison for themselves.

Annex

System Set-up and Methodology

Benchmark: Microsoft's Telemetry Benchmark was published in 2022. Its synthetic data simulates the logs of a cloud service that ingests events from many sources. Its 19 queries answer everyday questions of operations teams. They combine text search, lookups of single requests, aggregations over time windows from one hour to ten days, values extracted from JSON documents, and (self-)joins.

Queries: Microsoft wrote the original queries of the benchmark in KQL, the query language of Azure Data Explorer. Edelbyte runs them unchanged. The BigQuery and Snowflake queries also come from the repository; GigaOm wrote them for its earlier study. We adapted them to be semantically closer to the KQL versions. benchANT translated the queries for ClickHouse.

We verified for each query that all systems return the same results, apart from formatting, ties in top-N lists and percentiles. More details on the exact queries are available in the technical companion article.

Metric: The core metric of the benchmark is the time per pass, as defined in How we measure: server-side execution times only, taken as the mean of executions 11 to 20 of each query and summed over the 19 queries. One client sends one query at a time.

Price-performance: We combine performance and cost by computing the cost per 1,000 passes. This is the hourly list price of a configuration multiplied by the time per pass in hours and by 1,000. It counts only the time the queries run; minimum billing periods, idle time, storage and one-time costs such as building indexes are not included. Edelbyte's list price was provided by the company. The metric is an approximation, as services bill in different ways: Snowflake per second while a warehouse runs, with a minimum of 60 seconds per start; BigQuery per hour for reserved slots; ClickHouse per compute unit and minute; Edelbyte per core and hour, with 25 GB of hot data storage per core included.

Rounding: All numbers in this article are rounded. Derived numbers, such as costs and speed-up factors, are computed from the unrounded measurements and prices, so recomputing them from the rounded numbers can give slightly different results.

Caching: Caches that return a stored result for a repeated query are off on every system; otherwise, we would measure the cache. Caches that only speed up access to the data stay on.

Two set-ups per system

  • Vanilla is the table a team would set up on day one with each system's standard features: columns mapped to each system's native types, including JSON (see The Data Set), a text index on every text column, data loaded in file order, and no layout chosen for specific queries.
  • Tuned is the fastest set-up we found by changing the table layout, choosing indexes for specific filters and rewriting queries, one measured step at a time. The same rules applied to all systems: no precomputed answers such as materialized views, no additional columns, no change to what a query asks, and the same compute configuration throughout. Edelbyte builds a term index on every table by default and stores the JSON column in its own type for semi-structured data, so beyond declaring the shredding schema for the JSON column, its table needs no extra set-up. It was not tuned.

Data loading: In a real-world telemetry use case, data would probably be streamed into the database; the benchmark's data generator, however, produces a set of zipped CSV files, described in The Data Set. For loading the data, we put the files in an S3 bucket and used each system's native loading mechanism to load them into a table. Because the files are grouped by hour and source, rows from the same source and hour are likely to be ingested in one batch, but this is not guaranteed, and different systems may use different strategies.

The Data Set

The data set used in the study was generated by the data generator of the Telemetry Benchmark. The 1 TB of uncompressed data corresponds to 4.1 billion events over eight and a half days. This is a smaller scale than in an earlier study by GigaOm, which used 100 TB of data on the same uncompressed basis. We chose the smaller scale so that readers can replicate the results without spending thousands of dollars on clusters.

The data set consists of a set of zipped CSV files. Each file holds the events of one source for one clock hour or part of it, sorted by time. If a source produces too many rows in an hour for one file, its rows for that hour are split across several files. Files from all sources that cover the same hour are stored in the same directory. The data generator creates the logs as if each source logged entries at a constant rate of about 300,000 events per hour.

Data generation for a single source stops after three to eight and a half days, so later days hold fewer and fewer rows; the first three days hold 54% of all events.

A row in the data set consists of up to eight fields as shown in Table 5. Most of them are strings with limited cardinality. Table 6 shows how each field is mapped to database types.

Table 5: Description of data rows
Field NameBrief Description
TimestampThe date and time the log event occurred
SourceWhat triggered the log event
NodeThe name of the node where the log event originated
LevelThe level of severity of the event
ComponentThe application that threw the log message
ClientRequestIdThe identifier of the request that triggered the event
MessageThe full text of the log message
PropertiesJSON-encoded readings of certain system components (Optional)
Table 6: Data format and schema types
Field NameEdelbyteBigQuerySnowflakeClickHouse
TimestampDatetimeTimestampTimestampDateTime64(7)
SourceStringStringStringLowCardinality(String)
NodeStringStringStringLowCardinality(String)
LevelStringStringStringLowCardinality(String)
ComponentStringStringStringLowCardinality(String)
ClientRequestIdStringStringStringString
MessageStringStringStringString
PropertiesdynamicJSONVARIANTJSON

We aimed for the most specific JSON mapping each system supports. Edelbyte was the only system where a typed mapping was possible without changing the semantics of the queries.

For Edelbyte, the Properties column was set to use the following shredding schema: struct<size: long, format: string, rowCount: long, cpuTime: timespan, duration: timespan, compressedSize: long, OriginalSize: long, downloadDuration: timespan>. The engine thus knows which fields can appear and which types to cast them to. Unknown JSON fields are still stored.

BigQuery and Snowflake offer no comparable shredding. ClickHouse does allow fields to be declared in its JSON type, but these fields then show up for all entries of that column, even if the inserted row did not have, for example, a downloadDuration field in its Properties column. Because of that and because of performance drawbacks, we did not use this option for ClickHouse (see the technical companion article).

The Winning Set-ups

This section shows the best configuration we found for each competitor. For reference, Edelbyte's schema comes first. Edelbyte was not tuned; this schema was used unchanged in all measurements.

Changing the schema was one of the largest performance gains we found. Note that in all three tuned schemas, the JSON column is stored as a plain string rather than each system's JSON type. Edelbyte, by contrast, keeps it in its dynamic type with a shredding schema on top. This is a deliberate trade-off. Two queries (Q04 and Q13) search for patterns in the serialized value of Properties; on a JSON-typed column, these queries force the system to serialize every row they read. In total, that cost outweighs the reverse: parsing the string as JSON in the queries that extract fields from it (Q13, Q14, Q15, Q17, Q18). Q13 does both: it filters on a term in Properties and then extracts row counts and durations. The margin between the two options was small, though: across the full pass, they stayed within a second of each other. The per-system articles discuss the details and measurements.

Edelbyte

.create-merge table Logs (
    Timestamp: datetime,
    Source: string,
    Node: string,
    Level: string,
    Component: string,
    ClientRequestId: string,
    Message: string,
    Properties: dynamic
)
with (primaryDatetimeColumn = "Timestamp")

.alter column Logs.Properties shredding_schema struct<
    size: long,
    format: string,
    rowCount: long,
    cpuTime: timespan,
    duration: timespan,
    compressedSize: long,
    OriginalSize: long,
    downloadDuration: timespan
>

Snowflake

CREATE TABLE my_database.public.logs_c(
    timestamp Timestamp,
    source VARCHAR,
    node VARCHAR,
    level VARCHAR,
    component VARCHAR,
    clientrequestid VARCHAR,
    message VARCHAR,
    properties VARCHAR
)
CLUSTER BY (
    DATE_TRUNC('day', timestamp),
    level,
    source,
    DATE_TRUNC('hour', timestamp));

ALTER TABLE my_database.public.logs_c
  add search optimization on equality(ClientRequestId);

ALTER TABLE my_database.public.logs_c
  add search optimization on full_text(Source, Node, Level,
    Component, ClientRequestId, Message, Properties);

BigQuery

CREATE TABLE my_database.logs (
  Timestamp TIMESTAMP,
  Source STRING,
  Node STRING,
  Level STRING,
  Component STRING,
  ClientRequestId STRING,
  Message STRING,
  Properties STRING
)
PARTITION BY TIMESTAMP_TRUNC(Timestamp, DAY)
CLUSTER BY Level, Source, Timestamp;

CREATE SEARCH INDEX logs_idx_clientrequestid
ON my_database.logs (
  ClientRequestId OPTIONS (index_granularity = 'COLUMN'))
OPTIONS (analyzer = 'NO_OP_ANALYZER');

ClickHouse

CREATE TABLE my_database.logs (
    `Timestamp` DateTime64(7),
    `Source` LowCardinality(String),
    `Node` LowCardinality(String),
    `Level` LowCardinality(String),
    `Component` LowCardinality(String),
    `ClientRequestId` String,
    `Message` String,
    `Properties` String,
    INDEX idx_message_lower lower(Message)
        TYPE text(tokenizer = 'splitByNonAlpha')
)
PARTITION BY toYYYYMMDD(Timestamp)
ORDER BY (Level, Source, toStartOfHour(Timestamp))

The Queries of Result 3

1. Live tail

Logs
| top 100 by Timestamp desc
| project Timestamp, Source, Level, Component, Message

2. Trace one request

Logs
| where ClientRequestId ==
        '31b50b95-25ee-a8db-4355-d9856b02a068'
| project Timestamp, Level, Component, Message
| order by Timestamp asc

3. Search box

Logs
| where Timestamp >= datetime(2014-03-10 13:42) and
        Timestamp < datetime(2014-03-10 14:42)
| where * has 'internal'
| top 1000 by Timestamp desc

4. Request volume of one component

Logs
| where Timestamp between
          (datetime(2014-03-08 12:00) .. 6h)
| where Component == 'DOWNLOADER'
| summarize dcount(ClientRequestId) by bin(Timestamp, 1h)

Limitations – The Small Print

Every benchmark simplifies and every experiment needs to cut corners. These are the limits we know of, and the options we tried but left out; the technical companion article discusses many of them in detail.

One workload, native to KQL. The 19 queries come from Microsoft, the maker of Azure Data Explorer. Edelbyte selected this workload and Edelbyte runs the queries as written, while the other three systems run SQL translations. We made sure the translations ask the same questions, but the workload may still suit KQL engines better, for example through its whole-term case-insensitive text searches, which KQL supports directly and SQL emulates.

A static table and a single user. No data arrived while we measured, and one client sent one query at a time. Real log platforms ingest data continuously and serve many users at once; we measured neither in this study. We plan to measure both in future work.

One data set, one size. All results come from 1 TB of generated logs covering eight and a half days, with one fixed hardware configuration per service. The results may not carry over linearly to other data, larger volumes or larger hardware configurations.

Single-query parallelism. The configurations of both Edelbyte and ClickHouse have 12 cores in total, and both prices cover all of them. Yet Edelbyte uses all 12 cores for a single query, while ClickHouse ran each query on one of its three replicas. ClickHouse supports parallel query execution across replicas, a feature that has to be enabled explicitly and is not recommended for short-running queries. Enabling it for all queries made the pass over the 19 benchmark queries slower in our tests, while it cut ClickHouse's total on the four queries of Result 3 by about a fifth (18.2 s instead of 23.5 s). The technical companion article discusses these results in detail.

Edelbyte's set-up. We measured Edelbyte on a cluster that Edelbyte created and configured. Beyond its size, we do not know how the cluster is configured.

ClickHouse tier. All ClickHouse measurements ran on the Scale tier, while the prices are those of the Enterprise tier, which includes SSO. We did not measure on the Enterprise tier and assume that the same compute size performs the same on both tiers.

Load order. The data files are grouped by source. When the files are loaded in order, as for the vanilla tables, rows of the same source end up close together, which speeds up queries that filter on a source. On Snowflake, the same table loaded in time order took a third longer, and on ClickHouse, the queries that filter on a source ran 6 to 41 times slower; BigQuery showed no difference. Edelbyte's data was loaded with Edelbyte's own loader.

Background reorganization. All four services reorganize stored data in the background, on their own schedule, by merging batches of rows. As users, we can neither control when and how this happens nor know whether further merges will follow. Therefore, we checked the table state before and after each benchmark with what each service reports (Snowflake's reclustering history, ClickHouse's data parts and running merges, BigQuery's search-index coverage and Edelbyte's table statistics). If a table's state had changed during a run, we discarded the run and repeated it. As a consequence, the resulting layout is not fully reproducible. For instance, on Snowflake, two tables with the same rows and the same clustering key ended up with different clustering and answered the same query in 4.8 s and 3.2 s. We saw similar effects on other platforms.