Re: Postgres + Docker

From: Marco Nietz <pg(at)mnietz(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres + Docker
Date: 2016-08-19 09:17:09
Message-ID: 82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Steben 2016-08-19 13:34:27 Re: plpgsql.so undefined symbol error in pg_upgrade check
Previous Message Κοκμάδης Δημήτριος 2016-08-19 09:08:01 Postgres + Docker