Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] pg_dump and thousands of schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claudio Freire <klaussfreire(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Robert Klemme <shortcutter(at)googlemail(dot)com>, Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] pg_dump and thousands of schemas
Date: 2012-05-31 15:25:37
Message-ID: 13349.1338477937@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-performance
Claudio Freire <klaussfreire(at)gmail(dot)com> writes:
> On Thu, May 31, 2012 at 11:50 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> The performance patches we applied to pg_dump over the past couple weeks
>> were meant to relieve pain in situations where the big server-side
>> lossage wasn't the dominant factor in runtime (ie, partial dumps).
>> But this one is targeting exactly that area, which is why it looks like
>> a band-aid and not a fix to me.

> No, Tatsuo's patch attacks a phase dominated by latency in some
> setups.

No, it does not.  The reason it's a win is that it avoids the O(N^2)
behavior in the server.  Whether the bandwidth savings is worth worrying
about cannot be proven one way or the other as long as that elephant
is in the room.

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Claudio FreireDate: 2012-05-31 15:33:52
Subject: Re: [HACKERS] pg_dump and thousands of schemas
Previous:From: Bruce MomjianDate: 2012-05-31 15:06:50
Subject: Re: [HACKERS] pg_dump and thousands of schemas

pgsql-hackers by date

Next:From: Peter GeogheganDate: 2012-05-31 15:26:48
Subject: Re: Uh, I change my mind about commit_delay + commit_siblings (sort of)
Previous:From: Peter GeogheganDate: 2012-05-31 15:24:30
Subject: Re: Uh, I change my mind about commit_delay + commit_siblings (sort of)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group