Re: analyze foreign tables

From: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: analyze foreign tables
Date: 2023-08-01 19:27:40
Message-ID: CAGA3vBvOOmrhpOJc3gjMcQS_TDfGR7OH_vaodLUQoJxYO8wZSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support pgsql-admin

Laurenz,

Since my ability to program in C is basically non-existent, there's no
danger of me writing custom PostgreSQL C code anytime soon.

Maybe someday when I retire I'll take up C coding to keep my mind nimble.

So increasing parallelization it is.

Thanks again,
rik.

On Tue, Aug 1, 2023 at 3:15 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
wrote:

> On Tue, 2023-08-01 at 12:36 -0400, richard coleman wrote:
> > Would it be possible to transfer table statistics between the same
> version
> > of PostgreSQL, ex: source is pg15, target is pg15?
>
> There is no support for that.
>
> If you know what you are doing, you might be able to mess with the catalog
> tables,
> but you would probably need server C code for that, since you cannot
> normally
> write to an "anyarray".
>
> I wouldn't recommend to go that way.
>
> > Otherwise, anything that can be done to speed this up would be very
> helpful.
>
> Run the ANALYZE in many parallel sessions. I cannot think of anything
> smarter.
>
> Yours,
> Laurenz Albe
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2023-08-02 05:56:39 [pgadmin-org/pgadmin4] 0f86b7: Added support for PostgreSQL and EPAS 16 to ensure...
Previous Message Laurenz Albe 2023-08-01 19:15:23 Re: analyze foreign tables

Browse pgadmin-support by date

  From Date Subject
Next Message Riccardo Grazioli 2023-08-01 20:47:25 Bug on pgAdmin 4
Previous Message Laurenz Albe 2023-08-01 19:15:23 Re: analyze foreign tables

Browse pgsql-admin by date

  From Date Subject
Next Message sbob 2023-08-01 23:02:44 repmgr setup and one other question
Previous Message Laurenz Albe 2023-08-01 19:15:23 Re: analyze foreign tables