System, method, and program for applying query rewrite technolog

Data processing: database and file management or data structures – Database design – Data structure types

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

707 3, 707 4, G06F 1730

Patent

active

061345407

ABSTRACT:
The system, method, and program of this invention enables an object language application (e.g., C++, JAVA, etc.,) to issue a query over a view and to receive back, as query results, handles to application type objects which can be further manipulated by the application. A view is defined herein as a collection of a view type, and a view type is defined as a class or type. Upon receipt of the query referencing a view type, a query engine generates a query plan that builds mock (i.e., proxy) application type objects in memory based upon the view types. The application can run methods on the application type objects or point to other application type objects from the handles, to the application objects, that are returned to the application; and these manipulations will be understood by the query engine. In a preferred embodiment, query rewrite optimizations are applied to the queries over views requiring object building in order to optimize the evaluation of the query and the building of view objects as query results. For example, when a query over a view is analyzed and it is determined that the query is not requesting a handle, and is not referencing a method, but only asks for values, no objects are built. Also, if a query traverses a reference type attribute, but the query can be transformed into a join or outer join operation between relational tables, then no object building is required. In these above described situations, the rewritten query can be pushed down to the database management system of the data source for resolution. If the query does request a handle or references a method, then some object building is required. However, query rewrite techniques can still be applied so that parts of the query are pushed down to the DBMS to minimize the number of objects that are built.

REFERENCES:
patent: 5295256 (1994-03-01), Bapat
patent: 5548755 (1996-08-01), Leung et al.
patent: 5764973 (1998-06-01), Lunceford et al.
patent: 5765147 (1998-06-01), Mattos et al.
patent: 5774692 (1998-06-01), Boyer et al.
patent: 5778355 (1998-07-01), Boyer et al.
patent: 5797136 (1998-08-01), Boyer et al.
patent: 5809505 (1998-09-01), Lo et al.
patent: 5835757 (1998-11-01), Qulid et al.
patent: 5864840 (1999-01-01), Leung et al.
patent: 5930785 (1999-07-01), Lohman et al.
patent: 5991754 (1999-11-01), Raitto et al.
Gio Wiederhold, "Views, Objects, and Databases," 8153 Computer, No. 12, New York, NY, pp. 37-44, Dec. 19, 1986.
Chih-Chin Liu, et al., "Object View Derivation and Object Query Transformation," Proc. Eighteenth Annual Int. Computer Software and Application Conference, Taipei, Taiwan, pp. 157-162, Nov. 9-11, 1994.
"Updating Relational Databases through Object-Based Views"; Thierry Barsalou, Arthur M. Keller, Niki Siambela, Gio Wiederhold; Proc. ACM-SIGMOD International Conference on Management of Data, Denver, Jun. 1991.
"The MultiView OODB View System: Design and Implementation;" Harumi A. Kuno and Elke A. Rundensteiner; University of Michigan Technical Report CSE-TR-241-95.
"Object Views: Extending the Vision"; Sandra Heiler, Stanley Zdonik; Proc. IEEE International Conference on Data Engineering 90, Apr. 1990.
"Objects and Views"; Serge Abiteboul, Anthony Bonner; ACM-SIGMOD International Conference on Management of Data, ACM Feb. 1991.
"On View Support in Object-Oriented Database Systems"; Won Kim, William Kelley; Modern Database Systems: The Object Model, Interoperability, and Beyond, Part 1/Next-Generation Database Technology, chapter 6, 1995.
"Towards Heterogeneous Multimedia Information Systems: The Garlic Approach"; M. J. Carey, L. M. Haas, P. M. Schwarz, M. Arya, W. F. Cody, R. Fagin, M. Flickner, A. W. Luniewski, W. Niblack, D. Petkovic, J. Thomas, J. H. Williams and E. L. Wimmers; Proc. 1995, IEEE Workshop on Research Issues in Data Engineering, Taipei, Taiwan, Mar. 1995.
"Queries and Views in an Object-Oriented Data Model;" U. Dayal; Proc. 2nd International Workshop on Database Programming Languages; editors, Richard Hull, Ron Morrison, and David Stemple, Gleneden Beach, Jun. 1989.
Third Generation Data Base System Manifesto, Mike Stonebraker et al, Computer Standards & Interfaces, 12, Dec. 1991.
"Object-Oriented Database Systems: Promise, Reality, and Future," Won Kim, Proc. 19th International Conference on Very Large Data Bases, Dublin, Aug. 1993.
"A Data Model and Query Language for EXODUS," Proc. ACM-SIGMOD International Conference on Management of Data, Carey, Michael; DeWitt, David; Vandenberg, Scott; Chicago, Jun. 1988.
"A Model of Queries for Object-Oriented Databases," Kim, Won; Proc. 15th International Conference on Very Large Data Basses, Amsterdam, Aug. 1989.
"A Query Language for the O.sub.2 Object-Oriented Database System," Bancilhon, Francois; Cluet, S.; Delobel, C.; Proc. 2.sup.nd International Workshop on Database Programming Languages, Hull, Richard; Morrison, Ron; Stemple, David, editors; Gleneden Beach, Jun. 1989, Morgan-Kaufmann Publishers, Inc.
"Query Processing in the ObjectStore Database System," Orenstein, Jack; Haradhvala, Sam; Margulies, Benson; Sakahara, Don; Proc. International Conference on Management of Data, San Diego, Jun. 1992.
"CQL++: A SQL for a C++ Based Object-Oriented DBMS," Dar. S.; Gehani, N.; Jagadish, H.; Proc. International Conference on Extending Data Base Technology, Advances in Database Technology--EDBT '92. Lecture Notes in Computer Science, Vienna, 1992. Springer-Verlag.
"Querying Object-Oriented Databases," Kifer, Michael; Kim, Won; Sagiv, Yehoshua; Proc. ACM-SIGMOD International Conference on Management of Data, San Diego, Jun. 1992.
"Object Query Language," Atwood, Tom; Duhl, Joshua; Ferran, Guy; Loomis, Mary; Wade, Drew; Object Database Standards: ODMG--93 Release 1.1, R.G.G. Cattell, editor, Morgan-Kaufmann Publishers, Inc., 1993.
"Experiences building the open oodb query optimizer," Blakeley, Jose; McKenna, William J.; Graefe, Goetz, Proc. ACM SIGMOD International Conference on Management of Data, Washington, D.C., May 1993.
"Observations on the ODMG-93 Proposal," Kim, W., ACM SIGMOD Record, 23(1), Mar. 1994.
"Enabling the Integration of Object Applications with Relational Databases"; Persistence Software, Inc.; http://www.persistence.com/persistence/ pageTwo.pages/techoview.htn; Apr. 2, 1997 1:40PM.
"Extensible/Rule Based Query Rewrite Optimization in Starburst," Hamid Pirahesh, Joseph M. Hellerstein, and Wagar Hasan, In Proc. ACM-SIGMOD International Conference on Management of Data, San Diego, Jun. 1992.
"Magic is Relevant," Inderpal Singh Mumick, Sheldon J. Finkelstein, Hamid Pirahesh, and Raghu Ramakrishnan, In Proc. ACM-SIGMOD International Conference on Management of Data, pp. 247-258, Atlantic City, May 1990.
"The Magic of Duplicates and Aggregates," Inderpal Singh Mumick, Hamid Pirahesh, and Raghu Ramakrishnan, In Proc. 16.sup.th International Conference on Very Large Data Bases, Brisbane, Aug. 1990.
"A General Framework for the Optimization of Object-Oriented Queries," Sophie Cluet and Claude Delobel, In Proc. ACM-SIGMOD International Conference on Management of Data, San Diego, Jun. 1992.
"OMG. Object Services Request for Proposals," OMG TC Document 94.4.18, 1994.
"OMG. Object Query Service Specification, Joint Submission," OMG TC Document 95.1.1, 1995) .
ISO/IEC 9075:1992, Database Language SQL.
Microsoft. Programmer's Reference, Microsoft Open Database Connectivity Software Development Kit, 1992.).
Kiernan et al., "Extending SQL-92 for OODB Access: Design and Implementation Experience", ACM 0-89791, p. 467-480, Jan. 1995.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System, method, and program for applying query rewrite technolog does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System, method, and program for applying query rewrite technolog, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System, method, and program for applying query rewrite technolog will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-478676

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.