public inbox for [email protected]
help / color / mirror / Atom feedFrom: Hannu Krosing <[email protected]>
To: Tom Lane <[email protected]>
Cc: Josh Berkus <[email protected]>
Cc: Neil Conway <[email protected]>
Cc: [email protected]
Cc: Simon Riggs <[email protected]>
Subject: Re: VLDB Features
Date: Sat, 15 Dec 2007 13:10:30 +0200
Message-ID: <1197717031.7974.23.camel@hannu-laptop> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
Ühel kenal päeval, L, 2007-12-15 kell 01:12, kirjutas Tom Lane:
> Josh Berkus <[email protected]> writes:
> > There's no way we can do a transactionless load, then? I'm thinking of the
> > load-into-new-partition which is a single pass/fail operation. Would
> > ignoring individual row errors in for this case still cause these kinds of
> > problems?
>
> Given that COPY fires triggers and runs CHECK constraints, there is no
> part of the system that cannot be exercised during COPY. So I think
> supposing that we can just deal with some simplified subset of reality
> is mere folly.
But can't we _define_ such a subset, where we can do a transactionless
load ?
I don't think that most DW/VLDB schemas fire complex triggers or custom
data-modifying functions inside CHECK's.
Then we could just run the remaining simple CHECK constraints ourselves
and not abort on non-check, but just log the rows ?
The COPY ... WITH ERRORS TO ... would essentially become a big
conditional RULE through which the incoming data is processed.
------------------
Hannu
view thread (39+ messages) latest in thread
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: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: VLDB Features
In-Reply-To: <1197717031.7974.23.camel@hannu-laptop>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox