Driver to do the load phase for the Order Entry benchmark. This class takes in following arguments currently: Usage: java org.apache.derbyTesting.system.oe.run.Populate options Options:
- -scale warehouse scaling factor. Takes a short value. If not specified defaults to 1
- -createConstraintsBeforeLoad create constraints before initial load of data, takes a boolean value. If not specified, defaults to true
- -doChecks check consistency of data, takes a boolean value. If not specified, defaults to true
- -help prints usage
To load database with scale of 2, to load constraints after the population, and to not do any checks, the command to run the test is as follows:
java org.apache.derbyTesting.system.oe.run.Populate -scale 2 -doChecks false -createConstraintsBeforeLoad false
This class uses the junit performance framework in Derby and the tests the performance of the following operations.
- create schema with or without constraints (configurable)
- populate the schema
- Check the cardinality of the tables.