Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bafvP-0001g8-1J for pgsql-admin@arkaria.postgresql.org; Fri, 19 Aug 2016 09:17:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bafvO-0007VW-Fb for pgsql-admin@arkaria.postgresql.org; Fri, 19 Aug 2016 09:17:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bafvN-0007U9-N6 for pgsql-admin@postgresql.org; Fri, 19 Aug 2016 09:17:13 +0000 Received: from mail.mnietz.de ([88.198.137.52]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bafvK-0000m4-T0 for pgsql-admin@postgresql.org; Fri, 19 Aug 2016 09:17:13 +0000 Received: from [192.168.1.113] (ip-109-90-226-23.hsi11.unitymediagroup.de [109.90.226.23]) by mail.mnietz.de (Postfix) with ESMTPSA id 06F2A404C9 for ; Fri, 19 Aug 2016 11:17:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mnietz.de; s=mail_201512; t=1471598230; r=y; bh=8TUuslwdLlwD5L/f/xpCEWnRdGXEtwYdZjqFlSY+SFw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=MQF6JyIdjDOos6oPcO8aQA8H+eqE3cHZ5EzJ4/Cf7JU/QOc1rcZU3TBxQtW+yN31x oHldFnVeHR4VysgZYeClXbPtyooT/ZMTCda2IXE4fmShpTDyT4APbH6TRFGi2NaB8u mXbh1Z63/vd1SpY9GHj+jvQO4OMdLowP7eA/FXwc= Subject: Re: Postgres + Docker To: pgsql-admin@postgresql.org References: From: Marco Nietz Message-ID: <82855bb6-d0d0-c45a-e914-f61f6a030cdc@mnietz.de> Date: Fri, 19 Aug 2016 11:17:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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