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: Raden Java <radenjava_at_theglobe.com.invalide>
Date: Sat, 21 Jul 2001 12:04:19 -0700
Message-ID: <tljkhc2kkqcu94@corp.supernews.com>

Actually, the xml file is a one single huge file.

In article <9jc4s2$4ri$2_at_cubacola.tninet.se>, "Klas Lindback" <klaslott_NO_SPAM_PLEASE_at_algonet.se> wrote:

> 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 - 14:04:19 CDT

Original text of this message

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