Author Topic: Load the database incorrectly in deploying appjserver  (Read 3956 times)

elnino

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Load the database incorrectly in deploying appjserver
« 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.

AnoopGupta

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
Re: Load the database incorrectly in deploying appjserver
« Reply #1 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
...
« Last Edit: April 21, 2015, 02:49:01 PM by AnoopGupta »