</para>
<para>
If <option>--latency-limit</option> is used together with <option>--rate</option>,
a transaction can lag behind so much that it is already over the
latency limit when the previous transaction ends, because the latency
is calculated from the scheduled start time. Such transactions are
not sent to the server, but are skipped altogether and counted
separately.
</para>
<para>
A high schedule lag time is an indication that the system cannot
process transactions at the specified rate, with the chosen number of
clients and threads. When the average transaction execution time is
longer than the scheduled interval between each transaction, each
successive transaction will fall further behind, and the schedule lag
time will keep increasing the longer the test run is. When that
happens, you will have to reduce the specified transaction rate.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-scale-run">
<term><option>-s</option> <replaceable>scale_factor</replaceable></term>
<term><option>--scale=</option><replaceable>scale_factor</replaceable></term>
<listitem>
<para>
Report the specified scale factor in <application>pgbench</application>'s
output. With the built-in tests, this is not necessary; the
correct scale factor will be detected by counting the number of
rows in the <structname>pgbench_branches</structname> table.
However, when testing only custom benchmarks (<option>-f</option> option),
the scale factor will be reported as 1 unless this option is used.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-select-only">
<term><option>-S</option></term>
<term><option>--select-only</option></term>
<listitem>
<para>
Run built-in select-only script.
Shorthand for <option>-b select-only</option>.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-transactions">
<term><option>-t</option> <replaceable>transactions</replaceable></term>
<term><option>--transactions=</option><replaceable>transactions</replaceable></term>
<listitem>
<para>
Number of transactions each client runs. Default is 10.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-time">
<term><option>-T</option> <replaceable>seconds</replaceable></term>
<term><option>--time=</option><replaceable>seconds</replaceable></term>
<listitem>
<para>
Run the test for this many seconds, rather than a fixed number of
transactions per client. <option>-t</option> and
<option>-T</option> are mutually exclusive.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-vacuum-all">
<term><option>-v</option></term>
<term><option>--vacuum-all</option></term>
<listitem>
<para>
Vacuum all four standard tables before running the test.
With neither <option>-n</option> nor <option>-v</option>, <application>pgbench</application> will vacuum the
<structname>pgbench_tellers</structname> and <structname>pgbench_branches</structname>
tables, and will truncate <structname>pgbench_history</structname>.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-aggregate-interval">
<term><option>--aggregate-interval=<replaceable>seconds</replaceable></option></term>
<listitem>
<para>
Length of aggregation interval (in seconds). May be used only
with <option>-l</option> option. With this option, the log contains
per-interval summary data, as described below.
</para>
</listitem>
</varlistentry>
<varlistentry id="pgbench-option-exit-on-abort">