Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9FC8C1337B54 for ; Wed, 8 Dec 2010 10:46:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 69633-06 for ; Wed, 8 Dec 2010 14:46:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 46B94133798E for ; Wed, 8 Dec 2010 10:46:31 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oB8EkLuI014440; Wed, 8 Dec 2010 09:46:21 -0500 (EST) To: Vlad Arkhipov cc: pgsql-performance@postgresql.org Subject: Re: Slow BLOBs restoring In-reply-to: <4CFF46BD.8070004@dc.baikal.ru> References: <4CFDF22B.7060209@dc.baikal.ru> <4CFF46BD.8070004@dc.baikal.ru> Comments: In-reply-to Vlad Arkhipov message dated "Wed, 08 Dec 2010 16:50:05 +0800" Date: Wed, 08 Dec 2010 09:46:21 -0500 Message-ID: <14439.1291819581@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FSL_RU_URL=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/105 X-Sequence-Number: 41557 Vlad Arkhipov writes: > I discovered this issue a bit more. -j option is slowing down BLOBs > restoring. It's about 1000x times slower if you specify this option. Are you by any chance restoring from an 8.3 or older pg_dump file made on Windows? If so, it's a known issue. > Does anybody plan to fix it? Not without a complete reproducible example ... and not at all if it's the known problem. The fix for that is to update pg_dump to 8.4 or later. regards, tom lane