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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-performance by date

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