Read from database, write to another database, simultaneously
- From: "Sean Davis" <seandavi@xxxxxxxxx>
- Date: 10 Jan 2007 14:37:29 -0800
I am working on a simple script to read from one database (oracle) and
write to another (postgresql). I retrieve the data from oracle in
chunks and drop the data to postgresql continuously. The author of one
of the python database clients mentioned that using one thread to
retrieve the data from the oracle database and another to insert the
data into postgresql with something like a pipe between the two threads
might make sense, keeping both IO streams busy. Any hints on how to
get started?
Thanks,
Sean
.
- Follow-Ups:
- Re: Read from database, write to another database, simultaneously
- From: Bjoern Schliessmann
- Re: Read from database, write to another database, simultaneously
- Prev by Date: Re: Problem installing cElementTree on Python 2.5
- Next by Date: Re: where to find the spec of format in PyObject_CallMethod
- Previous by thread: Python 2.5 install on Gentoo Linux: failed dmb and _tkinter
- Next by thread: Re: Read from database, write to another database, simultaneously
- Index(es):
Relevant Pages
|