Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avrkQ-0003eU-TM for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Apr 2016 19:37: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 1avrkQ-0006JQ-Fv for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Apr 2016 19:37: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 1avrkO-0006IR-Tr for pgsql-hackers@postgresql.org; Thu, 28 Apr 2016 19:37:12 +0000 Received: from boipeva.ensmp.fr ([194.214.158.136]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avrkI-0000zN-1Q for pgsql-hackers@postgresql.org; Thu, 28 Apr 2016 19:37:12 +0000 Received: from cri.ensmp.fr (152.200.219.88.rev.sfr.net [88.219.200.152]) (authenticated bits=0) by boipeva.ensmp.fr (8.15.2/8.15.1/JMMC-22/Oct/2013) with ESMTPSA id u3SJauYP021050 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Apr 2016 21:36:57 +0200 Date: Thu, 28 Apr 2016 21:36:56 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: Thom Brown cc: Andres Freund , Robert Haas , Abhijit Menon-Sen , Michael Paquier , Haribabu Kommi , "pgsql-hackers@postgresql.org" Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions In-Reply-To: Message-ID: References: <20160414053929.GA29751@toroid.org> <20160422170736.bjrsusb4ubdhdtl4@alap3.anarazel.de> <20160425155627.e4yk72bm2naisesz@alap3.anarazel.de> <20160425180521.2g6o4tgpkc3jneyj@alap3.anarazel.de> <20160425205720.i2ldnkwj6a2ldz7g@alap3.anarazel.de> <20160426213207.j3xi2amneejm3ed6@alap3.anarazel.de> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-230870319-1461872218=:8824" X-Miltered: at boipeva.ensmp.fr with ID 57226658.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 57226658.000 from 152.200.219.88.rev.sfr.net/152.200.219.88.rev.sfr.net/88.219.200.152/cri.ensmp.fr/ X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-230870319-1461872218=:8824 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > createdb: database creation failed: ERROR: checkpoint request failed > HINT: Consult recent messages in the server log for details. Attached is a simpler/faster version, based on the previous script, I just added a CHECKPOINT after the EXPLAIN ANALYSE. It fails on head with: HINT: Consider increasing the configuration parameter "max_wal_size". ERROR: canceling autovacuum task CONTEXT: automatic vacuum of table "fabien.public.pgbench_accounts" ERROR: canceling autovacuum task CONTEXT: automatic analyze of table "fabien.public.pgbench_accounts_1" ERROR: canceling autovacuum task CONTEXT: automatic analyze of table "fabien.public.pgbench_accounts_2" ERROR: could not fsync file "base/16384/16397.1": No such file or directory ERROR: checkpoint request failed HINT: Consult recent messages in the server log for details. STATEMENT: CHECKPOINT; I tried it on pg prior to the flushing patches and it did not fail, so it seems to be related somehow. Probably the fix is similar, just some conditions to check when dealing with a file which has been removed by a large DELETE. -- Fabien. --8323329-230870319-1461872218=:8824 Content-Type: APPLICATION/x-sh; name=xxx.sh Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=xxx.sh IyEvYmluL2Jhc2gKcGdfY3RsIC1EIHh4eCAtbCB4eHgvcGcubG9nIHN0b3AK cm0gLWYgeHh4L3BnLmxvZwpwZ19jdGwgLUQgeHh4IC1sIHh4eC9wZy5sb2cg c3RhcnQKc2xlZXAgMjAKZHJvcGRiIGZhYmllbgpjcmVhdGVkYiBmYWJpZW4K cGdiZW5jaCAtaSAtcyA4MCBmYWJpZW4KcHNxbCA8IHh4eC5zcWwK --8323329-230870319-1461872218=:8824 Content-Type: APPLICATION/x-sql; name=xxx.sql Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=xxx.sql XHBzZXQgcGFnZXIgb2ZmICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAKc2VsZWN0IHBnX3NsZWVwKDEpOyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDUkVB VEUgVEFCTEUgcGdiZW5jaF9hY2NvdW50c18xIChDSEVDSyAoYmlkICUgMiA9 IDApKSBJTkhFUklUUyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChwZ2JlbmNoX2FjY291bnRzKTsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2VsZWN0IHBn X3NsZWVwKDEpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAKQ1JFQVRFIFRBQkxFIHBnYmVuY2hfYWNjb3VudHNfMiAo Q0hFQ0sgKGJpZCAlIDIgPSAxKSkgSU5IRVJJVFMgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKKHBnYmVuY2hfYWNj b3VudHMpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAKc2VsZWN0IHBnX3NsZWVwKDEpOyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKV0lUSCBkZWwgQVMgKERF TEVURSBGUk9NIHBnYmVuY2hfYWNjb3VudHMgV0hFUkUgYmlkICUgMiA9IDAg UkVUVVJOSU5HICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAKKikgSU5TRVJUIElOVE8gcGdiZW5jaF9hY2NvdW50c18xIFNFTEVD VCAqIEZST00gZGVsOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAKc2VsZWN0IHBnX3NsZWVwKDEp OyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAKV0lUSCBkZWwgQVMgKERFTEVURSBGUk9NIHBnYmVuY2hfYWNjb3VudHMg V0hFUkUgYmlkICUgMiA9IDEgUkVUVVJOSU5HICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAKKikgSU5TRVJUIElOVE8gcGdiZW5j aF9hY2NvdW50c18yIFNFTEVDVCAqIEZST00gZGVsOyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK c2VsZWN0IHBnX3NsZWVwKDEpOyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAKVkFDVVVNIEFOQUxZU0U7ICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKc2Vs ZWN0IHBnX3NsZWVwKDMpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAKRVhQTEFJTiBBTkFMWVNFIFNFTEVDVCBjb3Vu dCgqKSBGUk9NIHBnYmVuY2hfYWNjb3VudHM7ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKLS0gaG9w CkNIRUNLUE9JTlQ7Cg== --8323329-230870319-1461872218=:8824 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers --8323329-230870319-1461872218=:8824--