TPC-Council / HammerDB

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

Jobs SQLite database size reported in KB instead of Bytes #700

Closed sm-shaw closed 2 months ago

sm-shaw commented 2 months ago

Guidance Bug reports are for when HammerDB is not behaving as expected. Bug reports should not be submitted for help in understanding database performance related questions. General questions on database performance or HammerDB usability should be submitted under Discussions.

Describe the bug Jobs SQLite reported as KB

HammerDB CLI v4.9
Copyright (C) 2003-2023 Steve Shaw
Type "help" for a list of commands
Initialized Jobs on-disk database /home/sdp/HammerDB-4.9/TMP/hammer.DB using existing tables (70,135,808 KB)

To Reproduce Start HammerDB and observe the size reported for the on-disk database. Check against actual file size and it should say bytes instead of KB

-rw-r--r-- 1 root root 70139904 May 2 03:24 hammer.DB

/home/sdp/HammerDB-4.9-MDB2/TMP# du -hcs hammer.DB
67M     hammer.DB
67M     total

Expected behavior It should say bytes instead of KB Initialized Jobs on-disk database /home/sdp/HammerDB-4.9/TMP/hammer.DB using existing tables (70,135,808 bytes)

Screenshots N/A

HammerDB Version (please complete the following information):

HammerDB Interface (please complete the following information): N/A

Operating System (please complete the following information): Check on both Linux and Windows and Issue is the same

Database Server (please complete the following information): N/A

Database Client (please complete the following information): N/A

Additional context Add any other context about the problem here.