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

Re: pg_dump and thousands of schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump and thousands of schemas
Date: 2012-08-30 20:51:56
Message-ID: 1086.1346359916@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-performance
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.

			regards, tom lane


In response to

Responses

pgsql-performance by date

Next:From: Bruce MomjianDate: 2012-08-30 20:53:39
Subject: Re: pg_dump and thousands of schemas
Previous:From: Bruce MomjianDate: 2012-08-30 20:44:33
Subject: Re: pg_dump and thousands of schemas

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2012-08-30 20:52:41
Subject: Re: --disable-shared is entirely broken these days
Previous:From: Tom LaneDate: 2012-08-30 20:51:02
Subject: Re: We're not lax enough about maximum time zone offset from UTC

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