Re: Automatic Commits?
Posted in 1996
Close. You should be able to create a pipe and output your data from A
to the pipe, and tell dbload to read from that pipe. That should work if
your databases are on the same machine, otherwist your pretty much stuck
with either (a) unload/ftp/dbload, or (b) writing that esql/c program.
David
---------------------- Forwarded by David Coburn/ISG/WVUS/WorldVision on
12/13/96 09:35 AM ---------------------------
(Embedded
image moved Con Woodall <cwoodall @ vth4.vth.colostate.edu> at
to file: WVUS-SMTP
PIC001.PCX) 12/13/96 08:50 AM
To: elderbox @ teleport.com at WVUS-SMTP@CCMAIL
cc: informix-list @ rmy.emory.edu at WVUS-SMTP@CCMAIL (bcc: David
Coburn/ISG/WVUS/WorldVision)
Subject: Re: Automatic Commits?
Check out dbload in Informix Guide to SQL:Reference.
--
Con Woodall Colorado St. U.; Veterinary Teach. Hosp.; Ft. Collins CO 80523,
USofA; 970-491-1244 FAX 970-491-4100 cwoodall@vth1.vth.colostate.edu
"Ask me about my vow of silence!"
--
On Thu, 12 Dec 1996 elderbox@teleport.com wrote:
}
} Another database engine which we had a while ago and which I don't care
} name here allowed us to specify that during an sql insertion I
} want the engine to automatically do a commit after say 100 rows have been
} inserted. We are now very happily using Online Version 7.1, but cannot
} find a way to do this. This is a problem for us since we have a need to
} periodically transfer as many as 200k rows from one database to another
} and must have logging turned on. We run out of log space and locks.
}
} We didn't want to have to write an esql/c program to do this chore. We
do } not have 4GL at this time. Does anyone know of a way to accomplish
this?
}
} elderbox@teleport.COM Public Access User --- Not affiliated with Teleport
} Public Access UNIX and Internet at (503) 220-1016 (2400-28800, N81)
}
}
The following is an attached File item from cc:Mail. It contains
information that had to be encoded to ensure successful transmission
through various mail systems. To decode the file use the UUDECODE
program.
--------------------------------- Cut Here ---------------------------------
begin 644 PIC001.PCX 12/13/96 09:40 AM
M"@4!"`````!H`"P`````````````````````````````````````````````
M```````````````````````````!:0`!````````````````````````````
M``````````````````````````````````````````````````#U$]L3S1/'
M$\\,3PA/U$]L3S1/'$\\,3PA/U$]L3S1/'$\\,3PA/U$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A`&$`(&#`8,PP8'UQ/+$\\83PQ,3
M\\!/*!@?8$\\P3QA/#$Q/U$]L3S1/'$\\,3PA/U$]L3S1/'$\\,3PA,,````@```
M`(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#_
M_P#_`/______````@````(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D
M@("`_P```/\\`__\\```#__P#_`/______````@````(``@(````"`@`"``("`
MP,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#__P#_`/______````@```
M`(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#_
M_P#_`/______````@````(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D
M@("`_P```/\\`__\\```#__P#_`/______````@````(``@(````"`@`"``("`
MP,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#__P#_`/______````@```
M`(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#_
M_P#_`/______````@````(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D
M@("`_P```/\\`__\\```#__P#_`/______````@````(``@(````"`@`"``("`
MP,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#__P#_`/______````@```
M`(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#_
M_P#_`/______````@````(``@(````"`@`"``("`P,#`P-S`ILKP__OPH*"D
M@("`_P```/\\`__\\```#__P#_`/______````@````(``@(````"`@`"``("`
MP,#`P-S`ILKP__OPH*"D@("`_P```/\\`__\\```#__P#_`/______````@```
J`(``@(````"`@`"`__OPH*"D@("`_P```/\\`__\\```#__P#_`/______
end