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

Re: [HACKERS] pg_dump and thousands of schemas

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-30 21:45:24
Message-ID: CA+TgmobHksoQmbLyAMB7D5FwqDGA8+u5rooviEuP8rg_zcMzGg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-performance
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?
>
>>> Shall I commit to master and all supported branches?
>
>> Was this applied?
>
> No, we fixed the server side instead.

But only for 9.2, right?  So people running back branches are still screwed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


In response to

Responses

pgsql-performance by date

Next:From: Tom LaneDate: 2012-08-31 03:17:55
Subject: Re: [HACKERS] pg_dump and thousands of schemas
Previous:From: Bruce MomjianDate: 2012-08-30 20:53:39
Subject: Re: pg_dump and thousands of schemas

pgsql-hackers by date

Next:From: Robert HaasDate: 2012-08-30 21:47:03
Subject: Re: PATCH: pgbench - aggregation of info written into log
Previous:From: Robert HaasDate: 2012-08-30 21:44:05
Subject: Re: PATCH: pgbench - random sampling of transaction written into log

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