skip to main content
10.1145/800070.802185acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free Access

Space-time tradeoff for answering range queries (Extended Abstract)

Published:05 May 1982Publication History

ABSTRACT

In this paper, we raise and investigate the question of (storage) space- (retrieval) time tradeoff for a static database, in the general framework of Fredman's. As will be seen, such tradeoff results also lead to lower bounds on the complexity of processing a sequence of m INSERT and QUERY instructions. The latter results are incomparable to Fredman's, since the presence of DELETE instructions was crucial for his proof technique. We will present our results in detail in the next few sections. Here we will only mention three main conclusions. Firstly, circular query is shown to be intrinsically hard in the sense that, for some static database with n records, there is a space-time tradeoff TS > n1 + ε where ε>0; in contrast, orthogonal query can always be implemented with space S=0(n(log n)k) and time T=0((log n)k) for fixed k. Furthermore, any algorithm for processing 0(n) INSERT and QUERY instructions must use time Ω(n1+ε) in the worst case. Secondly, for the “interval” query, we have determined the space-time tradeoff quite precisely to be T @@@@ α(S,n), where α is the inverse to an Ackermann's function first defined by Tarjan [9]. This is a rare case where the function α arises outside the context of path compression, and is obtained through a totally independent derivation. Thirdly, we prove that, for the interval query, any algorithm to process a sequence of 0(n) INSERT and QUERY must take time Ω((n log n)/(log log n)) in the worst case. This means that one cannot hope to maintain the most efficient static data structure (with retrieval time α(S,n)) in the dynamic case.

References

  1. 1.J.L. Bentley and H.A. Mauer, "Efficient worst-case data structure for range searching," Acta Informatica 13 (1980), 155-168.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.J.L. Bentley and H.A. Mauer, "A note on Euclidean near neighbor searching in the plane," Information Processing Letters 8 (1979), 133-136.Google ScholarGoogle ScholarCross RefCross Ref
  3. 3.M.L. Fredman, "Lower bounds on the complexity of some optimal data structures," SIAM J. on Computing 10 (1981), 1-10.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.M.L. Fredman, "The complexity of maintaining an array and computing its partial sums," to appear in Journal of ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.M.L. Fredman, "Query time versus redundancy trade-offs for range queries," to appear in Journal of Computer and System Sciences, 1981.Google ScholarGoogle Scholar
  6. 6.M.L. Fredman, "The inherent complexity of dynamic data structures which accomodata range queries," Proc. 21st Annual IEEE Symposium on Foundations of Computer Science (1980), 191-200.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.G.S. Leuker, "A data structure for orthogonal range queries," Proc. 19th Annual IEEE Symposium on Foundation of Computer Science (1978), 28-34.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.R.L. Rivest, "Partial match retrieval algorithms," SIAM J.on Computing 5(1976), 19-50.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.R.E. Tarjan, "Efficiency of a good but not linear set union algorithm," Journal of ACM 22 (1975), 215-225. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.R.E. Tarjan, "Complexity of monotone networks for computing conjunctions," Algorithmic Aspects of Combinatorics edited by B. Alspach, P. Hell, and D.J. Miller, North-Holland (1978), 121-134.Google ScholarGoogle Scholar
  11. 11.D.E. Willard, "Polygon retrieval," to appear in SIAM J. on Computing.Google ScholarGoogle Scholar
  12. 12.D.E. Willard, "New data structures for orthogonal range queries," Tech Report TR-22-78, (1978), Aiken Computation Lab., Harvard University.Google ScholarGoogle Scholar
  13. 13.A.C. Yao, "On the complexity of maintaining partial sums," IBM San Jose Research Center Report RJ3228, September 1981.Google ScholarGoogle Scholar
  14. 14.A.C. Yao, "On the complexity of answering circular range queries," to appear as an IBM report.Google ScholarGoogle Scholar

Index Terms

  1. Space-time tradeoff for answering range queries (Extended Abstract)

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                STOC '82: Proceedings of the fourteenth annual ACM symposium on Theory of computing
                May 1982
                408 pages
                ISBN:0897910702
                DOI:10.1145/800070

                Copyright © 1982 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 5 May 1982

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                Overall Acceptance Rate1,469of4,586submissions,32%

                Upcoming Conference

                STOC '24
                56th Annual ACM Symposium on Theory of Computing (STOC 2024)
                June 24 - 28, 2024
                Vancouver , BC , Canada

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader