/* * $Id: README.txt,v 1.4 2006/08/07 17:36:46 jms Exp $ */ 1. Goal This document summarizes the steps required to validate the data set generated by DBGEN, relative to the reference data published by the TPC. 2. Pre-Requesites Toolset executable: This readme file is included as part of the toolset distributed by the TPC. The DBGEN and QGEN executables must be built from the same distribution. Reference Data Set(s): For each permissible scale factor, the TPC has produced a separate zip file that defines the reference point for the base data set, the update data set, and the output of QGEN. These must be downloaded separately from the TPC web site. 3. Validation Process a. Setup The commands that are included in this distribution assume that they are being executed from /reference, where is directory into which the DBGEN distribution was unpacked. If that is not the case for your environemnt, the paths to executables and associated files will need to be edited to match your directory structure. b. Base Data Validation The base data set is produced using cmd_base_sf where is the scale factor to be generated. The resulting files will be produced in the current working directory. The generated files will be of the form .tbl., where will is the name of one of the tables in the TPCH schema, and identifies a particular data generation step. The file set produced by genbaserefdata.sh should match the .tbl. files found in the reference data set for the same scale factor. c. Update Data Validation The update data set is produced using cmd_update_sf where is the scale factor to be generated. The resulting files will be produced in the current working directory. The generated files will be of the form .tbl.u. and delete.u., where will is the name of one of the tables in the TPCH schema, and and identify a particular data generation step. For each file produced by DBGEN, the first 100 lines of the file should match the delete.tbl.u. and .tbl.u. files found in the reference data set. Where the files from the reference data set contain fewer than 100 lines, the file should match in their entriety. d. QGEN Parameter Generation The qgen paramter sets are produced using the cmd_qgen_sf files, where matches the scale factor being validated. The resulting files will be produced in the current working directory. The generated files will be of the form subparam_, where identifies a particular qgen subsituttion set. The file set produced by cmd_qgen_ script should match the subparam. files found in the reference data set. /********************* * Revision History * =================== * $Log: README.txt,v $ * Revision 1.4 2006/08/07 17:36:46 jms * typo corrections * * Revision 1.3 2006/03/30 22:12:36 jms * reduce to simple scripts *