Re: 15 pg_upgrade with -j

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 15 pg_upgrade with -j
Дата
Msg-id 774330.1684798934@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 15 pg_upgrade with -j  (Jeff Ross <jross@openvistas.net>)
Ответы Re: 15 pg_upgrade with -j
Re: 15 pg_upgrade with -j
Список pgsql-general
Jeff Ross <jross@openvistas.net> writes:
> On 5/22/23 5:24 PM, Adrian Klaver wrote:
>> So is the 1400G mostly in one database in the cluster?

> Yes, one big database with about 80 schemas and several other smaller 
> databases so -j should help, right?

AFAICT from a quick look at the code, you won't get any meaningful
parallelism unless you have several large DBs and/or several large
tablespaces.  It looks like the assumption was that issuing link()
requests in parallel wouldn't help much but just swamp your disk
if they're all on the same filesystem.  Maybe that could use
rethinking, not sure.

            regards, tom lane



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

Предыдущее
От: Jeff Ross
Дата:
Сообщение: Re: 15 pg_upgrade with -j
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: 15 pg_upgrade with -j