From: Simon Riggs <simon@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-patches@postgresql.org
Subject: Re: pg_dump additional options for performance
Date: Mon, 21 Jul 2008 07:11:27 +0100
Message-ID: <1216620687.19656.860.camel@ebony.2ndQuadrant> (raw)
In-Reply-To: <20080721011829.GC18846@tamriel.snowman.net>
References: <20080720030749.GA18846@tamriel.snowman.net>
<1216529229.19656.835.camel@ebony.2ndQuadrant>
<1216535862.19656.845.camel@ebony.2ndQuadrant>
<20080720214335.GB18846@tamriel.snowman.net>
<1216591180.19656.848.camel@ebony.2ndQuadrant>
<20080721011829.GC18846@tamriel.snowman.net>
On Sun, 2008-07-20 at 21:18 -0400, Stephen Frost wrote:
> * Simon Riggs (simon@2ndquadrant.com) wrote:
> > On Sun, 2008-07-20 at 17:43 -0400, Stephen Frost wrote:
> > > Even this doesn't cover everything though- it's too focused on tables
> > > and data loading. Where do functions go? What about types?
> >
> > Yes, it is focused on tables and data loading. What about
> > functions/types? No relevance here.
>
> I don't see how they're not relevant, it's not like they're being
> excluded and in fact they show up in the pre-load output. Heck, even if
> they *were* excluded, that should be made clear in the documentation
> (either be an explicit include list, or saying they're excluded).
>
> Part of what's driving this is making sure we have a plan for future
> objects and where they'll go. Perhaps it would be enough to just say
> "pre-load is everything in the schema, except things which are faster
> done in bulk (eg: indexes, keys)". I don't think it's right to say
> pre-load is "only object definitions required to load data" when it
> includes functions and ACLs though.
>
> Hopefully my suggestion and these comments will get us to a happy
> middle-ground.
I don't really understand what you're saying.
The options split the dump into 3 parts that's all: before the load, the
load and after the load.
--schema-pre-load says
"Dumps exactly what <option>--schema-only</> would dump, but only those
statements before the data load."
What is it you are suggesting? I'm unclear.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
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-patches@postgresql.org
Cc: simon@2ndquadrant.com, sfrost@snowman.net
Subject: Re: pg_dump additional options for performance
In-Reply-To: <1216620687.19656.860.camel@ebony.2ndQuadrant>
* 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