I cannot get a TPC-C test to run against EDB 9.5 Postgres Plus Advanced Server using ODBC driver. It always gets stuck on the “Create Objects for TPC-C” test.
In the database I created a user called pgtest that is a superuser and a db called pgtest that I drop & recreate between each attemped run.
Run 1
I create a TPC-C job with a Benchmark Scale of 1 (size 85.90 MB). Under Test Options, neither Distribute index creation nor Distribute load using Benchmark Factory Agents are enabled. I use the “Recreate objects and reload data every execution”.
Result: The database objects are all created but the data is never loaded into the tables. The job stays on the “Create Objects for TPC-C” test with a Status of “Loading Tables” and never finishes.
Messages:
TESTJOB2
Job Started
Starting Agent(s) on *******
Started test Create Objects for TPC-C
Delete Tables
Create Tables
Load Tables
ODBC Error (42P07,7, 1) - ERROR: relation “tpc_c_properties” already exists;
Error while executing the query
…
ODBC Error (42P07,7, 1) - ERROR: relation “tpc_c_load_progress” already exists;
Error while executing the query
Failed to create load progress table!
ODBC Error (42P07,7, 1) - ERROR: relation “tpc_c_load_progress” already exists;
Error while executing the query
…
Stopping test - Create Objects for TPC-C
Exceeded virtual user communication timeout. Continuing to stop test.
Test cancelled due to errors.
Shutting down Agent(s) on *********
** Job finished.
Total Time to perform the job:
Start Time: 3/10/2017 12:36:55 PM
End Time : 3/10/2017 12:48:30 PM
Elapsed : 0 Days 00:11:35.339
Run 2
Same as previous run, except under Test Options, I enable Distribute load using Benchmark Factory Agents with 9 virtual users.
Result: The database objects are all created and load begins and never ends. The Status gets to Load Data 100% on each of the tables but the loading continues. The job stays on the “Create Objects for TPC-C” step with a Status of “Loading Tables” and never finishes. It does say 100% complete, but if I look at the row counts they just keep increasing and the 2nd step TPC-C Transaction Mix never becomes active.
I then had to stop the job.
Messages:
TESTJOB2
Job Started
Starting Agent(s) on *****
Started test Create Objects for TPC-C
Delete Tables
Create Tables
Load Tables
Agent(*****) Error: ODBC Error (42P07,7, 1) - ERROR: relation “tpc_c_properties” already exists;
Error while executing the query
Stopping test - Create Objects for TPC-C
Test cancelled due to errors.
Shutting down Agent(s) on *****
** Job finished.
Total Time to perform the job:
Start Time: 3/10/2017 12:49:59 PM
End Time : 3/10/2017 1:02:01 PM
Elapsed : 0 Days 00:12:01.735
----------------------------------
If I just change the the database connection to be against an Oracle database it finishes successfully in about 7 minutes.
Thanks.
(By the way, I notice that no procedures are created in the EDB database - I guess this could be that the test just does straight ANSI SQL calls).