Re: Postgres + Docker
От | Marco Nietz |
---|---|
Тема | Re: Postgres + Docker |
Дата | |
Msg-id | 82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de обсуждение исходный текст |
Ответ на | Postgres + Docker (Κοκμάδης Δημήτριος<dkokmadis@gmail.com>) |
Список | pgsql-admin |
Hi Dimitris, there's nothing to worry about both messages, there are normal during bulk loading your database and are not docker-related. I you want to avoid them you can disable the autovacuum daemon before starting the restore, autovacuum = off in your postgresql.conf and do the vacuum/analyze afterwards manually with: vacuum analyze verbose. But don't forget to reenable the autovacuum daemon! Marco Am 19.08.2016 um 11:08 schrieb Κοκμάδης Δημήτριος: > Dear All, > > I try to restore a big database inside docker in order to provide a > docker image with database inside it. > > During restoration in tables with a lot of entries, I have the following > error > > [91m2016-08-19 08:58:37 UTC [92-3] ERROR: canceling autovacuum task > 2016-08-19 08:58:37 UTC [92-4] CONTEXT: automatic analyze of table "XXXX.XXX.XXX" > > > > Same procedure ( cat filename | gunzip | psql databasename) in plain > server works without any error. > > How can I avoid those errors inside docker? > > Best Regards, > > Dimitris Kokmadis > >
В списке pgsql-admin по дате отправления: