Re: analyze foreign tables

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: analyze foreign tables
Дата
Msg-id 155c25b62f6eab032138b93831ca4fe95158e059.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: analyze foreign tables  (richard coleman <rcoleman.ascentgl@gmail.com>)
Ответы Re: analyze foreign tables  (richard coleman <rcoleman.ascentgl@gmail.com>)
Список pgsql-admin
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



В списке pgsql-admin по дате отправления:

Предыдущее
От: richard coleman
Дата:
Сообщение: Re: analyze foreign tables
Следующее
От: richard coleman
Дата:
Сообщение: Re: analyze foreign tables