Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xd4Bu-0006pK-PS for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Oct 2014 21:27:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xd4Bu-0004Jd-1U for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Oct 2014 21:27:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xd4Bt-0004Hx-3I for pgsql-bugs@postgresql.org; Sat, 11 Oct 2014 21:27:05 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xd4Bp-0006ID-9g for pgsql-bugs@postgresql.org; Sat, 11 Oct 2014 21:27:03 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Xd4Bn-00016c-Fj; Sat, 11 Oct 2014 17:26:59 -0400 Date: Sat, 11 Oct 2014 17:26:59 -0400 From: Bruce Momjian To: joe@tanga.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11033: 'pg_dump -a' much slower than 'pg_dump' Message-ID: <20141011212659.GK21267@momjian.us> References: <20140725001052.16600.86470@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140725001052.16600.86470@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Jul 25, 2014 at 12:10:52AM +0000, joe@tanga.com wrote: > The following bug has been logged on the website: > > Bug reference: 11033 > Logged by: Joe Van Dyk > Email address: joe@tanga.com > PostgreSQL version: 9.3.5 > Operating system: Ubuntu 12.04 > Description: > > I've got a small database that takes about 0.8 seconds to dump with > 'pg_dump' and about 11 seconds to dump with 'pg_dump -a'. > > I've narrowed it down to the foreign key constraints in the database, if > those are removed, then 'pg_dump -a' becomes fast again. > > I can't come up with an artificial test case. I can reproduce it using our > company's db schema. I don't want to publicly post that schema to the > mailing list, but I'd be happy to send the schema that shows the problem to > someone privately. > > I can reproduce the problem in 9.3.4 and 9.4.beta1. Wow, that is certainly odd. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs