|
ABSTRACT
Throughout this paper q will denote a query such that I is the number of tuples inputted into the query, and U is the number of tuples in its output. We will say that q has quasi-linear complexity iff for some constant d, it is executable in time O(U + I logdI) and space O(I + U). This article will define a large subset of the relational calculus, called RCS, and show that all RCS queries are executable by quasi-linear algorithms.
Our algorithm does not require the maintenance of any complex index, as it builds all the needed data structures during the course of the executing algorithm. Its exponent d can be large for some particular queries q, but it is a quite nice constant equal to 1 or 0 in most practical cases. Our algorithm is intended for data bases stored in main memory, and its time O(U + I logdI) should amount to only a few seconds of CPU time in many practical applications.
Chapter 10 of this paper lists some open questions for further investigation.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
BFMU83
|
|
 |
Be75
|
|
 |
Be80
|
|
 |
BC81
|
|
| |
BG81
|
P.A. Bernstein and N. Goodman, "The power of natural semijoins", SIAM J. Comp 10(1981) 751-771.
|
| |
Ch86a
|
B. Chazelle, "Lower Bounds on Complexity of Multidimension Search", 27th IEEE Syrup. on Foundatiorts of Computer Science, 87-96 (1987).
|
| |
Ch86b
|
|
| |
Ch88
|
|
 |
CP87
|
|
| |
EO85
|
H. Edelsbrunner and M. Overmars, "Batch Solutions to Decomposable Search Problems", Journal of Algorithms, 6, 515-543 (1985).
|
 |
81
|
|
 |
FKS84
|
|
| |
FW90
|
M.L. Fredman and D.E. Willard, "Sublogarithmic Retrieval and Faster than NlogN Sorting With Fusion Trees", Technical Report, to appear.
|
 |
FMN85
|
O. Fries , K. Mehlhorn , St. Näher, Dynamization of geometric data structures, Proceedings of the first annual symposium on Computational geometry, p.168-176, June 05-07, 1985, Baltimore, Maryland, United States
[doi> 10.1145/323233.323256]
|
 |
GS82
|
|
 |
GS83
|
|
| |
Gr79
|
M.H. Graham, "On the Universal Relation", University of Toronto technical report, 1979.
|
| |
KP81
|
S. Koenig and R. Paige, "A Transformational Framework for the Automatic Control of Derived Data", 7th Int. Conf. on VLDB, 306-318 (Sept. 1981).
|
| |
LW77
|
D.T. Lee and C.K. Wong, "Worst-case Analysis of Region and Partial Region Searches in Multidimensional Binary Search Trees and Quad Trees", Acts Informatica 9, 23-29 (1977).
|
| |
NT88
|
|
| |
Ov88
|
|
| |
OS88
|
|
| |
Pa79
|
R. Paige, UMI Research Press, Ann Arbor, Mich., 1981. Revision of Ph.D. thesis, NYU, (June 1979).
|
| |
Pa84
|
R. Paige, "Applications of Finite Differencing to Database Integrity Control and Query Translation Optimization", published in Advances in Database Theory, editors J.H. Minker, J.M. Nicolas and H. Gullaire, Plenum Press, 1984.
|
| |
PH86
|
R. Paige and F. Hengleim, "Mechanical Translation of Set-Theoretic Problem Specification into Efficient RAM Code", IBM Report RC 12169, (1986).
|
 |
PK82
|
|
| |
Ul89
|
|
| |
Wi78
|
D.E. Willard, Predicate-Oriented Database Search Algorithms Harvard Ph.D. dissertation May 1978, published in the Garland Publishing Home's series of Outstanding Dissertations in Computer Science under the abbreviated title of "Search Algorithms".
|
| |
Wi83
|
D.E. Willard, "Predicate Retrieval Theory", 21-st Allerton Conference on Communications, Control and Computing (1983) pp. 663-674 and more details in SUNY Albany TR 83-3 (78 pages).
|
 |
Wi84
|
|
| |
Wi85
|
|
 |
Wi86
|
|
 |
Wi87
|
|
| |
Wi89a
|
D.E. Willard, "Application of Range Query Theory to Relational Database Selection and Join Operations", Technical Report, Department of Computer Science, University at Albany (1989).
|
| |
Wi89b
|
|
 |
Wi90
|
|
 |
WL85
|
|
| |
Ya81
|
M. Yannakakis, "Algorithms for acyclic database schemes", Proc. lml. Conf. on VLDB, 82-94 (1981).
|
| |
YO79
|
C.T. Yu and M. Z. Ozsoyoglu, "An Algorithm for Tree Membership of a Distributed Query", Proceeding of IEEE Comp~ac 1979, 306-312.
|
|