Use the Options tab to specify how to create benchmark objects and load data for the Create Objects step of a standard benchmark test. You can also specify how to retain/maintain the tables after the test is finished.
You can specify a default setting for Object/Data Retention in Edit | Settings | Benchmarks. See Benchmarks Settings - General for more information.
To specify options for loading benchmark tables
Use the Options tab to specify options for creating objects and loading data. Review the following for additional information:
Distribute index creation (one index create per virtual user) |
Select to use multiple virtual users to create indexes at the same time (one virtual user for each index). Tip: For IBM DB2 databases, you might encounter deadlock errors if database configuration is incorrect. If you do not select this option, all indexes are created by a single virtual user. Note: To specify parallel index creation for indexes, you can customize the SQL used to create indexes. See Customize SQL for Creating Objects for more information. |
Distribute Load using Benchmark Factory Agents |
You can choose to use console or agents to load benchmark data.
|
Number of virtual users to perform creation/load |
Specify the number of virtual users to use to load table data. The number of virtual users used per table will depend on the table size. Notes:
|
Select an Object/Data Retention method. Review the following for additional information:
Create/Load objects if objects don't exist (no backup sets created) |
If objects do not exist, Benchmark Factory creates the objects and loads data. If you select this option, Benchmark Factory does not create backup tables. |
Delete benchmark objects after completion of job | Benchmark Factory deletes objects after a job is finished. |
Refresh data using backup sets |
When backup sets exist, Benchmark Factory reloads data and recreates indexes. If backup sets do not exist, Benchmark Factory creates objects and loads data. Then Benchmark Factory creates the backup tables. |
Recreate objects and reload data every execution |
Benchmark Factory always deletes the existing objects and then recreates/reloads for each job execution. This allows you to ensure that the dataset is always in initialized status. |
Refresh data using inserts |
If data does not exist, Benchmark Factory uses bulk insert to load data. If the following Benchmark Settings are selected,
and the Benchmark Scale factor of the existing tables does not match the new requirement, the process of inserting additional data or deleting data my run long, depending on the size of the existing data and number of indexes. Note: If database does not support bulk insert, insert is used. |
Use the Custom Creation SQL tab to customize the SQL used to create objects in an Industry Standard Benchmark test. You can save your modified SQL as a .xml file to reuse the same SQL and settings in multiple tests.
To use custom SQL to create objects
Select the Enable Custom Creation SQL option.
Your edits are saved automatically if you click Save/Close or run the job.
To save the modified SQL as an .xml file, click . Specify a file name and click Save. The SQL for the objects you modified is saved to the file.
Note: By default, the .xml file is saved to the Data directory. To change the location of the Data directory, go to Edit | Settings | General.
To import custom SQL from a previously-saved .xml file, click .
Note: When importing SQL from a file, Benchmark Factory uses the default SQL for all objects not in the .xml file.
Note: If you modify an object name, column name, or a data type, this change could prevent data/objects from loading successfully or could cause the standard benchmark test to fail.
Use the Table Options tab of the Replication benchmark test to design the structure of tables used in this test. You can specify the number of tables, the number of columns per table, column data types, and the proportion of each data type per table.
You can specify default values for these Replication table options at Edit | Settings | Benchmarks | Replication. The default values are applied when you create a new Replication test. See Replication Benchmark Settings for more information.
To specify Replication table options
To define the Replication tables, specify the following options.
Number of Tables | Select the number of tables to include in this Create Objects for Replication step. |
Number of Columns per Table | Specify a range. The number of columns in each table will be randomly selected (using Uniform distribution) from this range. |
Then use the grid to specify the data types to include in the tables, as well as the proportion of each data type. The grid initially displays the data type list and default values that are specified in the Replication Table Structure page of the Settings dialog (Edit | Settings).
To define a new data type for this test, click Add. Then specify data type details by entering values in the grid. Review the following for additional information:
DataType column | Select a data type from the list (click inside the column to display the drop-down list). |
Weight column |
Specify a weight for this data type. This value is used by Benchmark Factory to determine what percentage of the columns will be defined with this type. The weight/percentage is applied to each table (if possible) and to the database as a whole. The total weight is displayed below the grid. |
Notes:
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center