pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: senor <frio_cervesa@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade --jobs
Date: Sun, 7 Apr 2019 00:47:59 +0000
Message-ID: <BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.com> (raw)
In-Reply-To: <41c4d2a3-0a0a-bec3-7609-ec232b95f27b@gmail.com>
References: <BYAPR01MB370142138620DE0D3DD6120BF7520@BYAPR01MB3701.prod.exchangelabs.com>
	<1c0469fb-1878-35ac-8468-78ce47299638@aklaver.com>
	<BYAPR01MB370161A441B39513EF47FE5AF7520@BYAPR01MB3701.prod.exchangelabs.com>
	<16144.1554588125@sss.pgh.pa.us>
	<BYAPR01MB3701D38CD99FE2E23A2FE17FF7520@BYAPR01MB3701.prod.exchangelabs.com>
	<20138.1554594658@sss.pgh.pa.us>
	<41c4d2a3-0a0a-bec3-7609-ec232b95f27b@gmail.com>

Thanks Tom for the explanation. I assumed it was my ignorance of how the schema was handled that was making this look like a problem that had already been solved and I was missing something.

I fully expected the "You're Doing It Wrong" part. That is out of my control but not beyond my influence.

I suspect I know the answer to this but have to ask. Using a simplified example where there are 100K sets of 4 tables, each representing the output of a single job, are there any shortcuts to upgrading that would circumvent exporting the entire schema? I'm sure a different DB design would be better but that's not what I'm working with.

Thanks

________________________________________
From: Ron <ronljohnsonjr@gmail.com>
Sent: Saturday, April 6, 2019 4:57 PM
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_upgrade --jobs

On 4/6/19 6:50 PM, Tom Lane wrote:

senor <frio_cervesa@hotmail.com><mailto:frio_cervesa@hotmail.com> writes:


[snip]

The --link option to pg_upgrade would be so much more useful if it
weren't still bound to serially dumping the schemas of half a million
tables.



To be perfectly blunt, if you've got a database with half a million
tables, You're Doing It Wrong.

Heavy (really heavy) partitioning?

--
Angular momentum makes the world go 'round.





view thread (15+ messages)  latest in thread

Message-ID: <BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.com>
Permalink:  ../BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.com/
Also on:    postgresql.org/message-id/BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: frio_cervesa@hotmail.com
  Subject: Re: pg_upgrade --jobs
  In-Reply-To: <BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.com>
  References: <BYAPR01MB370142138620DE0D3DD6120BF7520@BYAPR01MB3701.prod.exchangelabs.com> <1c0469fb-1878-35ac-8468-78ce47299638@aklaver.com> <BYAPR01MB370161A441B39513EF47FE5AF7520@BYAPR01MB3701.prod.exchangelabs.com> <16144.1554588125@sss.pgh.pa.us> <BYAPR01MB3701D38CD99FE2E23A2FE17FF7520@BYAPR01MB3701.prod.exchangelabs.com> <20138.1554594658@sss.pgh.pa.us> <41c4d2a3-0a0a-bec3-7609-ec232b95f27b@gmail.com> <BYAPR01MB37015302FC3DE93AFADA2EB7F7530@BYAPR01MB3701.prod.exchangelabs.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