pg_upgrade —link does it remove table bloat

From: Jason Ralph <jralph(at)affinitysolutions(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: pg_upgrade —link does it remove table bloat
Date: 2020-02-13 12:31:42
Message-ID: BN7PR04MB382636FF273A9E543B970468D01A0@BN7PR04MB3826.namprd04.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When using the pg_upgrade link method to upgrade Postgres a major version. Let’s say 9.3 to 11.6 on Centos Linux. Will table bloat carry over to the new version. I know using —link will use hard link pointers to the new data. So I assume all table bloat will carry over to the new version. I also know that pg_upgrade will reset statistics, so does the table remain bloated but statistics show otherwise? Can Someone please help me answer this? Or link where it’s outlined in the manual. Thanks as always.

Jason Ralph
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Kane 2020-02-13 13:19:19 Re: Avoiding out of date statistics / planner
Previous Message Mladen Marinović 2020-02-13 09:41:32 Re: pg_basebackup connection closed unexpectedly...