TPC-Council / HammerDB

HammerDB Database Load Testing and Benchmarking Tool
http://www.hammerdb.com
GNU General Public License v3.0
545 stars 115 forks source link

Alter MSSQLS TPCH Schema to use Decimal not Money #634

Closed JoshInnis closed 8 months ago

JoshInnis commented 8 months ago

Altered the data type of the MSSQL TPCH load to store monetary values in a decimal (12, 2) format, as opposed to the money datatype.

The money datatype has a precision that is too high to use the Aggregate pushdown mechanic offered in SQL Server. Altered the money datatypes to a decimal type to improve the performance of queries run that using aggregation.