Elamur Research

BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data

Paper · 2012 · Sameer Agarwal, Aurojit Panda, Barzan Mozafari et al.

Summary

BlinkDB asks how a data analyst can obtain a useful answer before a complete calculation finishes. Its setting is an analytical database containing enough information that even a simple aggregate can require a long scan across a cluster. An operator investigating a service problem may need to know which users are affected immediately; waiting for an exact answer can make the answer less useful. The paper proposes an SQL query engine that lets the user specify either an acceptable estimation error or a response-time target. BlinkDB then chooses how much sampled data to process and returns an approximate aggregate accompanied by statistical uncertainty.

The central difficulty is choosing samples that remain useful for questions whose exact predicates are not known beforehand. A uniform random sample can represent a common group well while containing little evidence about an uncommon group. It may omit that group altogether. BlinkDB therefore maintains both uniform samples and samples stratified on selected combinations of columns. Stratification gives uncommon combinations greater representation relative to their frequency in the original table. Each selected combination also has several sample sizes, allowing the engine to choose a resolution appropriate to the current request.

The architecture separates preparation from query execution. An offline optimization procedure chooses which sample families deserve storage, considering past query templates, distribution skew, and a storage budget. A template records the columns used for filtering and grouping without fixing their predicate values. At runtime, BlinkDB executes the incoming query on small samples, observes its selectivity and processing behavior, and estimates which larger sample should satisfy the requested constraint. Sampling rates are retained so that aggregates computed from disproportionately represented groups can be corrected.

The evaluation uses a Conviva workload and the TPC-H benchmark on a cluster containing 100 nodes. For the Conviva experiments, the authors construct a 17 TB dataset using the distribution of collected access logs. The headline result is that a range of queries finishes in less than 2 seconds, with reported error of 2 − 10%. The paper also reports substantially faster convergence from multidimensional stratification than from uniform sampling or stratification on a single column. Its controlled comparisons show that sample design matters alongside the amount of sampled data.

These results support a practical argument about interactive analysis: processing less data can be more effective than accelerating a complete scan when a bounded approximation is sufficient. They do not establish unconditional guarantees for every SQL query. BlinkDB targets particular aggregates, relies on empirical runtime extrapolation, and acknowledges a statistical complication caused by repeatedly reusing an unlucky offline sample. Its contribution is a concrete system for managing the trade between latency, representation, and uncertainty, together with an evaluation of that system under declared workloads.

Interesting ideas

Make the quality requirement explicit. A user requesting a result quickly and a user requesting a tightly estimated result are expressing different priorities. BlinkDB exposes those priorities in the query interface, allowing the engine to choose its work accordingly. The broader lesson applies to analytical services and information retrieval: a deadline or quality requirement becomes more useful when it directly controls execution rather than remaining an informal expectation.

Protect uncommon groups during preparation. Uniform sampling allocates evidence in proportion to prevalence, which can leave rare groups poorly represented. Stratification changes that allocation before a query arrives. The same principle can help with corpus inspection, operational diagnostics, and evaluation across uneven categories. Representation must still be distinguished from correctness: including a rare group does not ensure that its estimate is precise.

Prepare several resolutions of the same evidence. BlinkDB makes differently sized samples available within a family, then chooses a resolution for the current request. Nested storage prevents each resolution from requiring an independent copy. This is reusable whenever a computation can operate on progressively larger evidence sets, provided the smaller and larger sets have a documented relationship and intermediate results can be combined correctly.

Probe the current task before committing resources. Historical statistics cannot fully predict an unfamiliar predicate or changing cluster conditions. BlinkDB runs small executions to observe the current query before choosing its main execution size. A similar approach can guide expensive document processing or analytical searches: perform a bounded preliminary measurement, then use the observation to allocate further work. The probe’s cost and uncertainty remain part of the decision.

Optimize for structural demand rather than remembered answers. BlinkDB prepares samples using combinations of filtering and grouping columns, without assuming that future queries will repeat earlier constants. This retains useful workload information while allowing new instantiations. Elsewhere, a system can prepare for recurring structures of requests without treating previously observed values as a complete account of future demand.

Carry selection probabilities into the calculation. When uncommon groups receive disproportionate representation, raw sample totals no longer estimate population totals correctly. BlinkDB keeps effective sampling rates and uses them to correct supported aggregates. This is a general requirement for deliberately selected evidence: the selection mechanism belongs in the interpretation of the result, instead of disappearing after retrieval.

Separate numerical error from missing coverage. A result can look precise for the groups it contains while omitting other relevant groups entirely. BlinkDB discusses both aggregate uncertainty and absent result groups. That distinction is useful in question answering, corpus statistics, and operational reporting, where a narrow answer may conceal the fact that some requested population was never represented.

Deep dive: BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data

How BlinkDB uses stratified samples and runtime probes to answer large SQL queries quickly, with explicit error or response-time bounds. · about 39 minutes to read

How Mova uses it

Mova’s documented architecture emphasizes explicit rules, deterministic execution, retained evidence, and measured approximation. BlinkDB contributes ideas about allocating analytical work under resource constraints. It does not supply evidence that sampling can preserve arbitrary linguistic meanings or logical conclusions. The connections below are proposals assessed against Mova’s documented mechanisms; their marks describe the apparent relationship to those mechanisms, rather than a measured application of BlinkDB.

Idea: Put analytical quality requirements in the request. Where: Section 2, query-interface examples. Area: execution contracts. Mova: частково є (configured bounded execution in docs/hybrid-system.md; resource-limited jobs described in docs/architecture.md). Mova could let a supported statistical task declare whether its priority is a deadline or a requested uncertainty level. The existing bounded execution interfaces provide part of the surrounding structure, but the digest does not establish an interface that turns statistical requirements into sample selection. Why Mova: this would give a worker a concrete criterion for deciding how much evidence to process.

Idea: Keep execution mode separate from answer validity. Where: Section 2 and Section 4.2. Area: reasoning and execution. Mova: частково є (CPU reference execution and measured GPU approximants in README.md). BlinkDB’s distinction between faster estimates and complete calculations suggests an explicit result type for sampled analytics. A completed statistical estimate should retain its sampling assumptions and uncertainty rather than acquiring the status of an exact logical conclusion. Why Mova: Mova already distinguishes kinds of evidence, and sampled statistics would need a similarly explicit boundary.

Idea: Protect rare dictionary evidence through stratification. Where: Sections 1 and 3.1. Area: lexicography and data. Mova: частково є (tools/dictindex/README.md records source-domain strata, frames, and statistical selectors). An exploratory dictionary query could allocate evidence across uncommon observed frames or source strata rather than taking only a prevalence-driven sample. This would be a proposal for retrieval coverage, with separate admission still required. Why Mova: the dictionary index explicitly acknowledges that rare senses may escape its reported feature window, making coverage a concrete concern.

Idea: Stratify on combinations of linguistic attributes. Where: Sections 3.1 and 3.2. Area: corpus analysis. Mova: частково є (dictindex retains lemma, observed part of speech, dependency features, and source metadata). A sample defined by a combination such as a lemma’s observed tag and a dependency feature could expose contexts that a sample organized around either attribute alone misses. This would require measured storage and retrieval comparisons. Why Mova: linguistic distinctions frequently depend on combinations of evidence already represented in the index.

Idea: Offer several evidence resolutions. Where: Section 3.1, sample families. Area: data processing. Mova: нове. Mova could investigate nested evidence sets for exploratory corpus summaries, with progressively larger sets available when a request needs more support. The digest does not establish such a sample-family mechanism; its absence is only grounds for a provisional novelty mark. Why Mova: a cheap overview and a more demanding statistical analysis could reuse the same preparation while retaining distinct claims about coverage.

Idea: Store nested resolutions through shared physical data. Where: Sections 3.1 and 4.4; Figure 4. Area: storage. Mova: частково є (pack provides prepared block storage and record access; dictindex separates directories from compressed payloads). BlinkDB suggests representing logical evidence resolutions through shared blocks rather than duplicating every record. This would need a design compatible with Mova’s immutable source versions and query snapshots. Why Mova: shared storage could make multiple analytical resolutions practical without sacrificing the identity of the underlying evidence.

Idea: Probe a corpus task before allocating its main budget. Where: Sections 4.1 and 4.2. Area: execution planning. Mova: частково є (tools/twin is described as making prospective cost predictions and calibrating them from measured runs). A worker could perform a small, source-bound probe to measure retrieval selectivity or decoding cost for the current request. BlinkDB’s results do not establish that the same extrapolation would work for linguistic processing. Why Mova: observed costs could improve resource allocation when selector rarity and storage layout make historical averages unreliable.

Idea: Compare alternative evidence families empirically. Where: Section 4.1.1. Area: retrieval. Mova: нове. When several prepared selectors could serve an exploratory question, Mova could compare their useful-evidence yield on bounded probes before choosing a larger retrieval. The digest describes configurable selectors, but not this selection procedure. Why Mova: a selector that looks semantically related may still retrieve little usable evidence, whereas a less obvious selector may capture a correlated context.

Idea: Measure useful yield relative to scanning cost. Where: Section 4.1.1. Area: performance analysis. Mova: частково є (dictindex measurements distinguish visited data, timings, and cache scope). BlinkDB chooses among unmatched families using selected rows relative to examined rows. Mova could measure a corresponding operational quantity for retrieval, while defining “useful” through explicit task criteria rather than treating every match as valid evidence. Why Mova: a high example count alone does not reveal how much work was required to obtain it.

Idea: Plan for request structure without memorizing constants. Where: Sections 2.1 and 3.2.1. Area: workload analysis. Mova: нове. Retrieval preparation could use recurring combinations of requested fields while leaving specific words, values, or domains open. This would be distinct from learning linguistic rules or dictionary meanings. Why Mova: reusable structural preparation could support unfamiliar requests without assuming that future work repeats the exact vocabulary of earlier tasks.

Idea: Treat storage allocation as an explicit constrained decision. Where: Section 3.2.1, optimization objective and constraints. Area: optimization. Mova: частково є (tools/jobs records resource estimates and actual use; groupants declare constraints and checks). A corpus service could choose prepared indexes or summaries under a storage budget, recording the expected benefit and the evidence behind it. The digest does not show BlinkDB’s particular optimization objective in Mova. Why Mova: explicit allocation makes the cost of extra analytical views reviewable.

Idea: Separate demand frequency from representation need. Where: Section 3.2.1, workload weights and non-uniformity measure. Area: statistics. Mova: частково є (dictindex provides occurrence counts, feature support, and source strata). A often requested common construction and an infrequently requested rare construction create different preparation needs. Mova could evaluate an allocation rule that considers both request demand and underrepresentation. Why Mova: frequency alone can direct resources toward already abundant evidence while leaving difficult minority cases unseen.

Idea: Make preparation weights inspectable. Where: Section 3.2.1, template weights. Area: interpretability. Mova: частково є (transparent routing and retained reasons in docs/architecture.md). If a preparation policy favors certain corpus tasks, its weights could identify whether that preference comes from observed demand or an explicit priority. Such weights should remain separate from evidence that a linguistic claim is true. Why Mova: visible priorities would explain why a worker prepared one analytical view rather than another.

Idea: Bound the cost of adapting to change. Where: Section 3.2.3, replacement constraint. Area: maintenance. Mova: частково є (sources retains source/version evidence; dictindex requires separate versions and epochs for changed indexed inputs). A maintenance planner could limit how much prepared analytical state is rebuilt during a refresh. It would still need to preserve immutable source identities. Why Mova: gradual replacement could control resource spikes while making the transition between analytical states explicit.

Idea: Refresh reused samples independently of query repetition. Where: Sections 2.1 and 4.5. Area: statistics. Mova: нове. If Mova introduces persistent random samples, it should distinguish rerunning a query from obtaining a new random draw. Periodic refresh could address some failures caused by an unrepresentative stored sample, although the correct refresh policy would need separate evidence. Why Mova: deterministic replay is useful for reproducibility, but it does not supply independent statistical evidence.

Idea: Preserve effective selection probabilities. Where: Section 4.3. Area: statistical estimation. Mova: нове. An exploratory corpus aggregate based on deliberate oversampling would need to retain each observation’s inclusion probability or equivalent design information. Provenance alone is insufficient to reconstruct population totals if the selection process is unknown. Why Mova: this would prevent rare-context oversampling from silently distorting reported corpus frequencies.

Idea: Keep observed counts distinct from corrected estimates. Where: Section 4.3 and Tables 3–4. Area: reporting. Mova: частково є (dictindex defines its counts as indexed token occurrences). A future sampled analytical endpoint should label corrected population estimates separately from the index’s actual observed counts. It should also preserve the population to which the estimate refers. Why Mova: the distinction would protect the meaning of existing exact counts while allowing optional statistical summaries.

Idea: Report absent coverage separately from estimate uncertainty. Where: Sections 1, 3.1, and 4.3. Area: evaluation. Mova: частково є (dictindex explicitly records absent coverage; native readers report gaps). A sampled report could identify unsupported groups in addition to reporting uncertainty for represented groups. A missing result must not become a negative factual claim. Why Mova: transparent gaps are already part of Mova’s reasoning style, and sampling creates another reason to preserve them.

Idea: Reuse probe work during expansion. Where: Section 4.4; Figure 4. Area: execution efficiency. Mova: частково є (the fast reader and mice share a document parse and retained graph). Where an analytical operation is safely incremental, Mova could retain partial aggregates from a preliminary pass and extend them over additional evidence. This is distinct from reusing a linguistic interpretation without checking compatibility. Why Mova: small diagnostic executions would then contribute to the final calculation rather than becoming discarded overhead.

Idea: Match physical layout to evidence access. Where: Sections 2.2.1 and 3.1. Area: storage. Mova: частково є (dictindex uses lemma shards, compressed blocks, and directory-selected records). BlinkDB’s grouped storage suggests measuring whether common evidence selectors benefit from locality within existing payload layouts. The transfer concerns access cost, not a claim that linguistic categories should determine physical storage automatically. Why Mova: selector performance depends in part on the blocks visited, which the documented index already exposes.

Idea: Decompose compound requests with explicit budget composition. Where: Section 4.1.2. Area: planning and mathematics. Mova: частково є (math::steps and deduct decompose tasks with justifications). An analytical request split into subqueries needs a rule for combining their time and uncertainty requirements. BlinkDB describes this need for disjunctive predicates, but does not establish a general composition rule for Mova. Why Mova: bounded subtasks are only sufficient when their combined outcome still satisfies the parent request.

Idea: Restrict statistical promises to supported operations. Where: Section 2.1 and Table 2. Area: mathematics. Mova: частково є (math uses exact typed quantities; groupants declare domains and conformance profiles). Any statistical extension should declare which aggregates have justified estimators and uncertainty calculations. Unsupported operations should retain a gap instead of inheriting a confidence label from a neighboring operation. Why Mova: operation-specific contracts fit the system’s existing preference for explicit limits.

Idea: Compare methods at equal preparation cost. Where: Section 6.3. Area: evaluation design. Mova: вже є (matched comparisons, controls, and regression gates in README.md and the documented rule audits). BlinkDB’s equal-storage comparison supplies a concrete experimental pattern for corpus retrieval: hold the evidence budget fixed while changing the selection policy. Why Mova: this would help distinguish a better selection rule from an improvement caused simply by retaining more data.

Idea: Evaluate both fixed-time quality and fixed-quality time. Where: Sections 6.3.1 and 6.3.2. Area: evaluation. Mova: частково є (dictindex reports retrieval timing and coverage; Mova distinguishes exact and approximate execution). A proposed sampled service could be tested under a common deadline and under a common statistical target. These answer complementary practical questions. Why Mova: a method can look attractive on latency while providing weak evidence, or look accurate while requiring too much work.

Idea: Test requested constraints against observed behavior. Where: Section 6.4; Figures 8(a)–8(b). Area: evaluation. Mova: частково є (tools/twin compares predictions with measured runs; jobs record estimates and actual resource use). A worker’s declared budget should be compared with its observed completion time and any measured statistical target. The digest does not establish BlinkDB-style error calibration. Why Mova: retaining the original request beside the outcome makes a claimed execution contract testable.

Idea: Retain variation across requests and repetitions. Where: Section 6.4. Area: statistical reporting. Mova: частково є (repeated-result hashes and bounded-probe measurements in dictindex; deterministic repeat checks across Mova). BlinkDB’s minimum, maximum, and average reporting suggests recording difficult requests alongside central performance. Repeating deterministic output checks serves a different purpose from measuring variable execution latency. Why Mova: an average can conceal operational cases that repeatedly miss their budget.

Idea: Separate data residency from algorithmic benefit. Where: Sections 6.2 and 6.5. Area: performance evaluation. Mova: частково є (dictindex distinguishes cache scope and excludes process startup from specified measurements). A retrieval comparison could identify whether evidence is cached, read from storage, or mixed. Why Mova: this would make it harder to attribute a cache advantage to a new linguistic or statistical method.

Idea: Evaluate selective and broad workloads separately. Where: Section 6.5. Area: scalability. Mova: частково є (dictindex notes that selector rarity and visited blocks affect latency). Tests could distinguish requests that retrieve a narrow context from requests that summarize substantial corpus coverage. BlinkDB’s workload distinction should be adapted to Mova’s access patterns rather than copied as a universal classification. Why Mova: these requests stress different parts of storage and execution.

Idea: Reduce candidate spaces using declared structural constraints. Where: Section 3.2.2. Area: combinatorial search. Mova: частково є (source-bound groupants and finite correspondence scanning in docs/hybrid-system.md). When searching among possible prepared views, Mova could exclude combinations that cannot support any admitted request structure. Any further size restriction should be reported as a heuristic. Why Mova: this preserves the distinction between justified pruning and a practical search cap.

Idea: State the assumptions behind approximation bounds. Where: Appendix A, Lemmas A.1–A.2. Area: mathematical verification. Mova: вже є (groupant conformance profiles and explicit domains in docs/hybrid-system.md). BlinkDB’s proofs show why a bound needs conditions about access cost, sample behavior, and uncertainty scaling. Mova could use this as a pattern for reviewing analytical approximants. Why Mova: a numerical bound is useful only when the execution remains inside the domain where it was justified.

Idea: Keep maintenance work subordinate to active tasks. Where: Section 4.5. Area: scheduling. Mova: частково є (resource-limited jobs and configured worker execution in docs/architecture.md). Sample refresh or index preparation could be scheduled as interruptible background work with an explicit resource allocation. The digest does not establish BlinkDB’s particular idle-capacity policy. Why Mova: preparation should improve future work without unexpectedly delaying current bounded tasks.

Idea: Preserve the distinction between exploration and admission. Where: Sections 2 and 4.3, approximate query results. Area: knowledge governance. Mova: вже є (dictindex labels do not admit dictionary entries; mova-enrich stages drafts separately from admission). A fast sampled result could guide which evidence a dictionary worker investigates next, while admission continues to require the existing reviewed witnesses and provenance. Why Mova: this gives approximation a useful operational role without treating an estimate as an admitted meaning or logical proof.

The problem and its context

The paper begins from a familiar analytical pattern: many records must be condensed into a small answer. A service stores events, sessions, transactions, or requests. An analyst groups those records by attributes and computes a count, total, average, or other aggregate. The output may contain only a modest collection of values, yet obtaining it exactly can require examining a substantial portion of the underlying database.

That mismatch becomes costly when the question is urgent. The authors describe applications involving advertising decisions, financial comparisons, and diagnosis of poor service quality. In each case, the exact question can depend on a recent event. A fixed report prepared beforehand may not answer it, and a result delivered after a lengthy scan may arrive too late to guide the intended decision.

The motivating scale is concrete. The paper says that calculating an average over 10 terabytes distributed across 100 machines can require 30 − 45 minutes with Hadoop when the input resides on disk. Even when the input is held in memory, it gives a range of 5 − 10 minutes. These are motivating estimates instead of the later controlled benchmark, but they explain why faster execution of complete data does not necessarily provide an interactive experience.

The authors observe that users already compromise informally. They may inspect a short time interval or take an arbitrary sample. Such choices reduce work, but they do not automatically provide a defensible account of how the answer relates to the complete dataset. BlinkDB turns this informal compromise into an explicit system interface, with preparation, estimation, and reported uncertainty.

Why a uniform sample is insufficient

Uniform sampling gives each original row the same inclusion probability. That is an attractive starting point because the selection rule is simple and supports familiar estimators. For broad aggregates over suitably behaved populations, a relatively small sample can provide useful evidence.

The problem appears when a query concerns an uncommon subgroup. If a city, device category, or combination of attributes occurs infrequently, a uniform sample may retain too few matching rows to estimate its aggregate precisely. Expanding the uniform sample can eventually supply more evidence, but doing so increases processing cost.

A more serious failure occurs when the subgroup is absent from the sample. The query then lacks a result row for that group. This is different from returning an imprecise numerical value: the output may not reveal that the group exists. The paper calls attention to this missing-group problem alongside ordinary estimation error.

Stratification changes the distribution of retained evidence. BlinkDB caps the number of retained rows for each value combination associated with a sample family. Uncommon combinations can therefore remain fully represented while common combinations are sampled. This addresses a representational imbalance, although it also means that different retained rows can have different inclusion probabilities.

How the paper positions earlier approaches

The authors distinguish systems that accelerate complete processing from systems that reduce processing through approximation. In the former category, they discuss Spark, Dremel, and Shark. Their argument is that memory and parallelism help substantially, but growing data still requires corresponding resources, while distributed communication can remain expensive.

Within approximate processing, they distinguish offline preparation from online aggregation. Online aggregation repeatedly improves an estimate while the query runs, allowing a user to stop when the result is sufficient. The paper’s objection concerns the need to encounter records in random order and the difficulty of accommodating that requirement efficiently in distributed execution.

BlinkDB instead prepares samples that can be physically organized for efficient access. Knowing the available sample sizes also gives the engine information before the main execution begins. The authors argue that this helps resource allocation and permits the use of established query optimization techniques.

The paper also compares its preparation strategy with earlier sample-based systems. It characterizes STRAT as selecting a single stratified sample using the exact rows accessed by prior queries. SciBORQ prepares biased evidence for exploratory scientific analysis, but the authors describe it as offering time constraints without the error guarantees targeted by BlinkDB. The single-column approach discussed from Babcock and colleagues differs from BlinkDB’s use of multidimensional families and runtime selection.

Finally, the authors discuss specialized summaries, including histograms, sketches, and wavelets. They regard such structures as potentially complementary. Their objection is that supporting varied operators or query types can require different specialized preparation, whereas row samples retain a broadly usable table representation.

The method, step by step

BlinkDB has an offline preparation path and an online execution path. Preparation decides what evidence should be ready before a request arrives. Execution chooses among that evidence using the current query and its declared constraint. The design is easiest to understand by following the lifecycle from source data to reported aggregate.

From stored data to a bounded approximate answer

The steps in order.

From stored data to a bounded approximate answerStep 1: Collect data statistics and query templates1. Collect data statistics and query templatesStep 2: Choose sample families within storage limits2. Choose sample families within storage limitsStep 3: Build nested uniform and stratified samples3. Build nested uniform and stratified samplesStep 4: Probe samples with the incoming query4. Probe samples with the incoming queryStep 5: Select a family and suitable resolution5. Select a family and suitable resolutionStep 6: Execute while reusing intermediate results6. Execute while reusing intermediate resultsStep 7: Correct aggregates and report uncertainty7. Correct aggregates and report uncertainty

Define the supported request

A user submits an SQL-style aggregation query with an additional requirement. In the error-constrained form, the requirement includes an error tolerance and a confidence level. The error may be relative to the answer or expressed as an absolute quantity. In the time-constrained form, the user specifies a deadline and asks the system to return the most accurate estimate it can provide within that allowance.

The paper’s session example asks for counts grouped by operating system after filtering on a media genre. Its accuracy-oriented version requests relative error of 10% at confidence 95%. Its time-oriented version gives the engine 5 seconds and asks it to report relative uncertainty at the same confidence level.

These requests imply different selection problems. With an error requirement, the engine seeks a sufficiently informative sample while avoiding unnecessary work. With a time requirement, it seeks the most informative sample that its execution estimate places inside the available time.

The supported statistical operators are deliberately limited. The authors focus on counts, sums, means, and medians or quantiles. They discuss extensions to combinations of these operations through earlier uncertainty-propagation work, but the experimental system should be understood through the operators and assumptions actually described.

Identify recurring query structure

Preparation uses historical query templates. A template records which columns appear in filtering and grouping clauses, while omitting the specific constants in the predicates. The paper treats columns from a HAVING clause as part of the filtering information for this purpose.

This abstraction is central to the claim of supporting ad-hoc queries. A previous request involving a particular city can justify preparing evidence around the city column without requiring future requests to name that same city. The engine prepares for recurring dimensions of analysis, instead of caching answers to exact questions.

The authors assume that these structural patterns remain reasonably stable. They cite earlier workload observations and their own Conviva trace as motivation. They do not assume knowledge of the future predicate values, and they allow runtime queries whose templates were not included in preparation.

Build a capped stratified sample

Let T denote the original table, and let φ denote a selected set of columns. A value x for φ is a tuple containing a value for each selected column. The function F records how often that tuple occurs.

F(φ, T, x)

Here, φ identifies the columns, T identifies the table, and x identifies the joint value whose frequency is counted. The expression denotes an occurrence count, rather than a probability.

For a cap K, the stratified sample S(φ, K) retains all rows belonging to a value combination whose original frequency does not exceed K. For a more frequent combination, it retains K randomly selected rows. The sample still contains the original table’s columns; φ determines the sampling groups, not the set of stored fields.

This distinction matters at runtime. A sample stratified on browser can still answer a query involving city because city remains in each retained row. What changes is the quality and completeness of the evidence for that query. Stratifying on one attribute does not guarantee strong representation of every group defined by another.

A family contains several caps for the same column set.

SFam(φ) = {S(φ, Kᵢ) | 0 ≤ i < m}

SFam(φ) is the family associated with φ. Each Kᵢ is a cap used to construct a member sample, i indexes that member, and m is the number of members. The purpose is to expose different evidence resolutions for the same grouping design.

The authors choose geometrically spaced caps.

Kᵢ = ⌊K₁ / cⁱ⌋

K₁ denotes the largest cap in this presentation, c is the factor separating successive resolutions, and the floor brackets indicate downward rounding. The important design choice is geometric spacing: a family offers progressively smaller or larger options without needing every possible cap.

Make several logical sizes share storage

The family is nested. Rows belonging to a smaller resolution also belong to the appropriate larger resolution. Accordingly, maintaining multiple logical sample sizes need not require separately storing each one in full.

BlinkDB maps logical samples to physical blocks. A larger logical sample includes the blocks of smaller members and adds further blocks. The system retains the metadata needed to interpret these relationships.

The rows are also organized according to the stratification columns. Grouping related values physically allows a query to access relevant rows sequentially. This layout is part of the performance argument: the sampling strategy and the storage arrangement are designed together.

The same arrangement supports reuse. If a preliminary execution has already processed the smallest member, moving to a larger member need not repeat that work. The engine can process additional blocks and combine the new intermediate information with what it retained from the probe.

Choose which column combinations deserve families

Maintaining a family for every possible combination is infeasible. Combining columns can increase the number of distinct joint values, which increases the amount of data needed to preserve those groups. The candidate space also grows combinatorially.

BlinkDB therefore formulates preparation as a storage-constrained optimization. Its inputs include a measure of distribution imbalance, weighted query templates, and the storage cost of each candidate family.

The paper uses a tail-oriented non-uniformity measure.

Δ(φ) = |{v ∈ D(φ) : F(φ, T, v) < K}|

D(φ) is the set of distinct joint values appearing in columns φ. The variable v ranges over those values. F is the frequency function, T is the original table, and K is the largest cap for the family under consideration. The surrounding bars count how many values satisfy the condition. Thus Δ(φ) counts values that occur below the cap.

The intuition is that a column combination with many uncommon values has a long tail that a uniform sample may represent poorly. The paper allows other skew measures in principle. Its chosen quantity should be read as the particular preparation heuristic used in the formulation, rather than as a universal definition of skew.

Each historical template has a weight, representing normalized frequency or importance. A coverage variable describes how well the selected families serve that template. The objective is:

G = Σᵢ₌₁ᵐ wᵢ · yᵢ · Δ(φTᵢ)

G is the quantity being maximized. The index i ranges across m templates. The symbol wᵢ is the template’s weight, yᵢ is its estimated coverage, and φTᵢ is its filtering-and-grouping column set. Δ contributes the tail-oriented importance of that set.

The storage constraint is:

Σⱼ₌₁ᵅ Store(φⱼ) · zⱼ ≤ S

The candidates are indexed by j, and α is their number. Store(φⱼ) is the storage required for the family on candidate φⱼ. The binary decision zⱼ indicates whether that family is selected. S is the overall storage allowance.

The displayed coverage condition is:

yᵢ ≤ maxφⱼ⊆φTᵢ (|D(φⱼ)| · zⱼ / |D(φTᵢ)|)

The maximum considers candidate column sets contained in the template’s column set. D again denotes distinct joint values. The ratio compares the candidate’s number of distinct values with the template’s number, and zⱼ makes an unselected family contribute no coverage. The authors explicitly use this ratio as an approximation to coverage because the relevant probability is difficult to calculate directly.

The objective consequently rewards families that serve important, skewed templates within the budget. It does not directly minimize every individual query’s error. That distinction later explains why a single-column configuration can occasionally outperform the selected multidimensional configuration for a particular template.

Keep optimization manageable

The authors first restrict candidates to column combinations contained in at least one historical template. Within the stated formulation, they argue that a column never occurring with the relevant others can be removed without affecting template support.

A further practical restriction limits the number of columns in a candidate. This addresses workloads whose templates would otherwise produce too many combinations. The paper describes limiting candidates to 3 or 4 columns as a useful practical restriction, and its main multidimensional comparison uses no more than 3.

The reported optimizer experience is mixed in an informative way. Some problems with O(10⁶) variables are solved within 6 seconds. In the evaluation’s sample-selection setting, allowing combinations of four or more columns makes optimization take longer than a minute. Candidate size therefore remains an engineering choice with a measurable preparation cost.

Adapt preparation without replacing everything

Data distributions and workload patterns can change. BlinkDB periodically updates its statistics and can rerun the optimization. The paper describes the current statistics refresh as daily.

Replacement has its own budget. An administrator can limit the storage-weighted amount of sample creation and deletion:

Σⱼ₌₁ᵅ (δⱼ − zⱼ)² · Store(φⱼ) ≤ r · Σⱼ₌₁ᵅ δⱼ · Store(φⱼ)

The indicator δⱼ records whether family j already exists, while zⱼ records whether the new solution selects it. Their squared difference identifies a changed decision. Store gives the family’s size, and r controls the allowed amount of change relative to existing stored families.

This adds a maintenance concern to the preparation objective. A newly attractive set of families may not be worth constructing immediately if doing so would discard too much useful existing state. The restriction makes that transition cost explicit.

Select a family using the incoming query

For a query whose predicates are conjunctive, BlinkDB first checks whether a prepared family contains all the relevant filtering and grouping columns. When several do, it chooses the one with the smallest column set.

If none covers the query in this way, BlinkDB runs the query on the smallest members of the available families. It compares the number of rows selected with the number examined and chooses the family with the most favorable ratio.

The rationale is operational and statistical. Examined rows contribute processing cost, while selected rows provide evidence for the requested aggregate. The paper also explains why it considers families whose stratification columns are not confined to the query’s own columns: correlations can make those families useful.

For disjunctive predicates, the authors describe rewriting the request into conjunctive subqueries and assigning component constraints so their combined result satisfies the parent request. This is an important composition requirement. The paper’s account is less detailed here than its treatment of the main conjunctive path.

Estimate the resolution required for the request

Once the family is selected, the engine builds an Error-Latency Profile from small executions. It estimates query selectivity, relevant sample statistics, and processing behavior.

Selectivity is the fraction of examined sample rows that satisfy the filter.

s_q = n / N

The symbol s_q is query selectivity, n is the number of matching rows, and N is the number of rows considered in the sample. The distinction is essential: a large sample can still provide little useful evidence for a highly selective predicate.

For common supported estimators, the paper uses variance behavior proportional to the inverse of the matching evidence count.

Var ∝ 1 / n

Var denotes estimator variance, and n is the relevant number of sampled observations. The proportionality indicates scaling behavior; the operation and data distribution determine the remaining factors.

The corresponding standard-deviation behavior is:

SD ∝ 1 / √n

SD denotes standard deviation. This relation explains why tighter uncertainty generally requires more matching observations and why the preliminary estimate of selectivity matters.

For a mean, the basic estimator is:

X̄ = Σᵢ Xᵢ / n

Xᵢ is an observed value, n is the number of observations, and X̄ is their average. The paper associates mean estimation with sample variance, while its quantile calculation also depends on the data density near the requested quantile.

For a count estimated from a uniform sample, the displayed calculation has the form:

Ĉ = (N / n) · Σᵢ Iᵢ

Ĉ is the estimated population count, N is the population size, n is the sample size, and Iᵢ indicates whether sampled row i satisfies the condition. The notation is local to this estimator: unlike the selectivity expression, N here refers to the complete population.

For a requested quantile, the paper uses interpolation between ordered sample values.

x̂_p = x⌊h⌋ + (h − ⌊h⌋) · (x⌈h⌉ − x⌊h⌋), h = p · n

The quantity x̂_p estimates quantile p. The sample contains n ordered observations, x with a subscript denotes an ordered value, and h identifies the interpolation position. Floor and ceiling choose the neighboring positions. The paper’s uncertainty expression for this operation depends on the probability density around the quantile, making its estimation problem different from simply counting matches.

Using such statistical quantities, BlinkDB estimates the matching-row requirement for an error target and chooses a sufficiently large family member. For a deadline, it instead estimates how much input can be processed in time and chooses a suitably smaller member.

The latency extrapolation assumes approximately linear growth over the useful operating region. To avoid treating very small cached executions as representative of larger runs, the engine tries small samples until it observes behavior suitable for linear extrapolation.

Correct for disproportionate representation

A stratified sample cannot generally be expanded using a single global multiplier. Different groups may have different retention probabilities. BlinkDB therefore tracks effective sampling rates for retained rows.

The paper’s example stratifies session records by browser while asking for city totals. Some browsers are retained completely; a frequent browser is sampled. Each retained session contribution must be corrected using its own effective rate.

This correction supports unbiased estimation in the statistical sense discussed by the authors: the expected estimate across repeated sampling agrees with the complete-data quantity. It does not make every realized estimate exact, and it does not recreate a missing city group if the retained rows contain none of that city.

Maintain samples outside the critical path

New data triggers sample creation or updates. Separately, background replacement addresses the possibility that a stored sample is unrepresentative.

The authors use a parallel binomial-sampling framework for initial creation and replacement. Replacement is assigned low priority, uses limited spare scheduling capacity, and can be suspended when other work requires the cluster.

The implementation builds on Hive, supports Hadoop MapReduce and Spark execution through Shark, and stores data in HDFS. Changes include the query interface, sample selection, uncertainty propagation through supported aggregates, and metadata linking logical samples to physical blocks. These components make the statistical design operational instead of leaving sample choice as an external manual step.

Experiments and results

The evaluation investigates whether the complete system is useful and whether its individual design choices matter. The authors compare approximate execution with complete-data execution, compare sampling strategies under a shared storage constraint, test requested latency and error targets, and examine behavior as cluster size changes.

Data and infrastructure

The cluster contains 100 Amazon EC2 extra-large instances. Each instance has 8 CPU cores running at 2.66 GHz, 68.4 GB of memory, and 800 GB of disk. The configuration provides 75 TB of distributed disk capacity and 6 TB of distributed memory caching.

The Conviva source logs cover media access and support operational diagnosis and analytics. The collected portion used as the starting point is 1.7 TB and comes from data gathered across 30 days. The authors use its distribution to generate the 17 TB experimental dataset, which contains about 5.5 billion rows.

The large fact table contains 104 columns. These include service and user attributes, locations, media identifiers, and timing information. That diversity matters because BlinkDB’s preparation must choose among many possible dimensions of analysis.

The raw trace contains 19, 296 queries. Preparation uses about 200 queries representing 42 templates. Different experiments select different query subsets, so the headline findings should not be read as a single exhaustive execution of every trace entry under every condition.

The TPC-H experiments use 1 TB at scale factor 1000 on the same cluster. Its 22 queries map to 6 templates. This adds a standard benchmark, although the evaluation is more extensive for Conviva.

The authors examine storage allowances of 50%, 100%, and 200%. Unless stated otherwise, experiments permit samples to consume additional storage up to 50% of the original dataset’s size. Within each family, successive resolutions double in size, and the stratification setting uses K equal to 100, 000.

Approximation versus complete-data execution

The complete-processing comparison uses Conviva subsets of 2.5 TB and 7.5 TB. These sizes are chosen to expose the effect of memory capacity: the smaller input can fit in aggregate cache, whereas the larger one cannot be fully retained there.

The query averages session duration, filters by date, and groups by city. BlinkDB receives a 1% error requirement for each grouping key at confidence 95%. The comparison includes Hive on Hadoop and Shark, with cached and uncached execution.

Each query is repeated 10 times, and the reported latency is an average. BlinkDB completes in a few seconds. The paper characterizes the improvement over the complete-processing alternatives as 10 − 100×.

For the cached 2.5 TB Shark run, the text gives a runtime of about 112 seconds. The larger input spills partly to disk and takes longer. The comparison therefore illustrates both an advantage from avoiding a full scan and the sensitivity of full-data execution to whether the input fits in memory.

The methods are not returning identical information. The complete executions calculate the full-data aggregate, whereas BlinkDB returns a statistical estimate under its requested error setting. The practical finding is the size of the latency opportunity when that approximation is acceptable.

Sample design under a common storage allowance

The sampling comparison holds the storage constraint at 50%. The alternatives are uniform sampling, optimized single-column stratification, and optimized multidimensional stratification. The multidimensional candidates contain no more than 3 columns.

For the Conviva error comparison, the authors use 40 queries spanning 5 templates over the 17 TB input. They allow each query 10 seconds and compare statistical error at confidence 95%. They also run a corresponding comparison using TPC-H queries on the lineitem table, adapted to HiveQL.

The text reports lower error for multidimensional samples on common templates. It also acknowledges cases in which single-column samples are better for a particular template. This is consistent with optimizing weighted expected coverage rather than guaranteeing the best result for each request independently.

The convergence experiment asks about average session duration for an Internet service provider’s users across 5 US Cities. It measures how long each strategy takes to reach specified error levels at confidence 95%. The authors report substantially faster convergence for multidimensional stratification, including orders-of-magnitude improvement over random sampling.

Exact per-template values are not stated in the accompanying prose. The conclusions are therefore best expressed at the level the authors report, without assigning invented coordinates to the plotted curves.

Storage cost of protecting the tail

The appendix gives numerical storage fractions for a Zipf-distributed column set. The following comparison fixes the exponent at 1.5 and varies the cap. These are analytical storage results, separate from measured query latencies.

Stratified-sample storage at Zipf exponent 1.5

Retaining more rows per group increases the fraction of the original table stored.

Stratified-sample storage at Zipf exponent 1.5BlinkDB cap 10, 000 (this paper): 0.024BlinkDB cap 10, 000 (this paper)0.024BlinkDB cap 100, 000: 0.052BlinkDB cap 100, 0000.052BlinkDB cap 1, 000, 000: 0.114BlinkDB cap 1, 000, 0000.114
The numbers
System or settingfraction of original table size
BlinkDB cap 10, 000 (this paper)0.024
BlinkDB cap 100, 0000.052
BlinkDB cap 1, 000, 0000.114

The star identifies the lowest-storage setting in this comparison. It does not identify the setting with the most precise answers. A smaller cap reduces retained evidence for frequent groups, so storage and estimation quality must be considered together.

For the Conviva data, the paper says that families on popular attributes such as city and customer incur less than 10% overhead individually at K equal to 10⁵. This supports the feasibility of retaining several selected families, while leaving the total preparation choice subject to the overall budget.

Requested time and error targets

The constraint experiment selects 20 Conviva queries and repeats each 10 times. Requested response times range from 1 to 10 seconds. The paper reports minimum, maximum, and average observed latency across the query set and concludes that runtime selection generally tracks the requested target.

For error-constrained execution, the requested error varies from 2% to 32%. The observed error is nearly always no greater than the requested level. As the permitted error increases, the observed values move closer to the limit.

The authors explain that behavior through smaller selected samples and wider uncertainty at the more permissive settings. The qualification “almost always” matters: this is an empirical assessment of the selection procedure, not evidence that every query execution obeys a deterministic bound.

Scaling with cluster size

The scaling experiment uses separate selective and bulk workload suites, each containing 40 distinct Conviva queries. Selective requests touch a relatively small relevant portion of the input. Bulk requests operate across substantially more distributed evidence and incur greater communication costs.

Input grows with cluster size according to the paper’s expression 100n GB, where n is the number of nodes. It gives 1 TB for a 10-node configuration and around 10 TB for a 100-node configuration.

The authors evaluate samples entirely cached in memory and samples completely on disk. These cases bracket the data-residency conditions they want to explore, although real execution can mix the two. The experiment examines scale under increasing data as well as increasing resources; it is not a fixed-input speedup study.

What the ablations show

The paper offers component comparisons instead of a comprehensive sequence in which every mechanism is individually removed. Its most informative controls concern sampling dimensionality, equal storage, cache residency, and the relationship between requested and observed constraints.

Multidimensional representation has value beyond sample size

The strongest design comparison holds preparation storage constant while changing the sampling strategy. Uniform sampling, single-column stratification, and multidimensional stratification each receive the same storage allowance.

This control matters because storing more evidence would otherwise offer an obvious alternative explanation for improved results. Under the shared allowance, the multidimensional configuration uses its evidence differently. It preserves combinations of attributes that are relevant to queries and vulnerable to poor representation.

The fixed-time experiment then asks how much uncertainty remains after equal execution time. The convergence experiment asks how long it takes to reach a statistical target. Taken together, they support the claim that the selected multidimensional samples improve the useful evidence available per unit of work.

The occasional template-level advantage for single-column sampling is equally informative. The optimized configuration is a portfolio serving a workload. A portfolio can be superior under its weighted objective without dominating every individual task.

Caching does not eliminate the reason to sample

The complete-data comparison includes Shark execution with caching. This tests whether BlinkDB’s advantage is merely an artifact of comparing against disk-bound execution.

Caching substantially improves the smaller complete-data run, but BlinkDB remains faster because it processes less input. When the dataset exceeds cache capacity, the complete-data path suffers additional storage access.

The comparison supports a complementary relationship: caching accelerates access to selected evidence, while sampling reduces the evidence that must be accessed. It does not establish that every sampled execution is preferable to every cached exact execution, because acceptable error and query structure remain relevant.

Runtime selection is tested through its final decisions

Figures 8(a) and 8(b) evaluate the consequence of runtime selection rather than only the accuracy of an intermediate predictor. Users request a time or error constraint, the engine chooses a sample, and the experiment measures the resulting behavior.

This is useful evidence because a good preliminary estimate is valuable only if it leads to an appropriate execution choice. The reported results support that connection for the tested queries.

The analysis does not separately isolate every possible source of selection error. Family choice, selectivity estimation, runtime extrapolation, and statistical estimation all contribute to the final result. The experiment evaluates their combined operational outcome.

The theoretical analysis isolates resolution spacing

The appendix studies what is lost by offering geometrically separated sample sizes rather than every possible size. For an error-constrained, I/O-bound query, the stated latency factor is:

c + 1 / Kopt

Here, c is the spacing factor between available caps, and Kopt is the cap of the ideal-sized stratified sample. The result depends on assumptions including monotonic behavior, grouped sequential access, and I/O-dominated execution.

For a time-constrained query, the appendix gives a standard-deviation factor:

1 / √(1 / c − 1 / Kopt)

The symbols retain the same roles. This result additionally relies on the assumed relationship between evidence count and standard deviation.

These statements explain why a finite family can approximate an ideal resolution under the analysis. They do not prove that the runtime selector always chooses correctly or that distributed latency remains inside a requested deadline under every operating condition.

Limitations

BlinkDB’s title describes an ambitious interface, but the paper supplies several boundaries on what that interface means. Some are explicit author qualifications. Others follow from the experimental design and should remain distinct from claims the authors directly make.

Author-stated limits on statistical guarantees

The most consequential qualification concerns offline sample reuse. A stored random sample can be unrepresentative for a particular query. If that happens, executing the same query repeatedly against that sample does not create fresh independent evidence.

The authors explicitly acknowledge that such a query can repeatedly miss its intended error target. The usual sampling interpretation concerns variation across random draws, whereas the system normally reuses an existing draw to achieve low latency.

Background replacement is their operational response. It changes the retained samples over time without forcing every query to pay for resampling the entire source. This is a practical mitigation, but the paper does not turn it into an unconditional per-query guarantee.

The distinction also affects how confidence should be understood. A confidence setting is attached to a statistical procedure and its assumptions. It should not be read as a certainty label covering every answer returned from a fixed stored sample, regardless of query selection or repeated reuse.

Author-stated scope of supported computation

The system concentrates on a limited group of aggregates with available uncertainty calculations. The authors discuss broader combinations through earlier work, but they do not demonstrate arbitrary uncertainty propagation for every possible user-defined function.

Join support is conditional. A suitable stratified sample must include the join key, or a join operand must fit in memory under the alternative supported case. The paper also describes a corresponding condition involving enough suitable samples for more general multiway joins.

These conditions matter because sample-based join estimation is not interchangeable with estimating a simple aggregate from one table. The retained representation must support the relationship between operands, rather than merely providing a convenient subset of each.

Workload preparation also relies on structural stability. The system can execute unseen templates, but the chosen families are influenced by historical templates. Probing the existing families cannot guarantee that preparation has preserved a particularly informative representation for every future question.

Author-stated approximation in preparation and execution

The coverage quantity used in optimization is a surrogate. The authors explain that computing the desired coverage probability is difficult, so they approximate it using distinct-value counts.

The chosen tail count is likewise a preparation metric. It emphasizes values below a cap, but it does not directly encode every property relevant to the uncertainty of every aggregate. A useful optimization objective need not be a complete statistical description of the workload.

Runtime prediction introduces another approximation. BlinkDB uses observed small executions and approximately linear scaling to estimate a larger execution’s cost. The authors themselves motivate probing by noting that machine load, network behavior, data placement, and query complexity make latency difficult to predict.

The theoretical spacing bounds have narrower assumptions than the whole deployed system. In particular, the I/O-bound analysis should not be generalized to every compute-heavy, communication-heavy, or irregular execution.

Limits visible in the evaluation

The main Conviva dataset is generated using the distribution of a smaller collected dataset. That provides a controlled large-scale workload, but it does not establish behavior under every kind of naturally evolving production data.

The evidence for constraint satisfaction comes from selected query sets. The time-and-error experiment is informative, yet it is not an exhaustive test of all possible predicates over the fact table.

The reported statistical error and the practical quality of a decision are also different outcomes. The motivating examples concern diagnosis and business action, while the experiments primarily measure query latency, uncertainty, and convergence. They do not directly measure the downstream quality of operational decisions made from the answers.

Similarly, a reported range of accuracy should not be interpreted as a universal property of BlinkDB. It belongs to the evaluated workloads, sample preparation, available resources, and statistical assumptions.

The scaling setup increases input with cluster size. It therefore addresses behavior under growing resources and data together. A reader seeking fixed-dataset acceleration, robustness to interference from unrelated users, or detailed tail-latency guarantees would need additional experiments.

Preparation and maintenance are real costs

Samples require storage and construction time. The implementation discussion says uniform samples are usually created within a few hundred seconds, while stratified creation takes 5 − 30 minutes depending on distinct values and data movement.

These costs are paid outside the main interactive query path, but they remain part of the system’s total resource use. A workload that changes faster than useful samples can be maintained could weaken the advantage of offline preparation.

The storage chart also illustrates a genuine compromise. Preserving more evidence per group increases storage. Preserving many joint groups can make multidimensional families expensive. The optimizer manages that compromise; it does not remove it.

The distinction between missing evidence and wrong evidence remains important

Stratification improves representation for the groups on which it is defined. It does not guarantee completeness for every grouping later requested. The browser-stratified city example demonstrates this directly: correcting inclusion probabilities does not produce a city result when no retained row represents that city.

Accordingly, a seemingly well-calibrated numerical estimate for returned groups does not by itself establish complete result coverage. Applications must understand both the estimate’s uncertainty and the population or groups that the available evidence actually represents.

This boundary is especially important when transferring BlinkDB’s ideas beyond numerical analytics. A sampled collection of linguistic examples can support an exploratory frequency estimate under suitable assumptions. It cannot, merely by being sampled and weighted, establish that every relevant meaning, exception, or logical case has been covered.

What came after

The later citing work identified here is Analysis of Large-Scale Multi-Tenant GPU Clusters for DNN Training Workloads, published in 2019. Its title places it in the study of shared GPU infrastructure and training workloads. That establishes a later citation across a different computational setting, but the bibliographic information does not explain how it uses BlinkDB.

It would therefore be unjustified to claim that the later study adopts stratified sample families, runtime error estimation, or BlinkDB’s query interface. A citation can acknowledge related thinking without implementing the cited mechanism.

The defensible connection is limited but useful. BlinkDB makes resource allocation depend on observed workload behavior and an explicit service objective. Those are questions that can arise beyond SQL analytics, including shared computational infrastructure. Whether the later GPU-cluster study develops that connection, cites BlinkDB for another reason, or makes a more specific methodological comparison requires evidence from that study. The established result here remains BlinkDB’s own: carefully prepared samples and query-time measurement can make large-scale aggregate exploration substantially faster when an explicitly qualified approximation is acceptable.

Cite

Cite as Sameer Agarwal, Aurojit Panda, Barzan Mozafari, Samuel R. Madden and Ion Gabriel Stoica. 2012. BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1203.5485 · arXiv 1203.5485

@misc{agarwal2012blinkdb,
  title = {{BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data}},
  author = {Sameer Agarwal, Aurojit Panda, Barzan Mozafari, Samuel R. Madden and Ion Gabriel Stoica},
  year = {2012},
  doi = {10.48550/arxiv.1203.5485},
  eprint = {1203.5485},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1203.5485}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/agarwal-2012-blinkdb-queries-bounded-errors-bounded/