pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "Hugo <Nabble>
From: " <hugo.tech@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: pg_dump and thousands of schemas
Date: Mon, 28 May 2012 22:21:03 -0700 (PDT)
Message-ID: <1338268863476-5710341.post@n5.nabble.com> (raw)
In-Reply-To: <15138.1338243996@sss.pgh.pa.us>
References: <1337843209018-5709766.post@n5.nabble.com>
	<CAFwQ8rdZ3LjiwdDuzNR3vN=OryQ6fzDb08hzeKzNbOzrQXNPbA@mail.gmail.com>
	<CAMkU=1zgUUqT6ZPAFAMR6cFx01Bbk+y05Fmwk63PBHOMrBPPoQ@mail.gmail.com>
	<20120525035455.GC25444@momjian.us>
	<1337921645663-5709975.post@n5.nabble.com>
	<20887.1337956883@sss.pgh.pa.us>
	<1338091933763-5710183.post@n5.nabble.com>
	<CAMkU=1zxd_vn5DPw9W6cKe==f=pxScbQE=cd7Gq69eO0YjGsTg@mail.gmail.com>
	<15138.1338243996@sss.pgh.pa.us>

Thanks again for the hard work, guys.

When I said that the schemas were empty, I was talking about data, not
tables. So you are right that each schema has ~20 tables (plus indices,
sequences, etc.), but pretty much no data (maybe one or two rows at most).
Data doesn't seem to be so important in this case (I may be wrong though),
so the sample database should be enough to find the weak spots that need
attention.

> but in the mean time it can be circumvented 
> by using -Fc rather than -Fp for the dump format.
> Doing that removed 17 minutes from the run time. 

We do use -Fc in our production server, but it doesn't help much (dump time
still > 24 hours). Actually, I tried several different dump options without
success. It seems that you guys are very close to great improvements here.
Thanks for everything!

Best,
Hugo

--
View this message in context: http://postgresql.1045698.n5.nabble.com/pg-dump-and-thousands-of-schemas-tp5709766p5710341.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.



view thread (66+ messages)  latest in thread

Message-ID: <1338268863476-5710341.post@n5.nabble.com>
Permalink:  ../1338268863476-5710341.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1338268863476-5710341.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Nabble, hugo.tech@gmail.com
  Subject: Re: pg_dump and thousands of schemas
  In-Reply-To: <1338268863476-5710341.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox