Commit 48c69598 authored by Peter Geoghegan's avatar Peter Geoghegan

Doc: Tweak description of B-Tree duplicate tuples.

Defining duplicates as "close by" to each other was unclear.  Simplify
the definition.

Backpatch: 13-, where deduplication was introduced (by commit 0d861bbb)
parent 3be015c9
...@@ -635,10 +635,10 @@ options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns ...@@ -635,10 +635,10 @@ options(<replaceable>relopts</replaceable> <type>local_relopts *</type>) returns
A duplicate is a leaf page tuple (a tuple that points to a table A duplicate is a leaf page tuple (a tuple that points to a table
row) where <emphasis>all</emphasis> indexed key columns have values row) where <emphasis>all</emphasis> indexed key columns have values
that match corresponding column values from at least one other leaf that match corresponding column values from at least one other leaf
page tuple that's close by in the same index. Duplicate tuples are page tuple in the same index. Duplicate tuples are quite common in
quite common in practice. B-Tree indexes can use a special, practice. B-Tree indexes can use a special, space-efficient
space-efficient representation for duplicates when an optional representation for duplicates when an optional technique is
technique is enabled: <firstterm>deduplication</firstterm>. enabled: <firstterm>deduplication</firstterm>.
</para> </para>
<para> <para>
Deduplication works by periodically merging groups of duplicate Deduplication works by periodically merging groups of duplicate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment