Addition of --no-sync to pg_upgrade for test speedup

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Addition of --no-sync to pg_upgrade for test speedup
Дата
Msg-id YbrhzuBmBxS/DkfX@paquier.xyz
обсуждение исходный текст
Ответы Re: Addition of --no-sync to pg_upgrade for test speedup  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Re: Addition of --no-sync to pg_upgrade for test speedup  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hi all,

As per $subject, avoiding the flush of the new cluster's data
directory shortens a bint the runtime of the test.  In some of my slow
VMs, aka Windows, this shaves a couple of seconds even if the bulk of
the time is still spent on the main regression test suite.

In pg_upgrade, we let the flush happen with initdb --sync-only, based
on the binary path of the new cluster, so I think that we are not
going to miss any test coverage by skipping that.

Thoughts or opinions?
--
Michael

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Allow escape in application_name
Следующее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: Failed transaction statistics to measure the logical replication progress