fast method accessing large, simple structured data
- From: agc <clemesha@xxxxxxxxx>
- Date: Sat, 2 Feb 2008 12:36:47 -0800 (PST)
Hi,
I'm looking for a fast way of accessing some simple (structured) data.
The data is like this:
Approx 6 - 10 GB simple XML files with the only elements
I really care about are the <title> and <article> ones.
So what I'm hoping to do is put this data in a format so
that I can access it as fast as possible for a given request
(http request, Python web server) that specifies just the title,
and I return the article content.
Is there some good format that is optimized for search for
just 1 attribute (title) and then returning the corresponding article?
I've thought about putting this data in a SQLite database because
from what I know SQLite has very fast reads (no network latency, etc)
but not as fast writes, which is fine because I probably wont be doing
much writing (I wont ever care about the speed of any writes).
So is a database the way to go, or is there some other,
more specialized format that would be better?
Thanks,
Alex
.
- Follow-Ups:
- Re: fast method accessing large, simple structured data
- From: Ivan Illarionov
- Re: fast method accessing large, simple structured data
- From: M.-A. Lemburg
- Re: fast method accessing large, simple structured data
- From: John Machin
- Re: fast method accessing large, simple structured data
- From: Diez B. Roggisch
- Re: fast method accessing large, simple structured data
- Prev by Date: Re: What should I use under *nix instead of freeze?
- Next by Date: Re: fast method accessing large, simple structured data
- Previous by thread: Re: too long float
- Next by thread: Re: fast method accessing large, simple structured data
- Index(es):
Relevant Pages
|