SPEC Community

Product Support => SPECvirt_sc2013 => Topic started by: elnino on January 24, 2015, 10:14:49 PM

Title: Load the database incorrectly in deploying appjserver
Post by: elnino on January 24, 2015, 10:14:49 PM
Hi Spec members,

I found that I loaded the database incorrectly.  I got the successful message after executing "ant loaddb" command, but I found that there is only 1000 items in the customer table, which should has 3750000 items? Other  tables are similar to it.


Thanks for your help.
Title: Re: Load the database incorrectly in deploying appjserver
Post by: AnoopGupta on January 28, 2015, 02:25:18 PM
For loading, set txRate=500 in:
/opt/SPECjAppServer2004/config/run.properties
After loading, for run, switch it back to txRate=100.
Please see User Guide section 2.5 for details.

If your settings are correct, you should see 500 in the load log, for example:
Apps server is glassfish
Loading database with orders_injection_rate = 500
Loading Databases ...
INFO : IR supplied : 500
INFO : stepped IR  : 500
STARTING loading of tables in the Corp domain...
        Launching 1   threads to execute LoadCorp.loadCustomers() concurrently
                Starting thread: Thread[CustomerThread-0,5,main]  For range 1 - 3750000
...