diff options
author | Tom Lane | 2012-06-19 22:33:59 +0000 |
---|---|---|
committer | Tom Lane | 2012-06-19 22:33:59 +0000 |
commit | afe1c51c9d65c67c7474c60d64bceefe9953dde6 (patch) | |
tree | 1301d2603d993c4967db161a9e90b65914102dd5 /doc/src | |
parent | 11b335ac4cc895db8c1b27455281fa36f97c53ff (diff) |
Add pgbench option to add foreign key constraints to the standard scenario.
The option --foreign-keys, used at initialization time, will create foreign
key constraints for the columns that represent references to other tables'
primary keys. This can help in benchmarking FK performance.
Jeff Janes
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pgbench.sgml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/pgbench.sgml b/doc/src/sgml/pgbench.sgml index 4a80b46416d..5ce66a6ac04 100644 --- a/doc/src/sgml/pgbench.sgml +++ b/doc/src/sgml/pgbench.sgml @@ -181,6 +181,15 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</> </varlistentry> <varlistentry> + <term><option>--foreign-keys</option></term> + <listitem> + <para> + Create foreign key constraints between the standard tables. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--index-tablespace=<replaceable>index_tablespace</replaceable></option></term> <listitem> <para> |