| От | Nathan Bossart |
|---|---|
| Тема | Re: should frontend tools use syncfs() ? |
| Дата | |
| Msg-id | 20230808200606.GA1384393@nathanxps13 обсуждение исходный текст |
| Ответ на | Re: should frontend tools use syncfs() ? (Nathan Bossart <nathandbossart@gmail.com>) |
| Ответы |
Re: should frontend tools use syncfs() ?
|
| Список | pgsql-hackers |
I ran a couple of tests for pg_upgrade with 100k tables (created using the
script here [0]) in order to demonstrate the potential benefits of this
patch.
pg_upgrade --sync-method fsync
real 5m50.072s
user 0m10.606s
sys 0m40.298s
pg_upgrade --sync-method syncfs
real 3m44.096s
user 0m8.906s
sys 0m26.398s
pg_upgrade --no-sync
real 3m27.697s
user 0m9.056s
sys 0m26.605s
[0] https://postgr.es/m/3612876.1689443232%40sss.pgh.pa.us
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера