summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Vondra2022-03-28 12:27:36 +0000
committerTomas Vondra2022-03-28 12:31:45 +0000
commit0fc2455edbda035df87bbb1ea2091eb87f94bb99 (patch)
tree70b786035de1452966cd060fe139efeac4a8393e /src
parent7d935bdf7af71aaa1654366b9fd051581660326a (diff)
Document autoanalyze limitations for partitioned tables
When dealing with partitioned tables, counters for partitioned tables are not updated when modifying child tables. This means autoanalyze may not update optimizer statistics for the parent relations, which can result in poor plans for some queries. It's worth documenting this limitation, so that people are aware of it and can take steps to mitigate it (e.g. by setting up a script executing ANALYZE regularly). Backpatch to v10. Older branches are affected too, of couse, but we no longer maintain those. Author: Justin Pryzby Reviewed-by: Zhihong Yu, Tomas Vondra Backpatch-through: 10 Discussion: https://postgr.es/m/20210913035409.GA10647%40telsasoft.com
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions