{"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}
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.<>