首页> 外国专利> GENERATING TEST DATA BASED ON HISTOGRAM STATISTICS

GENERATING TEST DATA BASED ON HISTOGRAM STATISTICS

机译:基于直方图统计信息生成测试数据

摘要

Some examples relate to generating test data based on histogram statistics. In an example, histogram intervals for each column of a table in a database may be obtained, and data values for each histogram interval of a column may be generated. In an example, generating data values may comprise: a) generating a respective set of random values for each histogram interval of the column, wherein number of random values generated for a respective set is equivalent to number of unique values identified within a histogram interval corresponding to the respective set; b) replicating the respective set of random values for each histogram interval until total number of data values in the respective set is equivalent to row count of the histogram interval corresponding to the respective set; and c) combining the respective set of data values for each histogram interval in a temporary data file for the column. a), b), and c) may be iterated for each column of the table to generate a respective temporary data file for the each column. Temporary data files may be merged to generate a final output file.
机译:一些示例涉及基于直方图统计信息生成测试数据。在示例中,可以获得数据库中表的每个列的直方图间隔,并且可以生成列的每个直方图间隔的数据值。在一个示例中,生成数据值可以包括:a)为该列的每个直方图间隔生成随机值的相应集合,其中为相应集合生成的随机值的数量等于在对应的直方图间隔内标识的唯一值的数量。到各自的集合; b)为每个直方图间隔复制相应的随机值集合,直到相应集合中的数据值的总数等于与相应集合对应的直方图间隔的行数为止; c)在该列的临时数据文件中,将每个直方图间隔的相应数据值集合组合在一起。可以为表的每一列迭代a),b)和c),以为每一列生成相应的临时数据文件。临时数据文件可以合并以生成最终输出文件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号