| From: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
|---|---|
| To: | Robert Treat <rob(at)xzilla(dot)net> |
| Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Rambabu V <ram(dot)wissen(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: regarding statistics retaining with 18 Upgrade |
| Date: | 2025-11-16 04:43:40 |
| Message-ID: | CAFiTN-vWnysKQVBYjzWKrRDWrf25CRvVDfGVwt5+rdo+jzH20g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Nov 16, 2025 at 5:22 AM Robert Treat <rob(at)xzilla(dot)net> wrote:
>
> On Sat, Nov 15, 2025 at 9:32 AM Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > On Sat, Nov 15, 2025 at 06:02:53PM +0800, Rambabu V wrote:
> > > Hi Team,
> > >
> > > seems stats are not retained after upgrade. Below are the artifacts , is it
> > > expected? as per the release notes statistics should be retained.
> >
> > Uh, it is the _optimizer_ statistics that are preserved by pg_upgrade,
> > not the cumulative statistics system:
> >
> > https://www.postgresql.org/docs/current/monitoring-stats.html
> >
> > Yes, they are easily confused.
> >
>
> I wonder if it might be worth trying to clarify this a little bit
> more... perhaps something like the attached?
IMHO it makes sense to update the doc as you suggested to avoid any confusion.
--
Regards,
Dilip Kumar
Google
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rambabu V | 2025-11-16 05:03:30 | Re: regarding statistics retaining with 18 Upgrade |
| Previous Message | Robert Treat | 2025-11-15 23:52:15 | Re: regarding statistics retaining with 18 Upgrade |