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

Commit91199dd

Browse files
doc: Reword unexplained abbreviation
The previous wording used MVF to indicate the Most Common Values'Frequencies, but the abbreviation was never explained or defined.Reword to mcv_freqs to make the use clearer.Also add MCF and MCV as acronyms as they were using <acronym>markup but were missing from the acronyms page.Reported-by: Eric Mutta <eric.mutta@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/166112292492.654.5377188452604176150@wrigleys.postgresql.org
1 parent5f38a20 commit91199dd

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

‎doc/src/sgml/acronyms.sgml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,26 @@
408408
</listitem>
409409
</varlistentry>
410410

411+
<varlistentry>
412+
<term><acronym>MCF</acronym></term>
413+
<listitem>
414+
<para>
415+
Most Common Frequency, that is the frequency associated with some
416+
Most Common Value
417+
</para>
418+
</listitem>
419+
</varlistentry>
420+
421+
<varlistentry>
422+
<term><acronym>MCV</acronym></term>
423+
<listitem>
424+
<para>
425+
Most Common Value, one of the values appearing most often within a
426+
particular table column
427+
</para>
428+
</listitem>
429+
</varlistentry>
430+
411431
<varlistentry>
412432
<term><acronym>MITM</acronym></term>
413433
<listitem>

‎doc/src/sgml/planstats.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ EXPLAIN SELECT * FROM tenk1 WHERE stringu1 = 'xxx';
203203
<acronym>MCV</acronym>s:
204204

205205
<programlisting>
206-
selectivity = (1 - sum(mvf))/(num_distinct - num_mcv)
206+
selectivity = (1 - sum(mcv_freqs))/(num_distinct - num_mcv)
207207
= (1 - (0.00333333 + 0.003 + 0.003 + 0.003 + 0.003 + 0.003 +
208208
0.003 + 0.003 + 0.003 + 0.003))/(676 - 10)
209209
= 0.0014559

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp