Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db6de5b

Browse files
committed
Document that analyzing an empty table doesn't update the statistics.
Per a suggestion from Sergey Konoplev
1 parent cf3fff6 commit db6de5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/ref/analyze.sgml

+6
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
190190
or updated, the inheritance statistics will not be up to date unless you
191191
run <command>ANALYZE</command> manually.
192192
</para>
193+
194+
<para>
195+
If the table being analyzed is completely empty, <command>ANALYZE</command>
196+
will not record new statistics for that table. Any existing statistics
197+
will be retained.
198+
</para>
193199
</refsect1>
194200

195201
<refsect1>

0 commit comments

Comments
 (0)