Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEjgp-0000bu-VJ for pgsql-performance@postgresql.org; Thu, 20 Sep 2012 16:33:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEjgp-0007Oe-0U for pgsql-performance@postgresql.org; Thu, 20 Sep 2012 16:33:23 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q8KGXLGR024249; Thu, 20 Sep 2012 12:33:21 -0400 (EDT) From: Tom Lane To: Sergio Gabriel Rodriguez cc: pgsql-performance@postgresql.org Subject: Re: problems with large objects dump In-reply-to: References: <16863.1348151708@sss.pgh.pa.us> Comments: In-reply-to Sergio Gabriel Rodriguez message dated "Thu, 20 Sep 2012 12:53:10 -0300" Date: Thu, 20 Sep 2012 12:33:21 -0400 Message-ID: <24248.1348158801@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201209/90 X-Sequence-Number: 47836 Sergio Gabriel Rodriguez writes: > On Thu, Sep 20, 2012 at 11:35 AM, Tom Lane wrote: >> You wouldn't happen to be >> trying to use a 9.0 or later pg_dump would you? Exactly what 8.4.x >> release is this, anyway? > Tom, thanks for replying, yes, we tried it with postgres postgres 9.1 and > 9.2 and the behavior is exactly the same. The production version is 8.4.9 Well, I see three different fixes for O(N^2) pg_dump performance problems in the 8.4.x change logs since 8.4.9, so you're a bit behind the times there. However, all of those fixes would have been in 9.2.0, so if you saw no improvement with a 9.2.0 pg_dump then the problem is something else. Can you put together a test case for somebody else to try, or try to locate the bottleneck yourself using oprofile or perf? regards, tom lane