ACM Home Page
Please provide us with feedback. Feedback
Queries are easier than you thought (probably)
Full text PdfPdf (1.02 MB)
Source Symposium on Principles of Database Systems archive
Proceedings of the eleventh ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems table of contents
San Diego, California, United States
Pages: 23 - 32  
Year of Publication: 1992
ISBN:0-89791-519-4
Authors
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 16,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/137097.137105
What is a DOI?

ABSTRACT

The optimization of a large class of queries is explored, using a powerful normal form recently proven. The queries include the fixpoint and while queries, and an extension of while with arithmetic. The optimization method is evaluated using a probabilistic analysis. In particular, the average complexity of fixpoint and while is considered and some surprising results are obtained. They suggest that the worst-case complexity is sometimes overly pessimistic for such queries, whose average complexity is often much more reasonable than the provably rare worst case. Some computational properties of queries are also investigated. A probabilistic notion of boundedness is defined, and it is shown that all programs in the class considered are bounded almost everywhere. An effective way of using this fact is provided.


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.

 
AG92
S. Abiteboul and A. Van Gelder. Optimizing active databases using the split technique. Technical report, INRIA, 1992.
 
AS91
 
AV91a
AV91b
 
AVV91
$. Abiteboul, M. Vardi, and V. Vianu. Fixpoint logics, relational machines, and computational complexity. Technical report, in preparation, 1991.
 
AVV92
S. Abiteboul, M. Vardi, and V. Vianu. Computing with infinitary logic. Technical report, in preparation, 1992.
 
Bol85
B61a Bollob~s. Random Graphs. Academic Press, London, 1985.
 
CH80
A.K. Chandra and D. Harel. Computable queries for relational data bases. Journal of Computer and System Sciences, 21(2):156- 178, 1980.
 
CH82
A.K. Chandra and D. Harel. Structure and complexity of relational queries. Journal of Computer and System Sciences, 25(I):99-128, 1982.
Cha81
 
Dah87
 
Fag90
Gel89
 
GJ79
 
Gra83
E. Grandjean. Complexity of the first-order theory of almost all finite structures. Inform. and Control, 57:180-204, 1983.
 
GS86
Y. Gurevich and S. Shelah. Fixed-point extensions of first-order logic. Annals of Pure and Applied Logic, 32:265-280, 1986.
 
Gur91
 
Imm86
 
Imm87
N. Immerman. Expressibility as a complexity measure: Results and directions. Technical Report DCS-TR-538, Yale Univ., 1987.
KA89
 
Kan91
 
Kol91
KP88
KV87
 
KV90a
P. Kolaitis and M. Vardi. 0-1 laws for infinitary logics. In 5th IEEE Syrup. on Logic in Computer Science, pages 156-167, t990.
 
KV90b
Phokion G. Kolaitis and Moshe Y. Vardi. 0-1 laws for infinitary logics. In Proc. 5th IEEE Conf. on Logic in Computer Science, pages 156-167, Los Angeles, 1990. IEEE Computer Society Press.
 
KV92
 
Lev86
SN91
 
SS88
Saharon Shelah and Joel Spencer. Zero-one laws for sparse random graphs. Amer. J. Math., 1:97-115, 1988.
 
Ull88
Var82
 
Var92
M. Vardi, 1992. email communication.
 
Wil84
H.S. Will. Backtrack: an o(1)expected time algorithm for the graph coloring problem. Information Processing Letters, 18:3:119-121, 1984.


Collaborative Colleagues:
Serge Abiteboul: colleagues
Kevin Compton: colleagues
Victor Vianu: colleagues