Journal article · 2018 · Open access

A Cost Model for SPARK SQL

Lorenzo Baldacci, Matteo Golfarelli

IEEE Transactions on Knowledge and Data Engineering, 31(5), 819–832 · Published 25 June 2018 · DOI 10.1109/tkde.2018.2850339

Open PDFView at the publisherCite this paper

In brief

“A Cost Model for SPARK SQL” is a 2018 journal article by Lorenzo Baldacci and Matteo Golfarelli, published in IEEE Transactions on Knowledge and Data Engineering. OpenAlex counts 43 citations as of 30 November 2026, which puts it in the top 7% of works published in 2018 by citations. It is open access: the full text is free to read at Archivio istituzionale della ricerca (Alma Mater Studiorum Università di Bologna).

Citations
43
Most cited in
2021 (9)
Field-weighted impact
4.23
References
24
Authors
2

Abstract

In this paper, we propose a novel cost model for Spark SQL. The cost model covers the class of Generalized Projection, Selection, Join (GPSJ) queries. The cost model keeps into account the network and IO costs as well as the most relevant CPU costs. The execution cost is computed starting from a physical plan produced by Spark. The set of operations adopted by Spark when executing a GPSJ query are analytically modeled based on the cluster and application parameters, together with a set of database statistics. Experimental results carried out on three benchmarks and on two clusters of different sizes and with different computation features show that our model can estimate the actual execution time with about the 20 percent of errors on the average. Such an accuracy is good enough to let the system choose the most effective plan even when the execution time differences are limited. The error can be reduced to 14 percent, if the analytic model is coupled with our straggler handling strategy.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Baldacci, L., & Golfarelli, M. (2018). A Cost Model for SPARK SQL. IEEE Transactions on Knowledge and Data Engineering, 31(5), 819–832. https://doi.org/10.1109/tkde.2018.2850339

MLA 9

Baldacci, Lorenzo, and Matteo Golfarelli. “A Cost Model for SPARK SQL.” IEEE Transactions on Knowledge and Data Engineering, vol. 31, no. 5, 2018, pp. 819–832. https://doi.org/10.1109/tkde.2018.2850339.

Chicago

Baldacci, Lorenzo and Matteo Golfarelli. 2018. “A Cost Model for SPARK SQL.” IEEE Transactions on Knowledge and Data Engineering 31 (5): 819–832. https://doi.org/10.1109/tkde.2018.2850339.

Harvard

Baldacci, L. and Golfarelli, M. (2018) ‘A Cost Model for SPARK SQL’, IEEE Transactions on Knowledge and Data Engineering, 31(5), pp. 819–832. doi:10.1109/tkde.2018.2850339.

IEEE

L. Baldacci and M. Golfarelli, “A Cost Model for SPARK SQL,” IEEE Transactions on Knowledge and Data Engineering, vol. 31, no. 5, pp. 819–832, 2018, doi: 10.1109/tkde.2018.2850339.

BibTeX

@article{baldacci2018cost,
  title     = {{A Cost Model for SPARK SQL}},
  author    = {Baldacci, Lorenzo and Golfarelli, Matteo},
  journal   = {IEEE Transactions on Knowledge and Data Engineering},
  year      = {2018},
  volume    = {31},
  number    = {5},
  pages     = {819--832},
  doi       = {10.1109/tkde.2018.2850339},
  url       = {https://doi.org/10.1109/tkde.2018.2850339}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
201811
201966
202022
202199
202277
202333
202466
202533
202666

Its field-weighted citation impact is 4.23: it has been cited 4.23 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries

  • Spark SQL
  • cost model
  • CPU cost
  • query optimization
  • distributed query processing

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Baldacci, L., & Golfarelli, M. (2018). A Cost Model for SPARK SQL. IEEE Transactions on Knowledge and Data Engineering, 31(5), 819–832. https://doi.org/10.1109/tkde.2018.2850339

How many times has this paper been cited?

43 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at Archivio istituzionale della ricerca (Alma Mater Studiorum Università di Bologna): sign in and open the PDF from this page.

Who wrote this paper?

Lorenzo Baldacci, Matteo Golfarelli.

What is the DOI of this paper?

10.1109/tkde.2018.2850339, permanently at https://doi.org/10.1109/tkde.2018.2850339. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.