Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: XML parsing - huge file strategy?

by samtregar (Abbot)
on Jul 18, 2008 at 18:48 UTC ( [id://698704]=note: print w/replies, xml ) Need Help??


in reply to Re: XML parsing - huge file strategy?
in thread XML parsing - huge file strategy?

Does Perl have a streaming parser for YAML? If not this is a non-starter since your parser would load the entire file into memory and crash long before it finished.

I don't see YAML or XML bringing much of value here - an SQL table is by definition a flat set of same-sized records. It's perfect for TSV/CSV and MySQL has built-in support for it.

-sam

  • Comment on Re^2: XML parsing - huge file strategy?

Replies are listed 'Best First'.
Re^3: XML parsing - huge file strategy?
by pileofrogs (Priest) on Jul 18, 2008 at 18:55 UTC

    Yeah, I agree, querying the MySQL server is The Way to Go.

    Mostly I have an irrational hatred for XML.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://698704]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2024-04-19 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found