Re: HPL V7.23 UC1 (fwd)
Posted in 1999
Hi Mark,
thanks for your help.
The reasons why I don`t use deluxe mode are the constrains I have on the
table (a lot of triggers) und the time it takes to load 40 million rows.
I thougth that when loading in express mode HPL would by able to point to
the rows with dup keys.
O.K. it doesn`t. But it still looks like a bug to me, because of the wrong
messages.
What I need are partially disabled constrains and a deluxe load that takes
2 times longer than express.
Or do you have an other suggestion?
Ciao
Monika Rabold
Bull GmbH Langen
Tel: 06103/761-4225
email: mora@swh600.langen.bull.de
---------- Forwarded message ----------
Date: Tue, 16 Mar 1999 15:38:08 +0200
From: "Mark D. Stock" <mdstock@informix.com>
To: "Monika Rabold S.u.S.E. Linux 5.3" <mora@swh600.langen.bull.de>
Cc: informix-list@iiug.org
Subject: Re: HPL V7.23 UC1
"Monika Rabold S.u.S.E. Linux 5.3" wrote:
>
> Hi,
> I am loading with HPL in express mode a table in a database with buffered
> logging.
> The table has 1 unique index on debitor defined as
>
> dbtnr decimal(10,0) not null constraint "informix".n101_4,
>
> The table is fragment by round robin in zv1, zv2, zv3 extent size 278 next
> size 27 lock mode page;
>
> create unique index "informix".dbtnrdbtidx on "informix".debitor (dbtnr)
> in zv4;
>
<SNIP>
>
> Why can`t I simply get the message from HPL that it can not enable the
> unique index because of dup keys?
Because you need to use deluxe mode for constraints to be set to
filtering. See Guide to the High-Performance Loader page 15-8:
------------------------------------------------------------------------
When the onpload utility starts a deluxe-mode load, it invokes the
following SQL statement:
SET CONSTRAINTS ON mytable FILTERING
This statement has two results:
o The utility adds two tables, mytable_vio and mytable_dia, to
the database that contains mytable.
o All of the constraints that are associated with the table are
set to filtering. Filtering mode causes any record that does
not meet the constraint requirements to be added to the
mytable_vio table instead of generating an error.
:
:
------------------------------------------------------------------------
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
|Mark D. Stock - Informix SA http://www.informix.com |//////// /|
|mailto:mdstock@informix.com http://www.informix.com/idn |///// / //|
|http://www.iiug.org +-----------------------------------+//// / ///|
| Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////|
| Fax: +27 838250 2325 |If it's fast, the users keep quiet.|// / /////|
|Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////|
+----------------------+-----------------------------------+-----------+