Skip to content

Commit b3c5118

Browse files
[pgbench]: restored some translations; fixed some errors
1 parent 99e6b90 commit b3c5118

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

postgresql/doc/src/sgml/ref/pgbench.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ ________________________________________________________-->
731731
<!-- pgdoc-cn_start sig_en=dda16f720fbd9afbff8e9127dd98493f sig_cn_org=d9fae02bf3aef5530af7fd70acaeeddd source=15.7
732732
<term><option>-&minus;builtin</option>=<replaceable>scriptname[@weight]</replaceable></term>
733733
________________________________________________________-->
734-
<term><option>--builtin</option>=<replaceable>脚本名称[@权重]</replaceable></term>
734+
<term><option>--builtin</option>=<replaceable>scriptname[@weight]</replaceable></term>
735735
<!-- pgdoc-cn_end sig_en=dda16f720fbd9afbff8e9127dd98493f -->
736736
<listitem>
737737
<!-- pgdoc-cn_start sig_en=fa0c14c1692d03e3b88691298570e913 sig_cn_org=02a11ba52ff18b634c37685d26b6ffc2 source=15.7
@@ -851,7 +851,7 @@ ________________________________________________________-->
851851
</para>
852852
________________________________________________________-->
853853
<para>
854-
将从<replaceable>文件名</replaceable>读取的事务脚本添加到要执行的脚本列表中。
854+
将从<replaceable>filename</replaceable>读取的事务脚本添加到要执行的脚本列表中。
855855
</para>
856856
<!-- pgdoc-cn_end sig_en=5bddcd7dfd0b203cb53eb8f78ffcb6e3 -->
857857
<!-- pgdoc-cn_start sig_en=9406c01577ba15520913e08d3d3e2196 sig_cn_org=552511201fdba3bbc71f9115845c95f0 source=15.7
@@ -926,7 +926,7 @@ ________________________________________________________-->
926926
</para>
927927
________________________________________________________-->
928928
<para>
929-
持续时间超过<replaceable>limit</replaceable>毫秒的交易将被单独计数和报告,称为<firstterm>延迟</firstterm>。
929+
持续时间超过<replaceable>limit</replaceable>毫秒的交易将被单独计数和报告,称为<firstterm>late</firstterm>。
930930
</para>
931931
<!-- pgdoc-cn_end sig_en=235337e289fdd63f1386d29f20a828be -->
932932
<!-- pgdoc-cn_start sig_en=e06674482c432f825c140b1644b98496 sig_cn_org=545e9265f819788c472e46d8073e4a75 source=15.7
@@ -940,7 +940,7 @@ ________________________________________________________-->
940940
________________________________________________________-->
941941
<para>
942942
当使用节流时(<option>--rate=...</option>),落后于计划时间超过<replaceable>limit</replaceable>毫秒的事务,
943-
因此无法满足延迟限制,根本不会发送到服务器。它们被计数并单独报告为<firstterm>跳过</firstterm>。
943+
因此无法满足延迟限制,根本不会发送到服务器。它们被计数并单独报告为<firstterm>skipped</firstterm>。
944944
</para>
945945
<!-- pgdoc-cn_end sig_en=e06674482c432f825c140b1644b98496 -->
946946
<!-- pgdoc-cn_start sig_en=e00cbe420c2bffdd71a09383e49a33d0 sig_cn_org=e2edbf518bc66f9bd4ddb7461748cb5f source=15.7
@@ -4398,9 +4398,9 @@ ________________________________________________________-->
43984398
________________________________________________________-->
43994399
<para>
44004400
当同时使用<option>--rate</option>和<option>--latency-limit</option>时,
4401-
跳过事务的<replaceable>时间</replaceable>将被报告为<literal>skipped</literal>。
4402-
如果事务以失败结束,其<replaceable>时间</replaceable>将被报告为<literal>failed</literal>。
4403-
如果您使用<option>--failures-detailed</option>选项,失败事务的<replaceable>时间</replaceable>将被报告为<literal>serialization</literal>或<literal>deadlock</literal>,具体取决于失败类型(有关更多信息,请参见<xref linkend="failures-and-retries"/>)。
4401+
跳过事务的<replaceable>time</replaceable>将被报告为<literal>skipped</literal>。
4402+
如果事务以失败结束,其<replaceable>time</replaceable>将被报告为<literal>failed</literal>。
4403+
如果您使用<option>--failures-detailed</option>选项,失败事务的<replaceable>time</replaceable>将被报告为<literal>serialization</literal>或<literal>deadlock</literal>,具体取决于失败类型(有关更多信息,请参见<xref linkend="failures-and-retries"/>)。
44044404
</para>
44054405
<!-- pgdoc-cn_end sig_en=4e8d1be977ba9288dd3c262514fd6901 -->
44064406

@@ -4884,7 +4884,7 @@ ________________________________________________________-->
48844884
<itemizedlist>
48854885
<listitem>
48864886
<para>
4887-
<literal>延迟</literal> &mdash; 每个语句的经过时间。<application>pgbench</application>报告该语句所有成功运行的平均值。
4887+
<literal>latency</literal> &mdash; 每个语句的经过时间。<application>pgbench</application>报告该语句所有成功运行的平均值。
48884888
</para>
48894889
</listitem>
48904890
<listitem>

0 commit comments

Comments
 (0)