ODMG and SQL object models ten years later: there are no contradictions
https://doi.org/10.15514/ISPRAS-2015-27(1)-9
Abstract
In 2005, I wrote an article in which I discussed the most important features of the standards ODMG 3.0 (ODMG object model) and the SQL:2003 (SQL data model) and convincingly (as it seemed to me) argued that the similarity between the object model and object extensions to SQL is purely external, that close in mind syntactic constructions hide deep differences at the model level. Examples of such differences include von Neumann-style dereference of ObjectIDs in the ODMG model vs join-style dereference of reference values in the SQL model, separate and independent store of objects of one and the same object type in the ODMG model vs store of all raws of a typed table (SQL analogy of object) within this table, store of ObjectISs within extents in the ODMG model vs store within analogy of extent of objects their self in the SQL model, etc. Since then, it took many years for which I understood many things that were wrongly or insufficient correctly understood by me then, and gradually came to the conclusions that:
- differences that seemed to me deep, are not such, and indeed are not differences at the model level;
- the object extensions of SQL provide no less (and rather large) capabilities than the ODMG object model;
- reasonably (from the standpoint of the database community) used DBMSes based on the ODMG data model, one will create databases and tools to manipulate them similar to those prescribed by the SQL data model.
About the Author
S. D. KuznetsovRussian Federation
Institute for System Programming of the Russian Academy of Sciences, 25, Alexander Solzhenitsyn st., Moscow, Russia, 109004.
References
1. Sergey Kuznetsov. "Objektny" li objektnye rasshirenija jazyka SQL? [Whether are "object" the object extensions of SQL?], 2005 (in Russian). http://citforum.ru/database/articles/sql_odmg/
2. The Object Data Standard: ODMG 3.0. Edited by R.G.G. Cattel, Douglas K. Barry. Morgan Kauffmann Publishers, 2000.
3. Jim Melton. "Advanced SQL:1999. Understanding Object-Relational and Other Advanced Features". Morgan Kaufmann Publishers, 2003.
4. Sergey Kuznetsov. Naibolee interesnye novshestva v standarte SQL:2003 [The most interesting innovations in the SQL:2003 standard], 2004 (in Russian). http://citforum.ru/database/sql/sql2003/
5. S.D. Kuznetsov. Bazy dannyx: jazyki i modeli [Databases: Languages and Models], Moscow, Binom, 2008 (in Russian).
6. S.D. Kuznetsov. Tri manifesta baz dannyx: retrospektiva i perspektivy [Three manifests of databases: Retrospect and Prospects]. In Databases and Information Technology in XXI Century. Proceedings of the International Conference. Moscow, RSGU, 2004, pp. 52-229 (in Russian). http://citforum.ru/database/articles/manifests/
7. D. Chamberlin. XQuery: An XML query language. IBM SYSTEMS JOURNAL, VOL 41, NO 4, 2002, pp. 597-615.
8. C.J. Date. A Guide to SQL Standard (4th Edition). Addison-Wesley Professional, 1996)
9. Fred Zemke. What’s new in SQL:2011. SIGMOD Record, Volume 41, Number 1, March 2012, pp. 67-73.
10. Krishna Kulkarni and Jan-Eike Michels. Temporal Features in SQL:2011. SIGMOD Record, Volume 41, Number 3, September 2012, pp. 34-43.
11. E.F. Codd. Extending the Database Relational Model to Capture More Meaning. ACM Transactions on Database Systems, Vol. 4, № 4, December 1979.
12. Hall, P., Owlett, J., and Todd, S. Relations and Entities. In Modelling in Data Base Management Systems, G.M.Nijssen, Ed., North-Holland Pub. Co., Amsterdam, 1976.
13. Date, C. J. Relational Database Writings 1994–1997. Chapter 12. Object Identifiers vs. Relational Keys. Addison-Wesley, 1998.
14. S.D. Kuznetsov. Objektno-reljacionnye bazy dannyx: proshedshij ehtap ili nedoocenennye vozmozhnosti? [Object-relational databases: the last stage or undervalued opportunities?]. Trudy ISP RАN [Proceedings of ISP RAS], v. 13, part 2, M., ISP RAS, 2007, pp. 115-140. (in Russian)
15. http://ispras.ru/ru/proceedings/docs/2007/13/2/isp_2007_13_2_115.pdf (pdf) http://citforum.ru/database/articles/ordbms10/ (html)
16. S.D. Kuznetsov. Razvitie idej i prilozhenij reljacionnoj SUBD System R [Evolution of ideas and applications of the relational DBMS System R]. Moscow, VINITI, 1989, " Itogi nauki i texniki. Vychislitelqnye nauki [The results of science and technology. Computer Science]". V.1. Pp. 3-75. http://www.citforum.ru/database/articles/art_27.shtml
17. S. Kuznetsov. OODMBS's Query and Programming Languages: What Do They Provide and What Do We Need. Extended Information Systems Technology. Proceedings of the International East/West Database Workshop, Klagenfurt, Austria, 25-28 Sept. 1994, J.Eder, L.A.Kalinichenko (Eds), Springer-Verlag, 1995, 138-147. DOI: 10.1007/978-1-4471-3577-7_10
18. S.D. Kuznetsov. Objektno-orientirovannye bazy dannyx i objektnye rasshirenija jazyka SQL [Object-oriented databases and object extensions of the SQL query language]. Seminar Moskovskoj sekcii ACM SIGMOD, 23 dekabrja 2004 g. [Seminar of the Moscow ACM SIGMOD chapter, December 24th, 2004] (in Russian), http://synthesis.ipi.ac.ru/sigmod/seminar/s20041223
19. S.D. Kuznetsov. Objektnye rasshirenija SQL «objektny»! [Object extensions of SQL are «object»!]. [Seminar of the Moscow ACM SIGMOD chapter, December 25th, 2014] (in Russian), http://synthesis.ipi.ac.ru/sigmod/seminar/s20141225
Review
For citations:
Kuznetsov S.D. ODMG and SQL object models ten years later: there are no contradictions. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2015;27(1):173-192. (In Russ.) https://doi.org/10.15514/ISPRAS-2015-27(1)-9