Files
sysbench/tests/t/drv_pgsql.t
Alexey Kopytov d5b661a019 Implement --histogram option.
When --histogram is used, print latency histogram as a part of the
benchmark report. For now, the histogram is actually a text
representation of an internal data structure used by sysbench to
calculate latency percentile.
2016-12-30 20:42:35 +03:00

49 lines
1.6 KiB
Perl

########################################################################
PostgreSQL driver tests
########################################################################
$ if [ -z "${SBTEST_PGSQL_ARGS:-}" ]
> then
> exit 80
> fi
$ DB_DRIVER_ARGS="--db-driver=pgsql $SBTEST_PGSQL_ARGS"
$ . $SBTEST_INCDIR/drv_common.sh
sysbench *.* * (glob)
Running the test with following options:
Number of threads: 2
Initializing random number generator from current time
Initializing worker threads...
Threads started!
OLTP test statistics:
queries performed:
read: 10
write: 0
other: 0
total: 10
transactions: 0 (0.00 per sec.)
read/write requests: 10 (*.* per sec.) (glob)
other operations: 0 (0.00 per sec.)
ignored errors: 0 (0.00 per sec.)
reconnects: 0 (0.00 per sec.)
General statistics:
total time: *.*s (glob)
total number of events: 10
total time taken by event execution: *.*s (glob)
Latency statistics:
min: *.*ms (glob)
avg: *.*ms (glob)
max: *.*ms (glob)
approx. 95th percentile: *.*ms (glob)
Threads fairness:
events (avg/stddev): *.*/*.* (glob)
execution time (avg/stddev): *.*/*.* (glob)