kj said:
Hi. I have a large XML file (aboug 1G) that I would like to be
able to interrogate in my code.
In what ways do you want to interrogate it? Is all the data in the file
relevant to you, or could you abstract just the relevant parts of it into
a much smaller, memory resident set? (XML::Twig might be good for that.)
Given its size, it's out of the
question to read it all into memory. I'd like to avoid having to
convert this thing to an RDB.
How about converting it to a DBM:
eep file?
Does anyone know of a module that can treat such a file as
disk-resident data?
Well, no module is needed to treat it as disk-resident data, as that is
exactly what it is already. You need to give us a functional definition of
how you want to access the data. That will most likely drive the storage,
not the other way around.
You might be able to use DBD::AnyData, but there is no particular reason to
think it will like the format your XML is already in, or that it will be
fast.
Xho
--
--------------------
http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.