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 条
  • [41] Topological lower bounds on algebraic random access machines
    Ben-Amram, AM
    Galil, Z
    SIAM JOURNAL ON COMPUTING, 2002, 31 (03) : 722 - 761
  • [42] Random restricted matching and lower bounds for combinatorial optimization
    Steinerberger, Stefan
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2012, 24 (03) : 280 - 298
  • [43] Lower and Upper Bounds for Random Mimimum Satisfiability Problem
    Huang, Ping
    Su, Kaile
    FRONTIERS IN ALGORITHMICS (FAW 2015), 2015, 9130 : 115 - 124
  • [44] Random restricted matching and lower bounds for combinatorial optimization
    Stefan Steinerberger
    Journal of Combinatorial Optimization, 2012, 24 : 280 - 298
  • [45] LOWER BOUNDS FOR THE ISOPERIMETRIC NUMBERS OF RANDOM REGULAR GRAPHS
    Kolesnik, Brett
    Wormald, Nick
    SIAM JOURNAL ON DISCRETE MATHEMATICS, 2014, 28 (01) : 553 - 575
  • [46] The Price of Verifiability: Lower Bounds for Verifiable Random Functions
    Brandt, Nicholas
    Hofheinz, Dennis
    Kastner, Julia
    Unal, Akin
    THEORY OF CRYPTOGRAPHY, TCC 2022, PT II, 2022, 13748 : 747 - 776
  • [47] Extended Formulation Lower Bounds for Refuting Random CSPs
    Brown-Cohen, Jonah
    Raghavendra, Prasad
    PROCEEDINGS OF THE 2020 ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2020, : 305 - 324
  • [48] ON UPPER AND LOWER BOUNDS FOR THE VARIANCE OF A FUNCTION OF A RANDOM VARIABLE
    CACOULLOS, T
    ANNALS OF PROBABILITY, 1982, 10 (03): : 799 - 809
  • [49] Lower Bounds on Learning Random Structures with Statistical Queries
    Angluin, Dana
    Eisenstat, David
    Kontorovich, Leonid
    Reyzin, Lev
    ALGORITHMIC LEARNING THEORY, ALT 2010, 2010, 6331 : 194 - 208
  • [50] A GENERAL METHOD FOR LOWER BOUNDS ON FLUCTUATIONS OF RANDOM VARIABLES
    Chatterjee, Sourav
    ANNALS OF PROBABILITY, 2019, 47 (04): : 2140 - 2171