Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. LCS Publications
  4. LCS Technical Memos (1974 - 2003)
  5. The Complexity of Evaluation Relational Queries

The Complexity of Evaluation Relational Queries

Thumbnail Image
Download
Name

MIT-LCS-TM-229.pdf

Size

2.72 MB

Format

Adobe PDF

Checksum (MD5)

5757fc45773caca6286b1fe50a3bd569

Author(s)
Cosmadakis, Stavros S.
Date Issued
August 1982
Series/Report no.
MIT-LCS-TM-229
Abstract
We show that, given a relation R, a relational query ? Involving only projection and join, and a conjectured result r, resting with ?(R)=r is D^p complete. Bounding the size of ?(R) from below (above) is NP-hard (co-NP-hard), and bounding it both ways is D^p hard. Computing the size of ?(R) is #P-hard. We also show that, given two relations R1 and R2 and two queries ?1 and ?2 as above, testing whether ?1)R1)⊆?2(R2) and testing whether ?1(R1)=?2(R2) and both ∏p2-complete, even when R1-R2 or when ?1=?2.
Persistent DSpace Link
https://hdl.handle.net/1721.1/149039
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.