Losslessness and project-join constructibility in relational databases
- 16 Downloads
Summary
Checking a database scheme for the lossless join property with respect to a set, M, of multivalued dependencies (MVDs) is NP-hard. We prove that, for a class of MVDs that includes the set of projected full MVDs, this check can be performed in polynomial time. Even with a lossless database scheme and a consistent database, joining the set of relations in the database can take time and space that is exponential in the size of the relation finally obtained. Joining the set of relations of such a database can be performed in polynomial time if the database scheme is project-join constructible with respect to M. We prove that project-join constructibility, a stricter condition than the lossless join property, can be detected in a database scheme in polynomial time.
Keywords
Information System Operating System Data Structure Communication Network Information TheoryPreview
Unable to display preview. Download preview PDF.
References
- 1.Aho, A.V., Beeri, C., Ullman, J.D.: The theory of joins in relational databases. ACM Trans. Database Syst. 4, 297–314 (1979)Google Scholar
- 2.Aho, A.V., Hopcroft, J.E., Ullman, J.D.: Data structures and algorithms. Reading, Mass: Addison-Wesley 1983Google Scholar
- 3.Beeri, C., Vardi, M.Y.: On the properties of join dependencies. In: Gallaire, H., Minker, J., Nicolas, J.M., (eds.) Advances in Data Base Theory, vol. 1, pp. 25–71. New York: Plenum 1981Google Scholar
- 4.Beeri, C., Vardi, M.Y.: A proof procedure for data dependencies. J. Assoc. Comput. Mach. 31, 718–741 (1984)Google Scholar
- 5.Fagin, R.: Multivalued dependencies and a new normal form for relational databases. ACM Trans. Database Syst. 2, 262–278 (1977)Google Scholar
- 6.Fagin, R., Vardi, M.Y.: The theory of data dependencies — A survey. I.B.M. Research Report RJ4321, San Jose, California, 1984Google Scholar
- 7.Fischer, P.C., Tsou, D.M.: Whether a set of multivalued dependencies implies a join dependency is NP-hard. SIAM J. Comput. 12, 259–266 (1983)Google Scholar
- 8.Galil, Z.: An almost linear-time algorithm for computing a dependency basis in a relational database. J. Assoc. Comput. Mach. 29, 96–102 (1982)Google Scholar
- 9.Gyssens, M.: On the complexity of join dependencies. ACM Trans. Database Syst. 11, 81–108 (1986)Google Scholar
- 10.Honeyman, P.: Extension joins. In: Proc. 6th Intl. Conf. on Very Large Databases, Montreal, Canada, pp. 239–244, 1980Google Scholar
- 11.Honeyman, P.: Testing satisfaction of functional dependencies. J. Assoc. Comput. Mach. 29, 668–677 (1982)Google Scholar
- 12.Honeyman, P., Ladner, R.E., Yannakakis, M.: Testing the universal instance assumption. Inf. Process. Lett. 10, 14–19 (1980)Google Scholar
- 13.Maier, D.: The theory of relational databases. Rockville, Maryland: Computer Science Press 1983Google Scholar
- 14.Maier, D., Mendelzon, A.O., Sagiv, Y.: Testing implications of data dependencies. ACM Trans. Database Syst. 4, 455–469 (1979)Google Scholar
- 15.Maier, D., Ullman, J.D., Vardi, M.Y.: On the foundations of the universal relation model. ACM Trans. Database Syst. 9, 283–308 (1984)Google Scholar