使用完整性约束在关系数据库中执行查询转换

J. Cardiff
{"title":"使用完整性约束在关系数据库中执行查询转换","authors":"J. Cardiff","doi":"10.1109/PARBSE.1990.77124","DOIUrl":null,"url":null,"abstract":"A novel approach to semantic query optimization is presented. Integrity constraints stored in relational tables are used to transform the original query into a semantically equivalent one. The transformations performed reduce either the computation costs, or the number of database accesses, or both and so will generally produce a query that is faster to execute. Three types of integrity constraints are used by the transformation algorithms: constraints of the domains of the attributes, general rules between attributes, and constraints on the relationships between join-compatible attributes. The algorithms that use these constraints to transform the query run in polynomial time and require limited database access. In large database systems, where the number of databases accesses is the dominant cost factor, the optimization costs typically represent a small fraction of the total execution cost.<<ETX>>","PeriodicalId":389644,"journal":{"name":"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"The use of integrity constraints to perform query transformations in relational databases\",\"authors\":\"J. Cardiff\",\"doi\":\"10.1109/PARBSE.1990.77124\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A novel approach to semantic query optimization is presented. Integrity constraints stored in relational tables are used to transform the original query into a semantically equivalent one. The transformations performed reduce either the computation costs, or the number of database accesses, or both and so will generally produce a query that is faster to execute. Three types of integrity constraints are used by the transformation algorithms: constraints of the domains of the attributes, general rules between attributes, and constraints on the relationships between join-compatible attributes. The algorithms that use these constraints to transform the query run in polynomial time and require limited database access. In large database systems, where the number of databases accesses is the dominant cost factor, the optimization costs typically represent a small fraction of the total execution cost.<<ETX>>\",\"PeriodicalId\":389644,\"journal\":{\"name\":\"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1990-03-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PARBSE.1990.77124\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PARBSE.1990.77124","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

提出了一种新的语义查询优化方法。存储在关系表中的完整性约束用于将原始查询转换为语义等效的查询。执行的转换降低了计算成本或数据库访问次数,或两者兼而有之,因此通常会生成执行速度更快的查询。转换算法使用三种类型的完整性约束:属性域的约束、属性之间的一般规则以及连接兼容属性之间关系的约束。使用这些约束来转换查询的算法在多项式时间内运行,并且需要有限的数据库访问。在大型数据库系统中,数据库访问次数是主要的成本因素,优化成本通常只占总执行成本的一小部分。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
The use of integrity constraints to perform query transformations in relational databases
A novel approach to semantic query optimization is presented. Integrity constraints stored in relational tables are used to transform the original query into a semantically equivalent one. The transformations performed reduce either the computation costs, or the number of database accesses, or both and so will generally produce a query that is faster to execute. Three types of integrity constraints are used by the transformation algorithms: constraints of the domains of the attributes, general rules between attributes, and constraints on the relationships between join-compatible attributes. The algorithms that use these constraints to transform the query run in polynomial time and require limited database access. In large database systems, where the number of databases accesses is the dominant cost factor, the optimization costs typically represent a small fraction of the total execution cost.<>
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信