From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, 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-08-31 03:17:55 |
Message-ID: | 27683.1346383075@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Thu, Aug 30, 2012 at 4:51 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>>> On Thu, May 31, 2012 at 09:20:43AM +0900, Tatsuo Ishii wrote:
>>>> Ok, I modified the part of pg_dump where tremendous number of LOCK
>>>> TABLE are issued. I replace them with single LOCK TABLE with multiple
>>>> tables. With 100k tables LOCK statements took 13 minutes in total, now
>>>> it only takes 3 seconds. Comments?
>>> Was this applied?
>> No, we fixed the server side instead.
> But only for 9.2, right? So people running back branches are still screwed.
Yeah, but they're screwed anyway, because there are a bunch of O(N^2)
behaviors involved here, not all of which are masked by what Tatsuo-san
suggested.
Six months or a year from now, we might have enough confidence in that
batch of 9.2 fixes to back-port them en masse. Don't want to do it
today though.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2012-08-31 03:22:42 | Re: has_language_privilege returns incorrect answer for non-superuser |
Previous Message | Amit Kapila | 2012-08-31 03:09:52 | Re: [WIP] Performance Improvement by reducing WAL for Update Operation |
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Innerebner | 2012-08-31 07:30:08 | Re: Question about caching on full table scans |
Previous Message | Robert Haas | 2012-08-30 21:45:24 | Re: [HACKERS] pg_dump and thousands of schemas |