Skip to content

Running the default workload, causes disk to get filled up causing DB to crash #547

Answered by sm-shaw
johnyvincent asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, The TPC-C workload that TPROC-C is based on is designed to grow during the test. If you look in the specification https://www.tpc.org/tpc_documents_current_versions/pdf/tpc-c_v5.11.0.pdf in section 6.2.3 then this describes how to factor in the growth (although HammerDB is not exactly the same).
Firstly, it should be said that with PostgreSQL you will also have WAL files as well as your data, so you should look into the PostgreSQL documentation to manage the WAL.
You are correct that the stored procedures are interdependent, so you shouldn't just comment out SQL and expect everything to work. (I have for example seen workloads do this that end up running SQL that returns no rows found).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by johnyvincent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants