Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Large XML Data, Parsing, JDBC, RMI, 2 Oracle DB

Re: Large XML Data, Parsing, JDBC, RMI, 2 Oracle DB

From: Klas Lindback <klaslott_NO_SPAM_PLEASE_at_algonet.se>
Date: Sat, 21 Jul 2001 16:53:32 +0200
Message-ID: <9jc4s2$4ri$2@cubacola.tninet.se>

Since the XML data is in several files you should be able to parse the in parallel. The simplest form of parallellism is to launch several JVMs and let each instance run just a few of the files. A little more advanced form is to run your parser in several threads and let each thread handle one file. You must make sure that the threads don't interfere with each other. In your case you should make sure that they won't deadlock each other in the db, or at least make sure the transaction gets retried on deadlock. You must also check that your classes are thread safe (look at the static methods and members).

/Klas Received on Sat Jul 21 2001 - 09:53:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US