Skip to content

VU1 Fails to Take AWR Snapshot at the end of TPCC Test for Oracle #557

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

You must be logged in to vote

The first thing to try is to increase the keepalive_margin https://www.hammerdb.com/docs/ch09s03.html
This is set in the generic.xml config file and by default is set to 10 seconds.

 <commandline>
	<sqlite_db>TMP</sqlite_db> 
        <keepalive_margin>10</keepalive_margin>
        <jobsoutput>JSON</jobsoutput>
        <jobs_disable>0</jobs_disable>
    </commandline>

Note that if you have already loaded the XML and have the dynamic config stored in SQLite you will either need to reset by deleting the SQLite files, so the XML is re-read, or you can do this dynamically as below (example extends keepalive to a minute):

hammerdb>dict set genericdict commandline keepalive_margin 60
theme {sca…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@enhaocui
Comment options

@sm-shaw
Comment options

Answer selected by enhaocui
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