1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Lift the limitation that # of clients must be a multiple of # of threads

Fabien Coelho
This commit is contained in:
Heikki Linnakangas
2015-07-03 10:45:40 +03:00
parent 8650d161ae
commit ba3deeefb0
2 changed files with 20 additions and 10 deletions

View File

@ -326,8 +326,7 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
<para>
Number of worker threads within <application>pgbench</application>.
Using more than one thread can be helpful on multi-CPU machines.
The number of clients must be a multiple of the number of threads,
since each thread is given the same number of client sessions to manage.
Clients are distributed as evenly as possible among available threads.
Default is 1.
</para>
</listitem>