Test client that can be used to show that there has been a performance regression.
This test is based on a slightly modified version of the test client found in
DERBY-1961. The main change is to add a secondary index to
it that is used for the queries.
To run this client do:
1. Create and initialize database:
java TestClient2 -a initdb -u "jdbc:derby:/tmp/tulldb;create=true"
2. Run test (which does SELECT * FROM ... WHERE SEC_ID= X) with two
java TestClient2 -a select -r 60 -c 2 -u "jdbc:derby:/tmp/tulldb"