Commit 44f90ad0 authored by Tomas Vondra's avatar Tomas Vondra

Mention statistics objects in maintenance.sgml

The docs mentioned expression indexes as a way to improve selectivity
estimates for functions, but we have a second option to improve that by
creating extended statistics. So mention that too.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20210505210947.GA27406%40telsasoft.com
parent 93f9af13
...@@ -330,7 +330,8 @@ ...@@ -330,7 +330,8 @@
<para> <para>
Also, by default there is limited information available about Also, by default there is limited information available about
the selectivity of functions. However, if you create an expression the selectivity of functions. However, if you create a statistics
object or an expression
index that uses a function call, useful statistics will be index that uses a function call, useful statistics will be
gathered about the function, which can greatly improve query gathered about the function, which can greatly improve query
plans that use the expression index. plans that use the expression index.
......
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