Skip to content

Commit f041226

Browse files
committed
校验 brin.sgml 完成
1 parent 3872d52 commit f041226

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

postgresql/doc/src/sgml/brin.sgml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ ________________________________________________________-->
3535
</para>
3636
________________________________________________________-->
3737
<para>
38-
<acronym>BRIN</acronym> stands for Block Range Index.
39-
<acronym>BRIN</acronym> is designed for handling very large tables
40-
in which certain columns have some natural correlation with their
41-
physical location within the table.
38+
<acronym>BRIN</acronym> 代表块范围索引。
39+
<acronym>BRIN</acronym> 旨在处理非常大的表,其中某些列与它们在表中的物理位置具有某种自然相关性。
4240
</para>
4341
<!-- pgdoc-cn_end sig_en=70b70b4a6c7a9120fc7bfb74340bd5a9 -->
4442

@@ -57,16 +55,11 @@ ________________________________________________________-->
5755
</para>
5856
________________________________________________________-->
5957
<para>
60-
<acronym>BRIN</acronym> works in terms of <firstterm>block ranges</firstterm>
61-
(or <quote>page ranges</quote>).
62-
A block range is a group of pages that are physically
63-
adjacent in the table; for each block range, some summary info is stored
64-
by the index.
65-
For example, a table storing a store's sale orders might have
66-
a date column on which each order was placed, and most of the time
67-
the entries for earlier orders will appear earlier in the table as well;
68-
a table storing a ZIP code column might have all codes for a city
69-
grouped together naturally.
58+
<acronym>BRIN</acronym> 以 <firstterm>block ranges</firstterm>
59+
(或 <quote>page ranges</quote>)为单位工作。
60+
块范围是表中物理上相邻的一组页面;对于每个块范围,索引会存储一些摘要信息。
61+
例如,一个存储商店销售订单的表可能有一个日期列,表示每个订单的下单日期,大多数情况下较早的订单条目也会在表格中较早出现;
62+
一个存储邮政编码列的表可能会自然地将同一城市的所有邮政编码分组在一起。
7063
</para>
7164
<!-- pgdoc-cn_end sig_en=e3b2c04d5d86f4054583c592f20f5a2c -->
7265

@@ -182,10 +175,9 @@ ________________________________________________________-->
182175
<link linkend="autovacuum">autovacuum</link>进行了清理,所有现有的未摘要的
183176
页面范围都会被摘要。
184177
另外,如果索引的
185-
<xref linkend="index-reloption-autosummarize"/>参数被启用,
186-
默认情况下不启用,
187-
每当数据库中运行autovacuum时,将对所有已填充的未摘要的页面范围进行摘要,
188-
无论表本身是否由autovacuum处理;请参见下文。
178+
<xref linkend="index-reloption-autosummarize"/>参数被启用(默认情况下未启用),
179+
那么每当数据库中运行自动清理(autovacuum)时,将对所有已填充的未摘要的页面范围进行摘要处理,
180+
无论表本身是否由自动清理(autovacuum)处理;请参见下文。
189181
</para>
190182
<!-- pgdoc-cn_end sig_en=1373ff19c58ab48118a39c4fb8eeb2db -->
191183

@@ -210,12 +202,11 @@ ________________________________________________________-->
210202
<simplelist>
211203
<member>
212204
<function>brin_summarize_new_values(regclass)</function>
213-
which summarizes all unsummarized ranges;
205+
它总结了所有未总结的范围;
214206
</member>
215207
<member>
216208
<function>brin_summarize_range(regclass, bigint)</function>
217-
which summarizes only the range containing the given page,
218-
if it is unsummarized.
209+
如果未汇总,则仅汇总包含给定页面的范围。
219210
</member>
220211
</simplelist>
221212
</para>
@@ -241,11 +232,11 @@ LOG: request for BRIN range summarization for index "brin_wi_idx" page 128 was
241232
________________________________________________________-->
242233
<para>
243234
当启用自动摘要时,会向<literal>autovacuum</literal>发送请求,以在检测到下一个块范围的第一页的第一项插入时执行有针对性的摘要,
244-
在同一数据库中的下一个autovacuum工作完成后执行。如果请求队列已满,则不记录请求,并向服务器日志发送消息:
235+
在同一数据库中的下一个自动清理(autovacuum)工作完成后执行。如果请求队列已满,则不记录请求,并向服务器日志发送消息:
245236
<screen>
246237
LOG: request for BRIN range summarization for index "brin_wi_idx" page 128 was not recorded
247238
</screen>
248-
当发生这种情况时,范围将保持未摘要状态,直到表上的下一个常规vacuum运行,或者调用上述函数之一。
239+
当发生这种情况时,范围将保持未摘要状态,直到表上的下一个常规清理运行,或者调用上述函数之一。
249240
</para>
250241
<!-- pgdoc-cn_end sig_en=7b170653c5c2c90bf03a0d6bae3922e0 -->
251242

0 commit comments

Comments
 (0)