Re: format for data storage?
- From: alfps@xxxxxxxx (Alf P. Steinbach)
- Date: Thu, 28 Jul 2005 04:40:40 GMT
* js5895:
> I need to store a lot of data(mostly text files) into a single file.
> I programmed a interface that is a hierarchical tree (shown below)
> What format should I store the data so I can access it through the
> interface, maybe ZIP, a Database, or other. I looked at B-trees,
> BTW, my file system is NTFS.
NTFS/Windows has not just one but two ways of doing what you want.
The lowest-level way is additional data streams in a file, but this does not
directly support hierarchical storage; a hierarchy can however be simulated
easily by naming conventions for streams, and in other ways.
The not-so-low-level way is OLE Structured Storage (a.k.a. Active Structured
Storage), which does directly support hierarchies of "files within files",
and is built on top of whatever facilities the relevant file system offers,
which for NTFS means it uses additional data streams in the file.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
.
- Follow-Ups:
- Re: format for data storage?
- From: js5895
- Re: format for data storage?
- References:
- format for data storage?
- From: js5895
- format for data storage?
- Prev by Date: format for data storage?
- Next by Date: Re: programming job market in bay area in US
- Previous by thread: format for data storage?
- Next by thread: Re: format for data storage?
- Index(es):
Relevant Pages
|