[PERFORM] Restoring Postgres Dump is very slow with Ubuntu 16.04
От | Hans Braxmeier |
---|---|
Тема | [PERFORM] Restoring Postgres Dump is very slow with Ubuntu 16.04 |
Дата | |
Msg-id | VI1PR04MB11361A7EE57BD159AD0206BE99040@VI1PR04MB1136.eurprd04.prod.outlook.com обсуждение исходный текст |
Ответы |
Re: [PERFORM] Restoring Postgres Dump is very slow with Ubuntu 16.04
|
Список | pgsql-performance |
Hello,
restoring a dump with Ubuntu 16.04 using postgres.conf default configuration (autovacuum on) takes several hours, with Ubuntu 14.04 only 20 minutes. Turning autovacuum off in Ubuntu 16.04 makes restoring much faster, with 14.04 autovacuum off has nearly no effect. The PG version does not matter. Same results with PG 9.4/9.5/9.6.
Time to restore the dump
Do you have any idea what could cause this effect (what has changed in Ubuntu 16.04?) and should autovaccum be turned on again after restoring the dump? Does autovaccum slow down other Postgres queries?
Thanks for any help, Hans
PS: My last post "Postgres 9.5 / 9.6: Restoring PG 9.4 dump is very very slow" from yesterday (2017-04-14 23.30:10) was not correct. Sorry
В списке pgsql-performance по дате отправления: