• Home
  • Search
  • A cost model for random access queries in document stores
  • Cite Icon20
  • https://doi.org/10.1007/s00778-021-00660-xCopy DOI Icon

A cost model for random access queries in document stores

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Document stores have become one of the key NoSQL storage solutions. They have been widely adopted in different domains due to their ability to store semi-structured data and expressive query capabilities. However, implementations differ in terms of concrete data storage and retrieval. Unfortunately, a standard framework for data and query optimization for document stores is nonexistent, and only implementation-specific design and query guidelines are used. Hence, the goal of this work is to aid automating the data design for document stores based on query costs instead of generic design rules. For this, we define a generic storage and query cost model based on disk access and memory allocation that allows estimating the impact of design decisions. Since all document stores carry out data operations in memory, we first estimate the memory usage by considering characteristics of the stored documents, their access patterns, and memory management algorithms. Then, using this estimation and metadata storage size, we introduce a cost model for random access queries. We validate our work on two well-known document store implementations: MongoDB and Couchbase. The results show that the memory usage estimates have the average precision of 91% and predicted costs are highly correlated to the actual execution times. During this work, we have managed to suggest several improvements to document storage systems. Thus, this cost model also contributes to identifying discordance between document store implementations and their theoretical expectations.

Similar Papers
  • Research Article
  • Citations1

Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees

  • Jun 17, 2025
  • Proceedings of the ACM on Management of Data
  • Zichen Zhu +3
  • Research Article
  • Citations18

Window Query Processing in Linear Quadtrees

  • Sep 01, 2001
  • Distributed and Parallel Databases
  • Ashraf Aboulnaga +1
  • Conference Article
  • Citations11

CostCO: An automatic cost modeling framework for secure multi-party computation

  • Jun 01, 2022
  • Vivian Fang +5
  • PDF
  • Research Article
  • Citations3

Optimal heap limits for reducing browser memory use

  • Oct 31, 2022
  • Proceedings of the ACM on Programming Languages
  • Marisa Kirisame +2
  • Conference Article
  • Citations13

Dynamic external hashing

  • Aug 11, 2009
  • Zhewei Wei +2
  • Research Article

Rethinking the synthesis of buses, data mapping, and memory allocation for MPSoC

  • Jun 11, 2008
  • Design Automation for Embedded Systems
  • Brett H Meyer +1
  • Book Chapter
  • Citations1

A Cost Model for Spatial Intersection Queries on RI-Trees

  • Jan 01, 2004
  • Hans-Peter Kriegel +3
  • Book Chapter
  • Citations3

A Framework for Cost-Based Query Optimization in Native XML Database Management Systems

  • Jan 01, 2010
  • Andreas M Weiner +1
  • Conference Article
  • Citations5

Efficient Dictionary Compression for Processing RDF Big Data Using Google BigQuery

  • Dec 01, 2016
  • Omer Dawelbeit +1
  • Conference Article
  • Citations20

Tempas

  • Jan 01, 2016
  • Helge Holzmann +1
  • Research Article
  • Citations4

Practical Verification of Smart Contracts using Memory Splitting

  • Oct 08, 2024
  • Proceedings of the ACM on Programming Languages
  • Shelly Grossman +5
  • Research Article
  • Citations26

Effective Location Based Services with Dynamic Data Management in Mobile Environments

  • Dec 30, 2005
  • Wireless Networks
  • Shiow-Yang Wu +1
  • Research Article
  • Citations3

Cost Effective Approaches for Content Placement in Cloud CDN Using Dynamic Content Delivery Model

  • Jul 01, 2018
  • International Journal of Cloud Applications and Computing
  • S Sajitha Banu +1
  • Book Chapter
  • Citations1

Optimal Page Ordering for Region Queries in Static Spatial Databases

  • Jan 01, 2000
  • Dae-Soo Cho +1
  • Conference Article

Design of an embedded cost model for mobile queries

  • Jan 01, 2004
  • Mohammad Hussein +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.