Re: Statistics Import and Export

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, jian he <jian(dot)universality(at)gmail(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, alvherre(at)alvh(dot)no-ip(dot)org
Subject: Re: Statistics Import and Export
Date: 2024-12-12 03:49:53
Message-ID: CADkLM=cWc+Zbjnpew9sg346DdRQJj8OSvZjg4fwvpLH10EViJQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> +1, assuming such an option is wanted at all. I suppose it should be
> there for the unlikely (and hopefully impossible) case that statistics
> are causing a problem during upgrade.
>

Here you go, rebased and re-ordered:

0001-0004 are the pg_dump/pg_upgrade related patches.
0005 is an optimization to the attribute stats update
0006-0011 is the still-up-for-debate vacuumdb changes.

The patch for handling the as-yet-theoretical change to default relpages
for partitioned tables got messy in the rebase, so I decided to just leave
it out for now, as the change to relpages looks increasingly unlikely.

Attachment Content-Type Size
v34-0002-Add-no-data-option.patch text/x-patch 5.4 KB
v34-0003-Change-pg_upgrade-s-invocation-of-pg_dump-to-use.patch text/x-patch 1.9 KB
v34-0005-Consolidate-attribute-syscache-lookups-into-one-.patch text/x-patch 4.4 KB
v34-0004-Add-statistics-flags-to-pg_upgrade.patch text/x-patch 3.8 KB
v34-0001-Enable-dumping-of-table-index-stats-in-pg_dump.patch text/x-patch 34.6 KB
v34-0006-split-out-check_conn_options.patch text/x-patch 4.5 KB
v34-0008-split-out-generate_catalog_list.patch text/x-patch 7.1 KB
v34-0007-split-out-print_processing_notice.patch text/x-patch 2.4 KB
v34-0010-Add-issues_sql_unlike-opposite-of-issues_sql_lik.patch text/x-patch 1.5 KB
v34-0009-preserve-catalog-lists-across-staged-runs.patch text/x-patch 6.7 KB
v34-0011-Add-force-analyze-to-vacuumdb.patch text/x-patch 12.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-12-12 03:53:13 Re: pg_createsubscriber TAP test wrapping makes command options hard to read.
Previous Message Michael Paquier 2024-12-12 03:44:34 Re: Add Postgres module info