Index of /www001/src/ports/lang/opendylan/work/opendylan-1.0beta4/sources/databases/tests/stress-tool

      Name                    Last modified       Size  Description

[DIR] Parent Directory 05-Feb-2008 17:44 - [TXT] Open-Source-License.txt 29-Oct-2004 21:45 1k [TXT] Open-Source-License...> 09-Aug-2008 13:02 0k [   ] database-stress-tool..> 29-Oct-2004 21:45 1k [TXT] database-stress-tool..> 09-Aug-2008 13:02 0k [   ] library.dylan 29-Oct-2004 21:45 1k [TXT] library.dylan.html 09-Aug-2008 13:02 0k [   ] main.dylan 29-Oct-2004 21:45 4k [TXT] main.dylan.html 09-Aug-2008 13:02 0k [   ] module.dylan 29-Oct-2004 21:45 1k [TXT] module.dylan.html 09-Aug-2008 13:02 0k [   ] stress-tool.dylan 29-Oct-2004 21:45 6k [TXT] stress-tool.dylan.html 09-Aug-2008 13:02 0k

Functional Developer Example: Database Stress Tool

Database Stress Tool Example Project


A simple database command line stress tool, use the /help option for more details.

C:>database-stress-tool /help
Usage: database-stress-tool [options *]

Options:
  /help         - show this help  /database     - the database to use [default: testDB]
  /table        - the table to use [default Accounts]
  /update       - update the table [default: just query]
  /statement    - the SQL statement to use [default SELECT * FROM Accounts]
  /iterations   - how many iterations per phase [default 100]
  /phases       - how many phases to run [default 10]
  /truncate     - truncate the table before starting [default off]
  /share        - share a connection for each phase [default off]
  /transactions - wrap each phase in a transaction [default off]
  /rollback     - don't commit the updates during a transaction [default commit]
  /quiet        - don't show progress information [default: show progress]
  /debug        - don't catch errors [default: off]