检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:冯丽云[1] 洪玫[1] 杨秋辉[1] 周洪宇[1] 臧康[1]
机构地区:[1]四川大学计算机学院
出 处:《计算机应用》2011年第4期948-951,共4页journal of Computer Applications
摘 要:生成测试数据和数据库状态是进行数据库系统测试的重要工作,逆向查询处理(RQP)算法提供了一种生成测试数据的方法。然而RQP算法只针对Select查询语句,为克服这一局限性,在RQP的基础上进行扩展,形成逆向操作处理(RMP)算法,以处理SQL语言中的所有数据操作语句。RMP算法的基本思想是将Delete、Insert、Update等数据操作语句转化为查询操作,即将这些操作语句所需的数据库实例应满足的条件转化为用Select语句来描述,再将转化后得到的Select语句作为RQP算法的输入,从而得到满足条件的数据库实例。RMP算法支持SQL基本语句的逆向运算,为数据库测试数据的自动生成提供了更好的支持。It is important to generate test data and database state for database system testing.The algorithm of Reverse Query Processing(RQP) provides a method to generate test data for database system testing,but it can only be used to process the Select query.In order to address this limitation,RQP was expanded into RMP(Reverse Manipulate Processing) so that it can be used for all the data manipulation statement in SQL.The main idea of RMP was to transform DML statements,such as Delete,Insert,Update,into Select.That is to use Select to describe the conditions that the database instance should meet the requirement of testing DML statements.Then RQP gets the transformed Select statements as inputs and returns a possible database instance that satisfies the conditions.RMP can reversely process the fundamental SQL statements and provide better support to automatic data generation for database system test.
关 键 词:逆向查询处理 逆向操作处理 关系运算 数据库系统测试 测试数据自动生成
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.70