Lower Bounds for Processing Data with Few Random Accesses to External Memory

被引:7
|
作者
Grohe, Martin [1 ]
Hernich, Andre [2 ]
Schweikardt, Nicole [2 ]
机构
[1] Humboldt Univ, Inst Informat, D-10099 Berlin, Germany
[2] Goethe Univ Frankfurt, Inst Informat, D-60054 Frankfurt, Germany
关键词
Theory; Languages; Complexity; data streams; real-time data; query processing; query optimization; semi-structured data; XML; COMPLEXITY;
D O I
10.1145/1516512.1516514
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We consider a scenario where we want to query a large dataset that is stored in external memory and does not fit into main memory. The most constrained resources in such a situation are the size of the main memory and the number of random accesses to external memory. We note that sequentially streaming data from external memory through main memory is much less prohibitive. We propose an abstract model of this scenario in which we restrict the size of the main memory and the number of random accesses to external memory, but admit arbitrary sequential access. A distinguishing feature of our model is that it allows the usage of unlimited external memory for storing intermediate results, such as several hard disks that can be accessed in parallel. In this model, we prove lower bounds for the problem of sorting a sequence of strings (or numbers), the problem of deciding whether two given sets of strings are equal, and two closely related decision problems. Intuitively, our results say that there is no algorithm for the problems that uses internal memory space bounded by N1-epsilon and at most o( log N) random accesses to external memory, but unlimited "streaming access", both for writing to and reading from external memory. (Here, N denotes the size of the input and e is an arbitrary constant greater than 0.) We even permit randomized algorithms with one-sided bounded error. We also consider the problem of evaluating database queries and prove similar lower bounds for evaluating relational algebra queries against relational databases and XQuery and XPath queries against XML-databases.
引用
收藏
页数:58
相关论文
共 50 条
  • [21] On lower bounds for the variance of functions of random variables
    Faranak Goodarzi
    Mohammad Amini
    Gholam Reza Mohtashami Borzadaran
    Applications of Mathematics, 2021, 66 : 767 - 788
  • [22] Upper and lower bounds for sums of random variables
    Kaas, R
    Dhaene, J
    Goovaerts, MJ
    INSURANCE MATHEMATICS & ECONOMICS, 2000, 27 (02): : 151 - 168
  • [23] Lower bounds on algebraic random access machines
    BenAmram, AM
    Galil, Z
    AUTOMATA, LANGUAGES AND PROGRAMMING, 1995, 944 : 360 - 371
  • [24] Lower Bounds on the Chromatic Number of Random Graphs
    Ayre, Peter
    Coja-Oghlan, Amin
    Greenhill, Catherine
    COMBINATORICA, 2022, 42 (05) : 617 - 658
  • [25] On lower bounds for the variance of functions of random variables
    Goodarzi, Faranak
    Amini, Mohammad
    Borzadaran, Gholam Reza Mohtashami
    APPLICATIONS OF MATHEMATICS, 2021, 66 (05) : 767 - 788
  • [26] ON MULTIPLE RANDOM ACCESSES AND PHYSICAL DATA PLACEMENT IN DYNAMIC FILES
    WANG, JH
    YUEN, TS
    DU, DHC
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (08) : 977 - 987
  • [27] Lower Bounds for Reducibility to the Kolmogorov Random Strings
    Hitchcock, John M.
    PROGRAMS, PROOFS, PROCESSES, 2010, 6158 : 195 - 200
  • [28] Lower Bounds on the Chromatic Number of Random Graphs
    Peter Ayre
    Amin Coja-Oghlan
    Catherine Greenhill
    Combinatorica, 2022, 42 : 617 - 658
  • [29] Sequential unification and aggressive lookahead mechanisms for data memory accesses
    Chi, CH
    Yuan, JL
    PARALLEL COMPUTING TECHNOLOGIES, 1999, 1662 : 28 - 41
  • [30] Memory-Sample Lower Bounds for LWE
    Lu, Mingqi
    Yang, Junzhao
    ADVANCES IN CRYPTOLOGY - CRYPTO 2024, PT V, 2024, 14924 : 158 - 182