9. XML Configuration

HammerDB configuration and settings are defined in a number of XML files in the config directory. You may edit these files to change the configuration on startup, however it is recommended to save a copy of the original in case of incompatible changes.

Figure 1.15. XML Configuration Files

XML Configuration Files

By default the databases in the GUI menu are listed in the order that the workloads were added to HammerDB. If you wish to change the order to put a particular database first you can change the rdbms value in generic.xml to the name of the database of your choice. The name entry for a particular database can be found in the database.xml file. For example the following would set SQL Server to be the database at the top of the menu on startup.

<benchmark>
<rdbms>MSSQLServer</rdbms>
<bm>TPC-C</bm>
<first_result>NOPM</first_result>
</benchmark>