面向对象数据库中的方法预计算

E. Bertino
{"title":"面向对象数据库中的方法预计算","authors":"E. Bertino","doi":"10.1145/122831.122852","DOIUrl":null,"url":null,"abstract":"The query language represents an important component of any Data Base Management System (DBMS). Therefore, advanced object-oriented DBMSS (O ODBMSS) provide query capabilities for content-based access to objects, in addition to IIaV&atiOIIa] access based on object references. Very often, these two types of access are used complementarily. Object-oriented query languages have several differences with respect to relational query languages. These differences require that new optimization techniques be developed and/or that techniques defined for relational DBMSS be reexamined and extended to effectively support object-oriented queries. One such difference is that methods can be invoked in queries. The result of a method execution is an object (either primitive or non-primitive). Therefore, predicates can be applied to it. In this paper, we describe an indexing technique that supports an efficient evaluation of predicates on methods. This technique is based on the precomputation of method result. The precomputed results are stored in an index, called the method-index, that associates with a result v the list of object identifiers for which the method execution returns v. Therefore, the evaluation of a predicate on the result of a method simply requires an index search. Since changes to an object’s status may invalidate a method’s result, a mechanism is presented for keeping track of changes that may influence the result of a method invocation. This mechanism is used to invalidate the precomputed result of a method. The method is recomputed again upon the next invocation.","PeriodicalId":338751,"journal":{"name":"Conference on Organizational Computing Systems","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1991-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"29","resultStr":"{\"title\":\"Method precomputation in object-oriented databases\",\"authors\":\"E. Bertino\",\"doi\":\"10.1145/122831.122852\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The query language represents an important component of any Data Base Management System (DBMS). Therefore, advanced object-oriented DBMSS (O ODBMSS) provide query capabilities for content-based access to objects, in addition to IIaV&atiOIIa] access based on object references. Very often, these two types of access are used complementarily. Object-oriented query languages have several differences with respect to relational query languages. These differences require that new optimization techniques be developed and/or that techniques defined for relational DBMSS be reexamined and extended to effectively support object-oriented queries. One such difference is that methods can be invoked in queries. The result of a method execution is an object (either primitive or non-primitive). Therefore, predicates can be applied to it. In this paper, we describe an indexing technique that supports an efficient evaluation of predicates on methods. This technique is based on the precomputation of method result. The precomputed results are stored in an index, called the method-index, that associates with a result v the list of object identifiers for which the method execution returns v. Therefore, the evaluation of a predicate on the result of a method simply requires an index search. Since changes to an object’s status may invalidate a method’s result, a mechanism is presented for keeping track of changes that may influence the result of a method invocation. This mechanism is used to invalidate the precomputed result of a method. The method is recomputed again upon the next invocation.\",\"PeriodicalId\":338751,\"journal\":{\"name\":\"Conference on Organizational Computing Systems\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1991-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"29\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Conference on Organizational Computing Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/122831.122852\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Organizational Computing Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/122831.122852","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 29

摘要

查询语言是任何数据库管理系统(DBMS)的重要组成部分。因此,除了基于对象引用的访问之外,高级面向对象dbms (oodbmss)还为基于内容的对象访问提供了查询功能。通常,这两种访问类型是互补使用的。面向对象查询语言与关系查询语言有几个不同之处。这些差异要求开发新的优化技术和/或重新检查和扩展为关系dbms定义的技术,以有效地支持面向对象查询。其中一个区别是可以在查询中调用方法。方法执行的结果是一个对象(基本的或非基本的)。因此,可以对其应用谓词。在本文中,我们描述了一种支持对方法上的谓词进行有效评估的索引技术。该技术是基于方法结果的预计算。预先计算的结果存储在一个称为方法索引(method-index)的索引中,该索引将结果与方法执行返回的对象标识符列表v相关联。因此,对方法结果的谓词求值只需进行索引搜索。由于对象状态的更改可能使方法的结果无效,因此提出了一种机制来跟踪可能影响方法调用结果的更改。此机制用于使方法的预先计算结果无效。该方法在下一次调用时再次被重新计算。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Method precomputation in object-oriented databases
The query language represents an important component of any Data Base Management System (DBMS). Therefore, advanced object-oriented DBMSS (O ODBMSS) provide query capabilities for content-based access to objects, in addition to IIaV&atiOIIa] access based on object references. Very often, these two types of access are used complementarily. Object-oriented query languages have several differences with respect to relational query languages. These differences require that new optimization techniques be developed and/or that techniques defined for relational DBMSS be reexamined and extended to effectively support object-oriented queries. One such difference is that methods can be invoked in queries. The result of a method execution is an object (either primitive or non-primitive). Therefore, predicates can be applied to it. In this paper, we describe an indexing technique that supports an efficient evaluation of predicates on methods. This technique is based on the precomputation of method result. The precomputed results are stored in an index, called the method-index, that associates with a result v the list of object identifiers for which the method execution returns v. Therefore, the evaluation of a predicate on the result of a method simply requires an index search. Since changes to an object’s status may invalidate a method’s result, a mechanism is presented for keeping track of changes that may influence the result of a method invocation. This mechanism is used to invalidate the precomputed result of a method. The method is recomputed again upon the next invocation.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Applying specialization to process models Combining local negotiation and global planning in cooperative software development projects Answer Garden: a tool for growing organizational memory Conversational conventions and participation in cross-functional design teams WorkFlow systems: a few definitions and a few suggestions
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1