Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite47510f

Browse files
author
Marina Polyakova
committed
Pgbench Fix the documentation 2
Distinguish serialization/deadlock errors that cause a retry, andserialization/deadlock failures that don't cause a retry.
1 parentf82ecf7 commite47510f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

‎doc/src/sgml/ref/pgbench.sgml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -472,18 +472,18 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
472472
transaction scheduled start time, not the actual transaction beginning
473473
time. Thus, the latency also includes the average schedule lag time. If
474474
any transactions have been rolled back and retried after a
475-
serialization/deadlockfailure since the last report, the report
475+
serialization/deadlockerror since the last report, the report
476476
includes the number of such transactions and the sum of all retries. Use
477477
the <option>--max-tries</> to enable transactions retries after
478-
serialization/deadlockfailures.
478+
serialization/deadlockerrors.
479479
</para>
480480
<note>
481481
<para>
482482
If a custom script contains multiple transactions, its run is reported
483483
as failed if any of its transactions ended with a
484484
serialization/deadlock failure. The run of this script is reported as
485485
retried if any of its transactions was retried after a
486-
serialization/deadlockfailure. The total sum of retries includes the
486+
serialization/deadlockerror. The total sum of retries includes the
487487
retries for all transactions in this script.
488488
</para>
489489
</note>
@@ -639,7 +639,7 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
639639
<listitem>
640640
<para>
641641
Set the maximum number of tries for transactions with
642-
serialization/deadlockfailures. The default is 1.
642+
serialization/deadlockerrors. The default is 1.
643643
</para>
644644

645645
<note>
@@ -655,8 +655,8 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
655655
<note>
656656
<para>
657657
Transactions that span over more than one script are not rolled back
658-
and will not be retried in case ofa failure. In such cases, the script
659-
in which thefailure occurred is reported as failed.
658+
and will not be retried in case ofan error. In such cases, the script
659+
in which theerror occurred is reported as failed.
660660
</para>
661661
</note>
662662
</listitem>
@@ -1234,7 +1234,7 @@ END;
12341234
the <replaceable>time</> for a skipped transaction will be reported as
12351235
<literal>skipped</>.
12361236
<replaceable>serialization_retries</> and <replaceable>deadlock_retries</>
1237-
are the sums of all the retries after the correspondingfailures during the
1237+
are the sums of all the retries after the correspondingerrors during the
12381238
current script execution. They are only present when the maximum number of
12391239
tries for transactions is more than 1 (<option>--max-tries</>).
12401240
If the transaction ended with a serialization/deadlock failure, its
@@ -1333,7 +1333,7 @@ END;
13331333
<replaceable>serialization_retries</>, and <replaceable>deadlock_retries</>
13341334
fields are only present if the maximum number of tries for transactions is
13351335
more than 1 (<option>--max-tries</>). They report the number of retried
1336-
transactions and the sum of all the retries after the correspondingfailures
1336+
transactions and the sum of all the retries after the correspondingerrors
13371337
within the interval.
13381338
</para>
13391339

@@ -1346,7 +1346,7 @@ END;
13461346
statistics is increased by one, regardless of the number of retried
13471347
transactions. However, the <replaceable>serialization_retries</> and
13481348
<replaceable>deadlock_retries</> include the sum of all retries after the
1349-
correspondingfailures for all transactions in this script.
1349+
correspondingerrors for all transactions in this script.
13501350
</para>
13511351
</note>
13521352

@@ -1384,14 +1384,14 @@ END;
13841384
</listitem>
13851385
<listitem>
13861386
<para>
1387-
The number of serialization and deadlock failures that did not cause a
1388-
retry. See<xref linkend="failures-and-retries"
1387+
The number of serialization and deadlock failures. See
1388+
<xref linkend="failures-and-retries"
13891389
endterm="failures-and-retries-title"> for more information.
13901390
</para>
13911391
</listitem>
13921392
<listitem>
13931393
<para>
1394-
The number of retries after a serialization/deadlockfailure in this
1394+
The number of retries after a serialization/deadlockerror in this
13951395
statement; they are reported as serialization/deadlock retries,
13961396
respectively.
13971397
</para>
@@ -1513,16 +1513,16 @@ script statistics:
15131513
<title id="failures-and-retries-title">Serialization/Deadlock Failures and Retries</title>
15141514

15151515
<para>
1516-
Transactions with serialization or deadlockfailures are rolled back and
1516+
Transactions with serialization or deadlockerrors are rolled back and
15171517
repeated until they complete successfully or reach the maximum number of
15181518
tries specified by the <option>--max-tries</> option. If the last transaction
15191519
run fails, this transaction will be reported as failed.
15201520
</para>
15211521

15221522
<para>
15231523
Transactions that span over more than one script are not rolled back and will
1524-
not be retried in case ofa failure. In such cases, the script in which the
1525-
failure occurred is reported as failed.
1524+
not be retried in case ofan error. In such cases, the script in which the
1525+
error occurred is reported as failed.
15261526
</para>
15271527

15281528
<para>
@@ -1536,15 +1536,15 @@ script statistics:
15361536
If the total number of retried transactions is non-zero, the main report also
15371537
contains the statistics related to retries: the total number of retried
15381538
transactions, the total number of retries, and the number of retries after
1539-
each kind offailure (use option <option>--max-tries</> to make it possible).
1539+
each kind oferror (use option <option>--max-tries</> to make it possible).
15401540
The per-statement report inherits all columns from the main report.
15411541
</para>
15421542
<note>
15431543
<para>
15441544
If a custom script contains multiple transactions, its run is reported as
15451545
failed if any of its transactions ended with a serialization/deadlock
15461546
failure. The run of this script is reported as retried if any of its
1547-
transactions was retried after a serialization/deadlockfailure. The total
1547+
transactions was retried after a serialization/deadlockerror. The total
15481548
sum of retries includes the retries for all transactions in this script.
15491549
</para>
15501550
</note>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp