From: Marco Nietz <pg@mnietz.de>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres + Docker
Date: Fri, 19 Aug 2016 11:17:09 +0200
Message-ID: <82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de> (raw)
In-Reply-To: <CAFY9zEwm1_iQYX1j7QZiZSwJK+9kGtD9wW2ghvZrSJD2O=pqAg@mail.gmail.com>
References: <CAFY9zEwm1_iQYX1j7QZiZSwJK+9kGtD9wW2ghvZrSJD2O=pqAg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
>
>
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pg@mnietz.de
Subject: Re: Postgres + Docker
In-Reply-To: <82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de>
References: <CAFY9zEwm1_iQYX1j7QZiZSwJK+9kGtD9wW2ghvZrSJD2O=pqAg@mail.gmail.com> <82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox