> > dd if=$UNLOADS/$TABNAME.unl.Z | uncompress | dd of=$TEMPUNL &
>
[quoted text clipped - 7 lines]
>
> Have you ever used named pipes? that way you never have a copy of the
[ ... example snipped ... ]
> If you do want to do it this way and this doesn't actually work for
> you and you don't know how to fix it then and only then I can actually
> generate the proper commands for you, but I don't want to waste the
> time if you have no interest in this method. I think this method can
> be made to work with dbload and hpload, also.
HPL has it all builtin. Look in the HPL users guide
onpladm crate job ...... -fpl -d <name_of_pipecommand>
actually does
meta: <name_of_pipecommand> | onpload-reading-from-stdin
when executing the job.
onpladm create job ..... -fl -d <name_of_fifo>
works with names pipes as expected (V9.21,V9.3,V9.40.UC2)
dbload works fine using named pipes and for a very long time
(> 11 years) was the solution for load-/unload files > 2GB
which never ever was a show stopper - at least not for me.
One needs to be on UNIX or Linux, though.
> Also if you are cleaning up table extents you might want to make the
> load table raw while you are loading it. And then add the indexes and
> constraints after you load it.
Way to go, if you use a PDQ & parallel sort setup for the
index rebuild.
> I have also heard that some people don't like named pipes, but I
> haven't ever had any trouble with them that I haven't caused myself.
> If anyone else knows some pros or cons on named pipes I wouldn't mind
> hearing about it.
Depending of OS version there are techniques around to increase
the named pipe buffer size, but I think this could only have been
as far back as the BSD days, when it was a problem to keep
a slow streamer tape in streaming mode - gee I'm getting old it seems
dic_k

Signature
Richard Kofler
SOLID STATE EDV
Dienstleistungen GmbH
Vienna/Austria/Europe
Neil Truby - 31 Jan 2004 09:24 GMT
> > > dd if=$UNLOADS/$TABNAME.unl.Z | uncompress | dd of=$TEMPUNL &
> >
[quoted text clipped - 21 lines]
> meta: <name_of_pipecommand> | onpload-reading-from-stdin
> when executing the job.
Just to repeat that, due to a bug in his release of IDS, HPL unloads are
very sloooowwwww.
Richard Kofler - 31 Jan 2004 11:17 GMT
> > > > dd if=$UNLOADS/$TABNAME.unl.Z | uncompress | dd of=$TEMPUNL &
> > >
[quoted text clipped - 24 lines]
> Just to repeat that, due to a bug in his release of IDS, HPL unloads are
> very sloooowwwww.
hmm
maybe I am wrong, but the OP showed a load
not an unload.
I am not aware that the bug in question does slow down
a load, but I may be wrong, or missing something.
And for all folks out there having slow HPL unloads
IMHO it is always worth a try to drop any constraints
(drop! not only disable) and then drop all indexes on the
table one wants to unload using HPL. Then try again to
unlod and see what happens.
It is also a *very* good idea to have no query running
under grant manager control at the time when you unload......
dic_k

Signature
Richard Kofler
SOLID STATE EDV
Dienstleistungen GmbH
Vienna/Austria/Europe
Neil Truby - 31 Jan 2004 11:20 GMT
> hmm
>
[quoted text clipped - 3 lines]
> I am not aware that the bug in question does slow down
> a load, but I may be wrong, or missing something.
No, you're correct, it only affects unloads, not loads.