Question

What exactly does the "scale" parameter does in oltpbenchmark tool does (for tpcc when being run on mysql)? does it only increase the size of the DB? or does it do something else?

(http://oltpbenchmark.com)

Thanks

Était-ce utile?

La solution

It means the number of rows of the WAREHOUSE table which is used as the base unit of scaling. The cardinality of all other tables (except for ITEM) is a function of the number of configured warehouses (i.e., cardinality of the WAREHOUSE table). That's the reason it increase the size of your DB when you increase the scale factor.

For TPC-C you have the follow cardinalities:

For TPC-C you have the follow cardinalities:

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top